Ask Your Question

Any ideas for tracking a person who turns around and walks away?

asked 2013-02-08 15:36:41 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.


I am developing a vision system for a mobile robot that interacts with people. One of the use cases is going to be following a person walking ahead of the robot. Due to the robot's constraints (movie-accurate R2-D2), it is not possible to use stereo vision or a Kinect-like sensor, I only have monocular vision.

What I have so far is a face-detecting cascade classifier and a median-flow blob tracker. They both work together to form a crude but efficient face tracker and distance estimator. So as long as the person has their face towards the robot, and is walking backwards, following works quite well.

Now I would like to take things one step further and allow the person to turn around and walk in front of the robot with their back to the robot. That means that the face is no longer seen, all I have is the relatively sparse-textured back of the head, and maybe some patterned clothing. I also need to cover the part where the person is actually turning around; a median tracker will not work very well there. I don't really know how to go about this.

Does anyone have creative ideas on how to solve this problem? I'm happy for any and all input.

Regards, Björn

edit retag flag offensive close merge delete


the hog detector is quite good at detecting 'shapes of humans'

(even if the bot sees only their back, or side/profile)

have a look at samples/cpp/peopledetect.cpp !

berak gravatar imageberak ( 2013-02-08 16:35:34 -0600 )edit

1 answer

Sort by » oldest newest most voted

answered 2013-02-11 09:57:05 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

In opencv 2.4 and beyond there are two implemented alternatives:

A part based model:

HoG, which can be found under the objdetect module. It's not very well documented though. It also has a GPU implementation:

edit flag offensive delete link more

Question Tools


Asked: 2013-02-08 15:36:41 -0600

Seen: 1,331 times

Last updated: Feb 11 '13