O'Reilly logo

Androids: Build Your Own Lifelike Robots by Thomas Talbot, Bryan Bergeron

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 4Light and Vision

The ability to see one’s environment is critical for survival and interaction. Computer vision for recognizing objects from a camera feed is an advanced science that requires sophisticated algorithms and is usually beyond the scope of what microcontrollers can do. Although it is not possible for an Arduino to recognize people and see them smile, there are many compelling vision applications that can take advantage of simple sensors so that your android can see and adapt to the environment around it.

In this chapter we will explore light sensors that will give your Android some degree of vision. We will also create a pair of eyes with variable pupils and gaze that follows light sources. This will give your android the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required