Detect and extend white lines in an image.
Hello, I have an image with white lines in it and I just need a program to extend those white lines [C:\fakepath\vlcsnap.png](/upfiles/14531351914900935.png) Please guest me what should I do. #include...
View ArticleUnpredictable behaviour from cv::HOGDescriptor::detectMultiScale, depending...
Hi, I am trying to implement a HOG SVM detector using my own training data and have had trouble getting it to work reliably. I am using OpenCV 2.4 in visual studio. I am using the SVMlight library...
View ArticleIs there a Guo Hall thinning method in openCV 3.1.0?
I am trying to find out if there is Guo Hall thinning in latest openCV. Could not find anything in the official documentation. Some people here mentioned a Japanese...
View Articlecopy row from one Mat to another (is it safe to pad descriptors with 0s)
I am putting all the descriptors for multiple images from an ORB detector into one Mat to feed to cv::flann::index->build. Here is the code I am trying. EDIT: I guess the main question right now....
View ArticleMy trackbars aren“t working opencv C
Hi, I'm new in programming and also in the OpenCV. I only know how to program in C, this isn't the best "option", but i will learn more. I have a problem, my trackbars aren't showing when i run the...
View ArticleHow to get ellipse points position after using fitEllipse?
There is a set of points. I have used fitEllipse to approximate it by ellipse. But i don't know how to get the new position(x,y) of ellipse points. I have checked the document, but cannot find the...
View ArticleIs Feature Detection Feasible on Android?
I'm getting poor results using a variety of Feature Detection Algos on Android. I cannot use SURF, SIFT, or BRISK because they are too slow (I'm using a Samsung Galaxy S5). So I've worked with ORB...
View ArticleOpenCV 3.0.0 - process new frame callback
Hi, I am trying to implement an algorithm which requires processing a new frame as soon as it is available from the camera. The polling method cannot be used because a lot of serial commands are to be...
View ArticleOpenCV/Emgu.CV: Finding contour point coordinates of a filled polygon using...
I started from EMGU Example (Emgu.CV v2.4.10.1939): http://www.emgu.com/wiki/index.php/CompareImages_-_Difference Instead of comparing previous video frame and the next one I am dealing with a screen...
View ArticleCan openCv Port to uCosII?Who tested?
I want to run uCosII on FPGA cycloneIV ,and use it to analyse the photos,and i have to use the opencv lib .... so ??? Can openCv Port to uCosII/uCosIII??
View ArticleHow can I get the actual neighbours using knn in opencv 3.0.0
I'm trying to adapt code using opencv 2.4.6 to use opencv 3.0.0. In 2.4.6 I could use : find_nearest(const Mat& samples, int k, Mat* results=0, const float** neighbors=0, Mat* neighborResponses=0,...
View ArticlePaint application with adjustable colors
please help with this example exercise ,Create a Paint application with adjustable colors and brush radius using trackbars. For drawing, refer previous tutorial on mouse handling. i am stuck making...
View Article"imread" read binary tiff failed
I am using Template Matching of opencv for my java OCR application, when the format of image is jpg, "imread" perform well, but soon I found out change the format to binary tiff increasing the...
View ArticleRandom Forest confidency.
Hi, i'm using RTrees in opencv 3.0. Although i'm able to obtain the class label for each sample i can't obtain the number of votes for the sample. Looking at the source code: if( predictType ==...
View ArticleHow to compute the rotation angle with Hu moment
I use matchShapes() to find the similar contour. Then use minAreaRect(), can compute the centre of contour. But the angle isn't correct. Because the contour is irregular. If compare the parameter of 2...
View ArticleFailure to build Python bindings under mingw32
OpenCV 3.0 fails to build with the following error: [100%] Generating pyopencv_generated_include.h, pyopencv_generated_funcs.h, pyopencv_generated_types.h, pyopencv_generated_type_reg.h,...
View ArticleHow to draw goal line - the waypoint
Hi guys ! I've started my journey with OpenCV and Python not so long ago and I need your guidance. I would like to make project for my own purpose. I'm talikng about simple "goal line technology". I...
View Articlecompute global motion opencv 2.4.x C++
Here are 2 images, one captured before an action has been made by the surgeon and the other afterwards. BEFORE:  AFTER: ![image...
View Articleconvert Mat image into 2d Matrix double
Is there any way ,in which I can convert a Mat object into an double[][] array?I have some image proccesing algoritms that I don't know how to use them on Mat objects, but I can use them if I can find...
View ArticleIncluding nonfree modules in OpenCV 3.1
Hi i'm trying to work on a code that use the extra modules of opencv. I've installed the extra modules following the readme txt $ cd < opencv_build_directory > $ cmake...
View Article