Hi .I want to to make a simple game like on screen will be some images and ,I will touch them with my hand .For this I must add some images to frame.I am using web-cam and Capture method
frame = cap.QueryFrame();
frame.Draw("Hello, world", ref f, new System.Drawing.Point(10, 80), new Bgr(0, 255, 0))
But I don`t know how can I add new ...
Hello there,
I am doing a project called user initiated real time object tracking system. Here, is what I want to happen in the project:
1) Take a continuous stream from a web camera.
2) Using the mouse a user can draw a square, around an object of interest.
3) Then from there onwards, the square moves along with the object of intere...
How do I get a .NET Bitmap and an OpenCV image to point to the same chunk of memory? I know that I can copy from one to the other, but I would prefer that they just point to the same pixels.
Bonus points for a solution using Emgu.
...
HI. I am trying to create simple touch game using EmguCV.Should I use optical flow to determine for interaction between images on screen and with my hand ,if changes of points somewhere on screen more than 100 where the image, it means my hand is over image? But how can I track this new points? I can draw on screen here the previous po...
Hi. I am new to EmguCV. I want to convert an rgb image into gray scale. For the conversion I have used the code
Image<Gray,byte> grayImage = ColordImage.Convert<Gray, byte>();
Now when i compile this code in C# it gives no error,but when i run it then after a few seconds it gives me the exception at this line of code that this type of...
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...
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 ...
Hi I am developing a campera capture application. I am currently using EmguCV 2.0. I get an error with the following line of code :
Image image = capture.QueryFrame();
I have added all the required references of EmguCV like Emgu.CV,Emgu.CV.UI, Emgu.CV.ML, Emgu.Util, but still it gives a error saying :
Error 1 The name 'cap...
Hey all,
I need to know how to load a video file using emgucv 2.1.0.0 in C#. I just need some guidance. I also need some guidance on how to use the emgucv API(I have one documentation which came with the installation), so I dont have to keep asking questions when I can find it already in the API(NOTE: For instance, I went through a vide...
I have some code like this to find all instances of the template in the result image.
Image<Gray, Byte> templateImage = new Image<Gray, Byte>(bmpSnip);
Image<Gray, float> imgMatch = sourceImage.MatchTemplate(templateImage, Emgu.CV.CvEnum.TM_TYPE.CV_TM_CCOEFF_NORMED);
and then looping through the imgMatch.Data[,,] Property check if the...
Hi I want to draw a rectangle on a video stream(web cam video or loaded saved video) that I have streaming on a picture box. This is a C# application and I am using EmguCV 2.1.0.0. I have been successful in displaying the video stream on the picturebox in the form.
Can I use Emgucv to draw on the video or should I use something else ? C...
Hi,
I am making an object tracking application. I have used Emgucv 2.1.0.0
to load a video file
to a picturebox. I have also taken the video stream from a web camera.
Now, I want
to draw an unfilled square on the video stream using a mouse and then track the object enclosed
by the unfilled square as the video continues to stream.
T...
The image resizing function provided by Emgu (a .net wrapper for OpenCV) can use any one of four interpolation methods:
CV_INTER_NN (default)
CV_INTER_LINEAR
CV_INTER_CUBIC
CV_INTER_AREA
I roughly understand linear interpolation, but can only guess what cubic or area do. I suspect NN stands for nearest neighbour, but I could be wrong...
Just noticed something strange and wondered if there was a reason for it.
I have a grayscale image in EmguCV (.net wrapper for openCV). If this image has C channels (1 for grayscale, 3 for RGB), a width of X pixels and a height of Y pixels, the data array is consistently of the form:
[Y,X+2,C]
Anyone know why?
...
Hi Guys,
I have a question on how to remove shadow and reflection on the signboard on the images.
I have no idea abt how it is done.
I am doing coding in C#, emguCV (opencv wrapper)
I am seeking help on this issue. Thank you very much.
This is the example: (I can't post a picture cos i am a new user)
http://img85.imageshack.us/img85...
hi,
i used image.HoughLine to find line in my image. i want to know the angle of each line. so i tried :
double deltaY = line.P2.Y - line.P1.Y;
double deltaX = line.P2.X - line.P1.X;
double angle;
if (deltaX != 0)
angle = Math.Atan2(deltaY, deltaX);
else
angle = 90;
but , it returns 0 and -1 , while the lines in image...
Is there any function in OpenCV or Emgu CV desktop capture options? (addons, libs, classes) So I know we can capture camera in a very easy way, is there any option for desktop capturing that way?
...
Hi;
I am trying to record a video captured from a webcam using Emgu CV but I a, getting an exception.
_capture = new Capture(0);
_capture.QueryFrame();
captureOutput = new VideoWriter(@"output.avi",(int)_capture.GetCaptureProperty(Emgu.CV.CvEnum.CAP_PROP.CV_CAP_PROP_FOURCC), (int)_capture.GetCaptureProperty(Emgu.CV.CvEnum.CAP_PROP.CV...
Does anyone know how to implement'Optimal global and adaptive thresholding' algo?
If know, can please share with me.
Thanks.
...
Hello friends,
I am trying to calculate by how much an object has moved in each consecutive image captured from a stationary camera. What we're testing here is the repeatability of our setup to place an object in the same place each time.
The object in question has a stamp placed on its center that has a simple shape on it (see below)...