SunFounder picar-x
EXAMPLE
Note:
• You can write the program according to the following picture, please refer to the tutorial: How to Create a New
Project?.
• Or find the code with the same name on the Examples page of the EzBlock Studio and click Run or Edit
directly.
5.8 Face Detection
In addition to color detection, PiCar-X also includes a face detection function. In the following example the Joystick
widget is used to adjust the direction of the camera, and the number of faces will be displayed in the debug monitor.
For more information on how to use the Video widget, please reference the tutorial on Ezblock video here: How to
Use the Video Function?.
102 Chapter 5. Play with Ezblock