Please help me....I want to know how to code for background subtraction.
I'm just getting started with OpenCV. I came across this question, and I'm trying to find where that code came from. Any ideas? ...
I'm just getting started with OpenCV. I came across this question, and I'm trying to find where that code came from. Any ideas? ...
Hello. I was trying to compile a OpenCV's VideoCapture example. When I compile it, I get the following output: gpp test.c Info: resolving vtable for cv::VideoCapture by linking to __imp___ZTVN2cv12VideoCaptureE (auto-import) c:/programs/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: warning: auto-importing has enable...
I am using VS2010 and opencv2.1. Under Win7, the sample programme is below: #include <cv.h> #include <cxcore.h> #include <highgui.h> int main(int argc, char* argv[]) { IplImage *img = cvLoadImage("funny-pictures-cat-goes-pew.jpg"); cvNamedWindow("Image:",1); cvShowImage("Image:",img); cvWaitKey(); ...
Hi! I want to have two aplications simultaneously run: one that analyzes image from webcam written using OpenCV (the image is acquired through callback function) and an application that goes into fullscreen mode (let's say a 3D game). The problem is that while the fullscreen mode is launched the webcam image stream is stopping - the fra...
I'm new to python and open cv. I'm trying to find out how to load an image in opencv with python. Can any one provide an example (with code) explaining how to load the image and display it? import sys import cv from opencv.cv import * from opencv.highgui import * ll="/home/pavan/Desktop/iff pics/out0291.tif" img= cvLoadImage( ll ); cvNa...
Hi, I want to get the bounding box of a filled black circle on a white background using opencv BoundingRect. I used the sample code from http://cgi.cse.unsw.edu.au/~cs4411/wiki/index.php?title=OpenCV_Guide#Finding_bounding_boxes_around_regions_of_a_binary_image but failed to get the properties of the bounding box and draw it into the im...
I create simple test application to perform translation(T) and rotation (R) estimaiion from essential matrix. Generate 50 random Points. Calculate projection pointSet1. Transform Points via matrix (R|T). Calculate new projection pointSet2. Then calculate fundamental matrix F. Extruct essential matrix like E = K2^*F*K1 (K1, K2 - int...
I'm working on an app that takes in webcam data, applies various transformations, blurs and then does a background subtraction and threshold filter. It's a type of optical touch screen retrofitting system (the design is so different that tbeta/touchlib can't be used). The camera's white balance is screwing up the threshold filter by bri...
using the MacPorts install of OpenCV does not seem to install the python bindings anywhere. Are they included, where do they go? ...
I found Yoshimasa Niwa's article about blob detection here: http://niw.at/articles/2009/03/14/using-opencv-on-iphone/en And something on realtime face detection here: http://www.morethantechnical.com/2009/08/09/near-realtime-face-detection-on-the-iphone-w-opencv-port-wcodevideo/ But what I really want to do is realtime blob detection (...
With StompChicken's corrections (I miscomputed one dot product, ugh!) the answer appears to be yes. I have since tested the same problem using a precomputed kernel with the same correct results. If you are using libsvm StompChickens clear, organized computations are a very nice check. Original Question: I am about to start using precom...
Hello I have a problem when grouping the OpenCV's functions in functions of my own and getting segmentation fault. Even with code as simple as this def acquire_imagen(): capture = cv.CaptureFromCAM( 0 ) img = cv.QueryFrame( capture ) return img img = acquire_image() print img[0,0] If I call the same instructions outside the fun...
Which one of the following IDEs/language will you recommend for developing a project under windows that involves recognizing hand gestures and interacting with the OS? I will be using OpenCV library for image processing tasks. After that I will be using win32 APIs or .NET framework to interact with the OS, depending on the tool you sugge...
We're developing a project that uses OpenCV library to track hand gestures and motion sensing. I'm confused whether to go for native c++ program or to use C++/CLI provided in .NET (VC++). Performance is of utmost importance and heavy image processing is required. since we're planning to use the OpenCV extensive methods and the project r...
When I try to capture video from webcam using OpenCV, it opens a new window and the video is shown there. Instead of showing in a separate window, I want the video to be shown in a windows form element like picturebox. I am using visual c++ 2008 for developing windows forms. Plz help me. ...
I am trying to develop an application which will detect the color of the face once an image is provided. I was able to find out the face detection algorithm from openCV and integrate it. However i could not find any example or interface by which i can detect the color of the face. I have the logic which i am presenting. Please let me kno...
Hi all, I am getting desperate !! I am trying to use OpenCV in Java, via JavaCV (JNA to wrap OpenCV for java). I am on Mac Os X 1.5. I installed OpenCV, and I can compile and run the examples included. So that works. Now I open Eclipse, and I create a new project, as described here : http://code.google.com/p/javacv/ In that new proj...
Hi, I tried installing OpenCV following the instructions for a MacPorts install on http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port, typing sudo port install opencv in the terminal. The install/compilation seemed to go fine, and the files are in /opt/local subdirectories as they should be. As a first test, I then tried inclu...
Hi, I'm trying to add several images using opencv. I think that my source code should be correct and it compiles without any problems. But when I start the program an error occurs in the for-loop. The problem is that I don't understand why this is happening. #include <iostream> #include <sys/types.h> #include <dirent.h> ...
I'm am working on a basic augmented reality application on Android. What I did so far is detect a square with opencv and then using cvFindExtrinsicCameraParams2() I calculated a rotation and translation vector. For this I used 4 object points, which are just the corners of a square around (0,0,0) and the 4 corners of the square in the im...