ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Person/people detection package for 2D-based camera

asked 2014-04-17 01:34:33 -0600

alfa_80 gravatar image

I would like to know if there exist any person/people detection ROS package(s) that uses 2D image data as an input. What I'm aware of, lots of ROS packages available for are meant for the use with Kinect or any 3D-based camera.

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-04-17 15:07:29 -0600

Angus gravatar image

updated 2014-05-30 06:57:05 -0600

You might want to check out HOG detector for OpenCV which tries to detect standing pedestrians, although you're going to get a lot of false positives and missed detections from it. Also, it seems they only have documentation on the website for the GPU implementation (i.e. using CUDA) and you'll have to look elsewhere for examples of the CPU implementation.

Another possibility to check out is the OpenCV face detector. Some ROS packages that use this are face_detector (uses stereo images though) and pi_face_tracker (for Groovy though).

In general, detecting people from a moving robot with a monocular camera is still a very difficult and open problem. If your camera is stationary then the problem can be simplified through background subtraction but I don't have any references for that.

For help with using OpenCV in ROS, checkout the vision_opencv package.

Edit: I uploaded my implementation of both of these in a ROS package on Github:

edit flag offensive delete link more


@Angus Can this code detect people (body) or just faces?

Phelipe gravatar image Phelipe  ( 2015-03-09 07:22:36 -0600 )edit

It can detect both. Give it a shot but don't expect very robust performance from it unless you combine it with a tracking-by-detection method (e.g., a Kalman filter with outlier rejection), geometric constraints (e.g., filtering based on size) or background subtraction.

Angus gravatar image Angus  ( 2015-03-09 11:20:18 -0600 )edit

To which topics this node subcribes, pls post me list of topics it subscribes and publishes.

Kishore Kumar gravatar image Kishore Kumar  ( 2015-07-13 09:31:11 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2014-04-17 01:34:33 -0600

Seen: 2,265 times

Last updated: May 30 '14