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 ...

Get Androids 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.