opencv

video processing with opencv

i'm trying to detect car in a video file.i can do background subtraction and the moving cars are visible as foreground object. but i can't draw rectangle around the car. how can i do it? or how can i say in a particular area of the frame there is a car/or there is no car now.please help. ...

Difficulty running OpenSURF code in Netbeans IDE 6.8

I am trying to run the OpenSURF code(used for point matching) obtained from the following website: http://www.chrisevansdev.com/computer-vision-opensurf.html This codebase uses OpenCV library(which is already installed on my computer) and I have included its path in the Environemtal variables. However, when I try to build the OpenSURF ...

Precisely Compare 2 images for differences using OpenCV

Hi, I am working on a project to capture images via webcam in a predefined time interval, and continuously compare the images to a template (good image) and give an error if the difference is > tolerance set. I working out using OpenCV. Would like to have advice how should I do it, e.g. best method, etc. Appreciate if any one can help ...

displaying video from webcam in OpenCV

hi all, I have installed VS2008 and am able to run the demo codes "camshiftdemo and lkdemo " which comes in the opencv library. With this done, now I am trying to run some simple codes from the internet to get acquainted with the OpenCV. I am just trying to display video from webcam and I am getting the following error.. Error I am ge...

Why can't my c++ program find the necessary .dll file?

I am trying to use OpenCV (a computer vision library), which appearently uses a few .dll files, located in C:\OpenCV\bin (which has been added to the system PATH variable). However, if I try to run a simple test program, it gives a system error: "The program can't start because highgui.dll is missing from your computer. Try reinstalling ...

Will the values of label and its correspondences change if Image is rotated?

Hi all I have an image in which a text like "VINAYAK 123" is written. The text in the image is at a certain angle, say 30degrees. Now when I extract the labels of the connected components, I get V-1, I-2, N-3, A-4,Y-5,A-6,K-7, 1-8,2-9,3-10( Format: Character- Label No.). Now I rotate the image 30 degrees in the clockwise direction to ...

How to make white blob tracking for video or camera capture on Emgu?

I want to make program using C# with Emgu that can detect white blobs on images from camera and also track it. Also, the program can return IDs of tracked blobs Frame1: http://www.freeimagehosting.net/uploads/ff2ac19054.jpg Frame2: http://www.freeimagehosting.net/uploads/09e20e5dd6.jpg ...

Adaptive Threshold in OpenCV (Version 1 - the swig version)

Hello I'm trying to get adaptive thresholding working in the python binding to opencv (the swig one - cannot get opencv 2.0 working as I am using a beagleboard as the cross compiling is not working yet). I have a greyscale image (ccg.jpg) and the following code import opencv from opencv import highgui img = highgui.cvLoadImage("ccg.p...

Classic exercises for computer vision / image processing?

For a mentoring project, I am looking for an online repository of classic computer vision exercises, similar to Project Euler, but geared towards image processing problems that could be solved in MATLAB or OpenCV. Anyone have any ideas? ...

Opencv python and webcam

Hello, I'm working with OpenCV on a beagleboard with ubuntu and OpenCV 1.1 interfaced via Python. I'm trying to set something up to capture a feed from a UVC compatible webcam (logitech C250). I have tested the webcam with luvcview and it works but only if I set the input format to YUV. If I run it in 'normal' mode I am getting back j...

tracking specific color

what are the Min requirements (hardware and software) to write code that can track specific coloured-object? ...

[python] How to create A matrix of images in opencv with python bindings to feed Kmeans2

Hello , i am trying to cluster a set of images, my peblems resides in using Kmeans2 parameters in opencv. i dont know exactly how to form the points input for Kmeans2 for clustering. here what i do : samples = CreateMat ( samples_len,1,CV_32FC2) labels = CreateMat ( samples_len,1,CV_43SC1) index = 0 for name in imglist : img = ...

Windows 7 64 / Visual Studio 2008 / OpenCV2.1 error: "The application was unable to start correctly (0xhex).."

Hey all, I'm building OpenCV2.1 from top of branch in 64 bit mode, when I link the libraries against my code (that works in 32 bit mode on XP), I get the dialog: "The application was unable to start correctly (0xc0150002) Click OK to close the application" When I start the application. The event viewer is pointing at one of the OpenC...

OpenCV - DLL missing, but it's not?

I am trying just a basic program with OpenCV with the following code: #include "cv.h" #include "highgui.h" int main() { IplImage* newImg; newImg = cvLoadImage("~/apple.bmp", 1); cvNamedWindow("Window", 1); cvShowImage("Window", newImg); cvWaitKey(0); cvDestroyWindow("Window"); cvReleaseImage(&newImg); re...

OpenCV Blob Tracking with Webcam

Hi. I'm trying to use cvBlobslib to detect blobs in a realtime videostream. In fact im trying to build some kind of "multitouch" input device using a translucent surface and a webcam. I got blob detecting working on images, but I couldn't figure out how to use a videostream. ...

Object Recognition from Templates

Hi Guys, I was hoping someone could point me in the right direction here. With a picture of a die (from above) I want to recognize which side is up. I understand the basics in play here, but I'm having trouble grasping the power of OpenCV. I imagine I want a picture of each side of the die. Then I can somehow compare them all to the...

Where can I find the xcode template for opencv on iPhone ?

I want to use opencv frequently for iPhone development, so if there is existing xcode template , that will save me a lot time. Also for others who have same purpose. If not, I need to do it myself. Thanks for let me know if you know. ...

How to get path of stroke using opencv ?

I want to get path stroke from image using opencv. I know how to get contours but I need path of stroke (path that runs through the center of the stroke). Is it possible to get this in opencv ? ...

openCV usage cvFindDominantPoints

Hi, Does anyone know how to use the cvFindDominantPoints API of openCV? I basically have a 1 channel, binary image from which I get a set of contours. Judging from the image, I seem to be getting the correct contours. Now, I am selecting one of these contours to get dominant points of. This contour has about 60 vertices. However, the AP...

How to debug an external library (OpenCV) in Visual C++?

I am developing a project in VC++2008. The project uses the OpenCV library (but I guess this applies to any other library). I am working with the Debug configuration, the linker properties include the debug versions of the library .lib's as additional dependencies. In VC++ Directories under Tools|Options i set up the include directory, t...