Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# OpenCV
hi,
i am a C# developer.
i am developing a security system based on camera.
i have developed a system to detect and recognize faces to some extent using open cv libraries.
 
now i want to develop a s/w that can count the number of people entering in a room or a hall.the camera is supposed to be put on the center line of the door at around 1ft distance.
 
please help me with some code.i not able to detect and track the human body.
Posted 7-Jan-13 22:51pm
Comments
Agent_Spock at 8-Feb-14 7:32am
   
if you are able to share the code we can do it for you.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

  Permalink  
Comments
tushar gupta at 10-Jan-13 5:22am
   
the first link is nice and useful too.its helping me learn about opencv programming with c# e1 better,i'm gonna work on with it lets see where does it take me.
thanx
Suvabrata Roy at 10-Jan-13 5:44am
   
welcome
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 6

i'll suggest another logic,,
 
Do not go for human detection, instead of this , Draw a virtual line (on camera video image frame) in front of door, just detect large object which cross the line, you can use motion detection concept. its easy.
 

 
hope, it will useful to you.
regards.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Maybe you should use Histogram of Oriented Gradients (HOG) http://lear.inrialpes.fr/people/triggs/pubs/Dalal-cvpr05.pdf[^] for that purpose of people detection.
 
I found this C++ code from https://gist.github.com/1470956[^]
 

Hope this will help you with your C sharp project.
 
Okay got this code, if you are using Emgu then it's supposed to work. But you also need the theory for you to appreciate the code.
 
http://www.emgu.com/wiki/index.php/Pedestrian_Detection_in_CSharp[^]
  Permalink  
v3
Comments
tushar gupta at 9-Jan-13 2:29am
   
i need a c# code,not c++ or any other language.
and to be precise i need a code may it be a demo code,not the pdf books describing the algos. please help me out here asap
BupeChombaDerrick at 10-Jan-13 4:25am
   
Check the other link in the answer for Emgu Csharp pedestrian detection code, you still need that pdf book though :-)

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

  Print Answers RSS
0 OriginalGriff 369
1 Maciej Los 208
2 George Jonsson 144
3 Richard MacCutchan 140
4 Dave Kreskowiak 130


Advertise | Privacy | Mobile
Web03 | 2.8.140709.1 | Last Updated 8 Feb 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid