This guide builds upon the computer vision system from the previous guide to build a playful robot that uses the Adafruit MEMENTO to capture an image, detect a face, and track it until the face is no longer in the frame.
About the code used in this guide
This project uses an example written by Me-No-Dev for Espressif Systems, CameraWebServer.ino. This example was modified by the author of this guide to reduce the flash size overhead.
To do so, this project removed the web functionality, isolated the face detection / recognition calls, brought the overhead into main.cpp and ra_filter.h. It adds compatibility for the Adafruit MEMENTO development board (added camera compatibility and added "blitting" the camera's raw image to the MEMENTO's TFT instead of to a webpage), sets up a PlatformIO build environment to decrease compile time, and creates an interactive robotics demo around the code.
If you do not have the MEMENTO Camera Enclosure Kit (or if it is out of stock), you can build your own ring light for the MEMENTO using the following parts:
Text editor powered by tinymce.