How to Get Rect from point
Hi I'm using function `Point detectFace(Mat frame, Point priorCenter) ` to detect face in a video frame the function gives a Mat object contains detected face , [function link...
View ArticleHow to do Delaunay Triangulation and return an adjacency matrix?
I am trying to do Delaunay Triangulation for a set of points in OpenCV, but encountered a problem. The function takes a matrix of coordinates and return an adjacency matrix. (If there is and edge...
View ArticleFinger count and convexity defects providing wrong value
I have retrieved convexity defects and after referring to some questions asked here, I figured out that Convexity defect contains data in 4s, i.e., [startIndex, endIndex, farthestPoint, depth]. So I...
View Articleextracting Magnitude and angle from flowfeature
1)I wanted to get all the pixels with some motion and wanted to store the position and angle in some data structure(Which data structure to use and how?). Could anyone help me how I could do it....
View ArticleIs it possible to correct for changing exposure/contrast etc in images?
I am trying to do feature detection and matching between two cameras for my application. Feature matching works perfectly when the cameras are closer to each other, but when the positions change such...
View ArticleExtracting only blue from given image
Hi Guys I Have an input image as  I Have used the following code to brighten blue import cv2 import numpy as np Image = cv2.imread('blue.jpg')...
View ArticleDifference between thresholding function
Hi Guys I have two set of codes for thresholding > Code 1 import cv2 import numpy as np Image = cv2.imread('blue.jpg') Threshold = np.zeros(Image.shape, np.uint8) cv2.threshold(Image, 121, 255,...
View ArticleFreeing Ram by deleting image matrix
I have a simple code import cv2 import numpy as np Image = cv2.imread('blue.jpg') Threshold = np.zeros(Image.shape, np.uint8) cv2.threshold(Image, 121, 255, cv2.THRESH_BINARY, Threshold)...
View ArticleOpen 16 bit video file (proprietary format) with OpenCV
I would very much like to import in OpenCV a video file which is in a proprietary format - from a Xenics-Gobi infrared camera - file extension *.xvi. The file is a 16 bit video format and with the...
View ArticleMatrix subtraction normalization
Hello everyone. Recently i had to implement an algorithm to subtract an image from this same image blurred. I first tried to: Mat img = imread("some_image"); GaussianBlur(img, blurred, Size(7, 7), 0,...
View ArticleQ matrix used in reprojectImageTo3D
If you look at Q matrix used in reprojectImageTo3D (we consider first image as main image here) function in openCV you can see that focal length of the first camera is used. My question is what matrix...
View Articlegradient orientation for 0-180 histogram bins in opencv 2.4.9 visual studio 2013
I am trying to develop a facial emotion system using OpenCV 2.4.9 and C++ in Visual Studio 2013. I need to extract shape based facial features using pyramid HOG, i used cv::phase() for gradient...
View Articlecuda::Stream in v3 (CudaMem, Stream::enqueUpload())
I am trying to rewrite some CPU algorithm in OpenCV-3.1 Cuda with streams. I've figured out that API changed. I've looked at the docs, samples directory and I've googled for it. No answer. It seams...
View ArticleCvTracks undeclared in class
class ImageProcessing //user defined class { Public: void checkzone(CvTracks::const_iterator ot, double position1); . . . }; When I compile, compiler is throwing 1) error: 'CvTracks' has not been...
View ArticleOpenCV on older Linux
Hey all, I need to build OpenCV 3.1 on an older Linux machine, specifically Red Hat Enterprise Linux 6.7 (RHEL 6.7). Is this possible? I will need the C interface of OpenCV only (no Python). If this...
View ArticleHow do you smoothly play through a variable-frame-rate WMV?
When I open up a Video Capture of a few of my .wmv videos, the fps will come out as "-nan" (not a number). I'm presuming this means that this video uses a variable frame rate. I'm trying to calculate...
View ArticleHow to refine foreground image?
I work with background subtraction using MOG2 method & obtained as the foreground image below:  As shows above, I fail to get exact pixel as the...
View ArticleHelp with the basics
I'm really new to Open CV and could really use some guidance. I'm not even able to load an image to open cv, I'm using python.
View ArticleTracking Lucas Kanade
Hi Developers, I using calcOpticalFlowPyrLK, I already have the previous and following points, I to keep track of the object have the following points. the following points the rest with dots of...
View ArticleIs this product a rip-off?
This entails cleaning the face morning and night time, Dermavie then moisturizing afterwards, and utilizing a sunblock during the day. The reputable internet website suggests that DermaVie be used...
View Article