I would like to draw a rectangle around a video playing on my screen. For example, I am watching a YouTube video in my browser. I would like to be able to take a screenshot, analyze that screenshot, and then draw a rectangle around where the YouTube video is playing. I have just started looking into how I might be able to to this. I came...
Hi guys,
I have an object that I want to be able to recognize in AS3.
There's a port of OpenCV for AS3 already, that works with Haars cascades, so now I need to create a cascade of my object.
From what I've read, I'll have to create an XML of several images (positive and negative), but I can't find a program that'll do that for Mac OS...
Hello all,
I am developing a computer vision program using OpenCV (IDE = devcpp). I am able to get the hand contour , move cursor position according to our our hand. i want to implement right click functionality .Please help me with it .
i am using event SetCursorPos(x,y) to set the cursor position on the screen.
is there any simple f...
in my project I want to use EmguCV lib, but the function of EmguCV can not process the Bitmap object, so i have to convert Bitmap to some other type, Intptr is a choice but I really don't know how to code, the fellow code is abstract from my project like this:
Bitmap bmp = new Bitmap(e.width, e.height,
System.Drawing.Imaging.PixelFo...
Hey all,
I am streaming some data down from a webcam. When I get all of the bytes for a full image (in a string called byteString) I want to display the image using OpenCV. Done fast enough, this will "stream" video from the webcam to an OpenCV window.
Here's what I've done to set up the window:
cvNamedWindow('name of window', CV_WIND...
Hey everyone,
I've been trying to find/implement a seek and rewind function (for video (.avi)) using OpenCV in C++, but I cant find a way of doing it, other than going through the entire file once and saving each image. Is there any other way?
Any help would be much appreciated; Thanks ahead of time!
...
Hi,
I'm just learning to use OpenCV and am having a problem with using DFT. I've done a signal processing class which used MatLab, so I'm trying to go through some of the exercises we did in that class. I'm trying to get and display the FT of an image, so I can mask some of the frequencies. I'd like to be able to see the FT, so I know ho...
As from my previous questions, I am trying to build a simple eye tracker. Decided to start from a Linux version (run Ubuntu).
To complete this task one should organize screencasting and webcam capturing in such way that frames from both streams exactly match each other and there is the same number of frames in each of them totally.
Scr...
Hello,
I am developing an application that processes images captured in real time by a Point Grey camera (http://www.ptgrey.com/).
The Point Grey SDK is a .net wrapper and can be either 32bit or 64bit.
Then to process the captured images, I'm using a wrapper for openCV called Emgu CV (http://www.emgu.com/) that comes in both 32bit or ...
I have been trying to set up OpenCV for the past few days with no results. I am using Windows 7 and VS C++ 2008 express edition. I have downloaded and installed OpenCV 2.1 and some of the examples work. I downloaded CMake and ran it to generate the VS project files and built all of them but there with several errors, and couldn't get ...
Been tinkering with openCV in python. The face detection demo is impressive. Are there any free collection of Haar classifiers aside from the face, eyes and full body ones?
...
Hi Gurus,
I am new to OpenCV and I have only Tiny C compiler configured on my Windows XP machine. Can I use this tiny C compiler to compile opencv programs for image manipulations. I have alredy installed python2.6 and opencv2.0 on my windows xp pc. If we can compile how can we do that? I tried on net but found nothing of use.. Please he...
Dear SO,
I'm trying to use OpenCV v2.1. Using cv.FindChessboardCorners I've found a bunch of corresponding points between two webcams.
Using the function cv.FindFundamentalMat I've generated a fundamental matrix relating the two cams. But now I want to use cv.StereoRectifyUncalibrated. The documentation specifies that the same format f...
how to check whether a given point is contained in a rectangle using the contains() function in Rect_ construct... Please give me the exact function and its parameters.Like when i type this
Point b(2,2);
Rect a(10,10,50,50);
cout<< Rect_::contains(b);
There is a compile error saying 1>c:\users\kaushal\documents\visual studio 2008\proje...
What are some fast and somewhat reliable ways to extract information about images? I've been tinkering with openCV and this seems so far to be the best route plus it has Python bindings.
So to be more specific I'd like to determine what I can about what's in an image. So for example the haar face detection and full body detection clas...
Hello,
I am using this python script do display my webcam :
from opencv.cv import *
from opencv.highgui import *
import sys
cvNamedWindow("w1", CV_WINDOW_AUTOSIZE)
camera_index = 0
capture = cvCreateCameraCapture(camera_index)
def repeat():
global capture #declare as globals since we are assigning to them now
global came...
img_hsv is a Mat element of an hsv image!
when i give cout<<*img_hsv.data+10; it gives true value of the pixel ie 79 as output.
but when i assign uchar * a=img_hsv.data+10; it gives me some other value...
can you please explain me why is this the case? thanks!
...
How can I convert a Mat element to IplImage * element? Please Help!
...
When I run this following code on a sample image ie an rgb image; and then execute it to display the converted hsv image, both appear to be different... can anyone explain why? or can you suggest a solution for this not to happen... coz its the same image afterall
Mat img_hsv,img_rgb,red_blob,blue_blob;
img_rgb = imread("pic.png",1);
cv...
here's my code.... when i execute it... given any arbit image... it always gives result as an entirely black or entirely white image... is there any problem with the iteration?
int main(void)
{
int i=0,j=0,height=0,width=0,step=0,k=0;
Mat img_hsv,img_rgb,red_blob,blue_blob;
//reading image... rgb format(default)... CV_8U3C
img_rg...