|
Hi together,
I'm trying to write a programm in order to track people walking past a webcam. What I actually need is their position infront of the camera.
I have tried several things until now. Using different software. MAX/MSP, Java, and OpenCV/C++ which seems to be the best thing. I'm also working on EyesWeb which also uses OpenCV. I need to transfer the data I get to Flash. EyesWeb does that via OSC.
I'm still not sure if C++ is the best language to use.
No I read about motion detection in C# so again im quite confused where to start or to continue.
http://www.codeproject.com/cs/media/Motion_Detection.asp
So my first question is: Is there a possibility to transfer data to flash (maybe via xml, osc. )?
In EyesWeb I tried to use Background Subtraction in order to get silhouettes of the people walking by. The problem is that the webcam has too much noise and the programm analyzes motion in parts where there is none.
Afterwards I wanted to use blob extraction to get the position of the people. The second problem was that sometimes a color has the same gray value as the background and then there's no differnce in that part
Then I heard about block matching which might be better, but I'm not sure. Is this the right algorithms for my project?
Does anyone have experience with this kind of tracking?
Hope you can help or have some hints
|
|
|
|
|
Why not just take an image on a timer loop and compare it to previous images? Comparing an image should be simple enough in your situation. Just select a few random pixels in the image and compare the colours. You could even go as far as applying an algorithm to compensate for light changes through the day.
|
|
|
|
|
thanks for your suggestion,
that's how I was going to do the analysis. I'm just concerned about the performannce and think C++ has the best performace since your able to use directX / direct show. I need a high frame rate.
Besides there are OpenCV libraries which take care of image processing.
Still I'm wondering if there's a better way or say a better language to use.
|
|
|
|
|
Performance doesn't really come into play when talking about motion dection. Infact, no drawing to the screen is required for it. All you do is capture an image every second or so and compare it to the last or if you want to do it properly the previous 10 or so. Comparing a handful of RGB values will take a split second. It's only after you detect motion that you launch into directX or whatever your using.
|
|
|
|
|
One more problem, Please show me how to get the position of a mouse and extract this data to a grid. In this case what type of Grid I should use?
|
|
|
|
|
...can't you ask for a more explicit subject ?
Subject: help1 is not what i'd call a clear subject.
|
|
|
|
|
|
Generic answer for a generic topic ?
|
|
|
|
|
not 100%
|
|
|
|
|
Kiethnt wrote: Please show me how to get the position of a mouse
GetCursorPos!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief And You
|
|
|
|
|
Dear All,
I would like to add a menu in Frame and create a new dialog but now I don't know how to call this dialog when I push select this menu.
I have already create a new dialog and I would like to add this dialog to my project. Please shown me or send to me via email kiethnt@yahoo.com. Many thanks for your help
|
|
|
|
|
Please don't post your e-mail address on the forums or ask for people to direct their replies to your mail box. At the bottom of the page is a checkbox marked "Notify me by e-mail if someone answers this message". If you place a check in that little box next to the words, a magic thing will happen. You get an email with the reply. Cool isn't it.
Now, if you don't want your classmates to see the replies you get, then don't ask these questions on a PUBLIC forum. Go find an IRC group or something where you can chat in private.
|
|
|
|
|
waldermort wrote: if you don't want your classmates to see the replies you get, then don't ask these questions on a PUBLIC forum.
|
|
|
|
|
waldermort wrote: Now, if you don't want your classmates to see the replies you get, then don't ask these questions on a PUBLIC forum. Go find an IRC group or something where you can chat in private
He he eh
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief And You
|
|
|
|
|
What do you need exactly?
|
|
|
|
|
I want to splitan existing dialog to which i have added some controls into two parts based on my requirements.How can i do this?
Thanks.
|
|
|
|
|
In MFC use CSplitter class. You will have to set the controls parents to be that of the splitter pane and also take into account that controls may move when resizing the panes.
|
|
|
|
|
|
mine is a dialog based application.I have designed a dialog by inserting different controls.Now i want to insert a splitter bar to my dialog placing some controls on one side of splitter bar and and the rest in the other.Totally i want to cut the window into two halves.
Thanks
|
|
|
|
|
radhika28 wrote: I want to split...
Are you wanting a splitter window, or a property sheet with two pages?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I want a splitter window similar to sdi application.Mine is a dialog based application.
|
|
|
|
|
That sounds like a very odd UI. Do you have an example?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
How can I bring a child window on top of model-less dialog box in a MDI application.Plz let me know the solution/alternatives to overcome this.
|
|
|
|
|
I want to log on to another computer using netbios. Are there any APIs.
For instance I want to log on to 34.12.56.12 with
user: admin
pass: admin
and copy a file from my machine to c$\temp
Thank you!
modified 8-Mar-17 3:52am.
|
|
|
|
|
Daniel Kanev wrote: I want to log on to another computer using netbios.
Are you referring to Netbios() ?
Do you have to log into the machine prior to copying the file? If not, check out CopyFile() and SHFileOperation() .
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|