Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to draw a box on video using a mouse

Status
Not open for further replies.

btap0644

Newbie level 1
Newbie level 1
Joined
Jun 18, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
India
Activity points
1,299
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 tried taking the video stream from a web camera successfully.

Now, I want to draw an unfilled square on the video stream while it is playing using a mouse and then track the object enclosed by the unfilled square as the video continues to stream.

This is what people have suggested so far:-

(1) .NET Video overlay drawing(DirectX) - but this is for C++ users, the suggester said that there are .NET wrappers, but I had a hard time finding any.
**broken link removed**

(2) DxLogo sample
DxLogo – A sample application showing how to superimpose a logo on a data stream. It uses a capture device for the video source, and outputs the result to a file. Sadly, this does not use a mouse.
http://directshownet.sourceforge.net/about.html

(3) GDI+ and mouse handling - this area I do not have a clue.

(4) one person said this - when I said I will track any object inside the unfilled square
" It should be noted that systems such as EmguCV are designed to recognise predefined items within a scene (such as a licence plate number) rather than an arbitory feature within a scene. " He also said "search for research papers on edge detection and the like (in combination with a library such a EmguCV) is probably a good start. (You also may want to sneak a peek at an existing application such as http://www.pfhoe.com/ to see if it fits your needs)"

(5) Another person in the industry said to read on template matching

(6) Somone from CODEPROJECT said to use this -->> http://code.google.com/p/opencvdotnet/ .

(7) Dshownet - .NET wrapper for DirectShow

I really do not know what to do


Any help as to using the mouse to draw on a video is greatly appreciated. Thank you for taking the time to read this.

Many Thanks
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top