CvCapture* capture = cvCreateCameraCapture(0); is not working for me... c++ w10
but VideoCapture cap(0); is working for me..it opens the camera.. please anyone give solution..
View ArticleProblem with OpenCV camera calibration from video file
Hi all, I am trying to get calibration parameters for my camera using the sample code included with OpenCV. When I try to run the calibration using a video file as an input I get the following error:...
View ArticleCalc the Seconds moments of area of huge number of countours
Hello! Finally I was able to properly fit he mesh with the layer. For this [image (7158x16392 8MB) ](https://dl.dropboxusercontent.com/u/710615/testLayer6_.png) I need to calculate the percentage of...
View ArticleDoes OpenCV 3.x have C API for Machine Learning?
As I see in the docs, there seems to be only C++ classes. If I need to use ML in C, do I have to write my own wrapper? PS. I am not actually planning on to use ML in C, but in Haskell. However, Haskell...
View ArticleIs there a way to import a RapidMiner MLP-ANN in OpenCV?
I trained and validated a MLP Model in RapidMiner Studio. My Input Values are already normalized to [-1, 1]. As far as I understood, the MLP is already defined by its weights. As you can see here, the...
View Articletracker errors in opencv3
I want to use TLD tracker. So, I installed OpenCV contrib (master), same as [here](https://putuyuwono.wordpress.com/2015/04/23/building-and-installing-opencv-3-0-on-windows-7-64-bit/). I installed...
View ArticlereprojectImageTo3D gives weird results
I am getting very weird results when reconstructing the scene of an image given the Q matrix and the disparity map. So I googled and apparently there are many others experiencing the same problem. I...
View ArticleBack ground substraction image
Hello there i am begineer in image processing as well as coding. i am doing background substaction of image for segmentation.so i get code from opencv decs. here it is /** * @file bg_sub.cpp * @brief...
View ArticleORB Feature Descriptor Official Paper Explanation
I was just reading the official paper of ORB from Ethan Rublee [Official Paper](http://www.willowgarage.com/sites/default/files/orb_final.pdf) and somewhat I find hard to understand the section of...
View Articleimread not working in opencv2.4.13 on centos6.5
Hello All I built opencv2.4.13 from source in RELEASE mode like so: >> I created a directory named 'build' inside the folder and from inside the 'build' ran cmake : cmake -D...
View ArticleExtract camera position
Hi Given a set of points in world coordinates lying around a field, how do i extract the **POSITION in XYZ of the camera** ? Help thanks EDIT: double cv::calibrateCamera gives me **90 error** and my...
View ArticleOpenCV manager 2.4
I'm making a project using OpenCV on android android studio. I am using OpenCV library 3.0 because I made a project to calculate the image moments, but the library as Imgproc.Moments not exist in the...
View Articleimread rotating image by 90 degree
I was trying to load the image..but after imread it is rotating the image by 90 degrees.
View ArticlecalcOpticalFlowPyrLK returning points out of the camera frame
Running a 480x640 video through [the Lucas-Kanade optical flow tracker example](https://github.com/opencv/opencv/blob/master/samples/python/lk_track.py), I'm getting some tracked points that are beyond...
View ArticleCreating basic SLAM system using two webcams and OpenCV
Hello everyone, I have a very simple project; I am attaching two webcams to my robot, and I need to calculate optical flow for XYZ. To prototype the program, I built everything in Unity. To begin,...
View Articlestitching_detailed.cpp on grayscale images
I'm trying to use stitching_detailed.cpp example for 16-bit tiff grayscale images. When I input two grayscale images, I get the following assertion problem: OpenCV Error: Assertion failed...
View Articleopen api reference for android
where can I find open api reference for android? could you tell me?
View ArticleImportError: No module named 'cv2' in OSX for OpenCV3 using Python3.5.2
I have installed opencv3 with Python3 using this command: brew install opencv3 --with-python3 --with-contrib I get this: bash-4.3$ brew info opencv3 homebrew/science/opencv3: stable 3.1.0 (bottled),...
View ArticleGeneral People Cascade Classifier
Hello, I'm training a Haar Cascade Classfier to identify people based on a set of samples. It works with the people from the pictures, but how can I assure that the classifier will work with different...
View ArticleCan OpenCV generate tomography of webcam(/video) stream?
I know using "warpPerspective" command can generate tomography of a picture, but is there anyway (any command) to generate tomography (perspective transform) of a video/webcam stream? BTW my python...
View Article