Click here to Skip to main content
15,881,898 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hello !!! My goal is to start a project witch will have the ability to recognize human motion . I will use my webcam and I want my alghorithm to work on a live stream

I am new in this area and I really need some directions .I want to use OpenCv for this project, but I don`t know if openCv works with C#.

I don`t want to make something very accurate or perfect , I want to keep it as simple as posible.

Thank you in advance for your help.
Posted

You are contradicting yourself in your question here. First you want to detect motion in a live stream, which by itself is not all that hard to do, but then you want to constrain it to the detection of motion for humans only and you also want keep it simple.
An impossible task. If you are able to work that out so it will detect humans only and not moving animals nor cars and machinery you'd be able to make a lot of money with that. Just in case you are not getting what I'm driving at consider this:
What about humanoid robots?
What about a human in the guise of a robot, animal or whatever non human appearance you can think of.

Cheers!

EDIT

Check these articles
Codeproject search - motion detection[^]
 
Share this answer
 
v3
Comments
Radu_Socaciu 18-Dec-11 8:48am    
Yes You are right . Probabliy because my english is not that good , or because I don`t have experience in this area I am contradicting myself.

I want to start with motion detection in a live stream and you were saying that is not that hard. Please can you give me some directions .
Manfred Rudolf Bihy 18-Dec-11 9:28am    
It is a bit cumbersome since I"m writing this from a mobile device, but I suggest you use codeprojects search with the keywords motion detection and video. You may need to play around with the word forms. Too bad I don't remember the name of that article here on CP, but there is one that I can assure you of.
thatraja 18-Dec-11 12:06pm    
Check the updated answer. I just updated that because he is answering from his mobile(which is tough)
Manfred Rudolf Bihy 18-Dec-11 13:49pm    
Thank you so much Raja! The first article in the search result was exactly the one I had in mind written by Andrew Kirillov. Thanks for the assist! :-)
thatraja 18-Dec-11 13:53pm    
5!
Is this your answer :
http://www.motoreitaliano.net/emgu/MotionDetection.vb.htm[^]

also another person who had the same problem as you :
http://stackoverflow.com/questions/5806827/detecting-people-crossing-a-line-with-opencv[^]

And also read this :
Motion Detection Algorithms[^]

BTW, I'm hearing very interesting capabilities of OpenCV and I became very enthusiast of working with it in my leisure time.
 
Share this answer
 
Comments
thatraja 18-Dec-11 13:53pm    
5!
Amir Mahfoozi 19-Dec-11 0:06am    
Thank you :)
Sergey Alexandrovich Kryukov 18-Dec-11 13:58pm    
My 5, too.
--SA
Amir Mahfoozi 19-Dec-11 0:04am    
Thank you :)
Manfred Rudolf Bihy 18-Dec-11 14:11pm    
5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900