shapedescr error using python3 - opencv3
Hello all :) I've been trying to modernize a python2 script to python3 and after struggling with the errors I've narrowed it down to the following error. Traceback (most recent call last): File "",...
View ArticleExtracting Contours from Image - Python
Hi guys, I am new with OpenCV3.2 and I am trying to extract the contours of this image:  I am executing the following Python code but I can't manage...
View ArticleGet ROI from face landmark points cv2 dlib
Am using following code to draw facial landmark points using dlib , on to the frames captured from webcam in realtime, now what am looking for is to get the ROI that bounds all the points complying...
View ArticleMaking image noise free
After identifying the skin color and using the in range function to filter out the skin color i am left this image(. Is there any way to remove those...
View ArticleSave the eye image after the detection
Hello, So I was playing around with the face and eye detector with OpenCV import numpy as np import cv2 face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') eye_cascade =...
View ArticleGetting eyes images with dlib
Hello, once again my question resumes to the following: I got the landmarks, and after that I want to get and save only the images of the eyes (separately) Im using the following scrip: import sys...
View ArticleDistinguishing image pattern
I am using skin detection to filter the image ,but during the process face and hand gets detected,but i just want to detect the hand.Is there any way to do it?
View ArticleI got some this error TypeError: img data type = 23 is not supported
gxR = cv2.filter2D(gammaR,-1,kernel) TypeError: src data type = 23 is not supported my grammaR is array 2D , I can run this code on my laptop is ok, but i can't run the same code on my PC. i want to...
View ArticleLocal Binary Patterns Histograms Regions
I know that the representation proposed by **Ahonen et. al.** is to divide the LBP image into x local regions and extract a histogram from each region. How many regions **OpenCV** uses to extract...
View ArticleHow to load a trained Random Trees model in opencv 3 in python?
I have a trained random tree model but i am not able to find a way to load this model using opencv3 in python.
View ArticleDetect fire/flame using HSV filter to contours.
I want to detect fires/flames, in realtime camera stream, is it possible to do this using HSV color space and apply mask and filters to appropriately detect contours in given HSV colorspace, so what...
View ArticleHow I can extract a face features as vector
Hello! I use OpenCV with Python to detect faces in images (with Haar cascade detector). Everything work fine, but I have a question. How I can extract a face features and put them into vector or...
View ArticleDPM python bindings?
Hello I just wanted to ask if there are python bindings to the DPM (Object Detection with Discriminatively Trained Part-Based Models) detector? I've builded my OpenCV with the contrib modules, but the...
View Articlehow can i stream opencv output to the webpage?
i'am trying to make a webpage that will show live video feed on the left side of a page and processed video on the right side of the webpage.. Please help me with the sources i need to refer so that i...
View ArticleHow do you create a bounding box on retroreflective tape?
Hello everyone. I am an FRC programmer and I have been trying to track a piece of retro reflective tape with a green led ring shining on it in opencv python. I have gotten to the point where I can...
View ArticleHow to convert Keypoints to an argument for findhomography()?
I've seen some tutorials use this code to convert Keypoints (from a list of matches) to an argument for findHomography(). src_pts = np.float32([ kp1[m.queryIdx].pt for m in good ]).reshape(-1,1,2)...
View ArticleCannot find Brief DescriptorExtractor OpenCV 3.1
This is my Python code: import cv2 import numpy as np img = cv2.imread('image.jpg') gray= cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) star = cv2.xfeatures2d.StarDetector_create() brief =...
View ArticleHow to find correct Region of interest for different dpi images?
I am developing commercial software for reading images and finding region of interest by passing top left corner coordinates and bottom right coordinates of rectangle then crop the image.Some client...
View ArticleHow to train HoG manually in Python?
Hi guys, I'm trying to train my SVM detector and set it on the SVM in detectMultiscale-method implementation of HoG. I want to do it with the Inria person data set in order to achieve maybe the same...
View ArticleHow to use GraphCutSeamFinder?
I'm new to opencv and I haven't found anything on the internet on how to use GraphCutSeamFinder. I am performing image stitching as a project and I have reached on finding a seam in the images after...
View Article