problem in cv::capture
Hello, I have a problem in project visual studio 2015 opencv 3.2 Same code code works without any problem in opencv 2.4 void Example_video1() { //const std::string videoStreamAddress =...
View ArticleI am not able to run the LBPH file in opencv.
It keeps giving me the error error: ‘class cv::face::FaceRecognizer’ has no member named ‘set’ and similar errors for all the getInt and so on functions. Please help.
View Articleopencv_ffmpeg320_64.dll error with mjpeg
Hi i am trying to load mjpeg camera Code is working perfect in opencv2.4 but when i try same code with opencv 3.2 and i get the below error [mpjpeg @ 00000094198e87e0] Expected boundary '--' not found,...
View ArticleOpenCv calculate or convert the speed of a moving Object
I would like to get the real speed of a moving object from my camera or webCam I used OpenCv `**BackgroundSubtractorMOG2**` then it return me the Foreground image( the moving object) then I draw two...
View ArticleApplying four color theorem in image of map/graph hand-drawn/computer-generated
From an image of a graph, (hand-drawn or computer-generated), I want to:- 1. Recognize all the regions in this image 2. Recognize which region is connected to other regions My goal is to apply four...
View ArticleI did the opencv installation instruction completely (in obunto 16, opencv...
i wrote the code, and i wrote the CMakeLists.txt as it said in the site, then i wrote cmake . in linux terminal and everything went ok, but, when i wrote make, the following error has been appeared:...
View ArticleAndroid + OpenCV - Finding extreme points in contours
Good Evening, I have a trouble with **finding extreme points** in frames. I am detecting all contours, but I want find there one extreme point, which is **lowest** from others (**southernmost...
View Articleerror with opencv threshold and findcontours
I try to load two Images and get the matched keypoints and draw convexhull on the matched keypoints with bigger size ..any help with this error this my code: import android.graphics.Bitmap; import...
View ArticleThe program to count number of white and black pixels in a binary image is...
int count_white=0; int count_black=0; for (int y = 0; y < image.rows; y++) { for (int x = 0; x < image.cols; x++) { if (image.at(y, x) == cv::Vec3b(255, 255, 255)) { count_white++; } else if...
View ArticleHOG optimal training images
Hello, im going to train a HOG descriptor on traffic signs. I wonder which pictures are best suited. How many pictures should I calculate for good results? What size should the images have and what...
View ArticleTrouble building opencv 3.2.0 on raspbian(pi3)
Hey guys! I'm facing some trouble installing 3.2.0 on my pi3. I'm new to linux. I followed the steps here: pklab(dot)net/?id=392&lang=EN but the build would always return errors no matter what I...
View ArticleSegmentation fault (core dumped) in C++/OpenCV with functions...
Hey, I wish to learn Open-CV for a project and my purpose is to localize a green target and to put a circle around this target. When I compile my program i have no error, but when I execute it, I have...
View ArticleTrying to configure OpenCV 3.1 Viz Module with Visual Studio 2015
Hello all, I am currently trying to configure my Visual Studio to work with the Viz module for OpenCV for a 3D scanning project I have been working on. My build of OpenCV only had a build and sources...
View ArticleThe cropped roi image is just tilted.I wanted it to be tilted to correct...

View ArticleHi,i want to give an output from opencv using visual studio to arduino.How...
Output from opencv is needed as output to arduino to make an external hardware work
View ArticleDetect license plate
so i have two images (check below) and whatever the camera angel i want to detect the plate using findContours and i am using java so hard to use ROTATEDRECT so i am using normal RECT and i found such...
View ArticleTLD tracking too slow
Hello, i am using the Tracking module in OpenCV to track several objects. I tried few algorithms (MIL, MEDIANFLOW, TLD, ...) and the TLD is looking like the most accurate one. But it is very slow...
View ArticleAbout segmenting characters for ocr. Contours I could detect is not in order.
I have a code that can detect contours in an image. My image consists of a string of characters. But contours being detected is not in the order of character. So I am not able to save it in the correct...
View ArticleHi i want to pass information to arduino.Which additional libraries should be...
i have a sample code .here i put the headers used #include "opencv2/objdetect/objdetect.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include #include "Tserial.h"...
View Articlecalculate the number of colors inside one image
can someone tell me how to identify different merged colors I have inside one image and calculate them? I am doing it for my project... but I am new to computer vision so any advices will be valuable:)
View Article