Enabling a robot to recognize faces

This chapter has presented two abilities to make your robot more interactive. To talk to your robot and have it speak to you makes it become alive with personal characteristics. The more voice commands or phrases it responds to and the more phrases your robot can speak, the more personality it will have.

An additional customization would be to interact with your robot face-to-face. Having your robot turn when spoken to and having him find the face of the speaker will add an air of awareness. The capability to detect a face would be an advantage.

There are two primary methods available in ROS to detect faces from a camera image stream. The first method is using a cascade classifier with Haar or LBP-like features. ...

Get ROS Robotics By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.