For more information, please
visit: 2. /en/support/documents/technical documents
prepare
1 x Development Board V 2.1
1 Micro USB B cable
1x PC (Windows, Linux, or Mac OS)
introduction
This is a development board for the facial and speech recognition markets, equipped with an ESP32 chip, a 200W pixel camera, a digital microphone, 8MB PSRAM, and 4MB flash memory, which can meet the development needs of various artificial intelligence applications. In addition, the development board also supports Wi Fi image transmission, micro USB debugging, power supply, and can achieve voice activation and other functions, Face detection and recognition can help users develop highly integrated artificial intelligence solutions.
programming software
Then, taking the Linux environment as an example, the programming process of
ESP-Eye was introduced:
First, connect the ESP-Eye to the PC and then open it
1. Wake up through sound
After opening the development board, it will enter the "activation waiting" state (red light always on, white light always off), and the user needs to wake up through voice. Support "Hi Espressif" activation. When the user issues the "Hi Espressif" activation word, the development board is activated and enters the "network waiting" state (red light flashing, white light always off). At this point, the user can perform network operations.
2. Connect to the Internet
Users can connect to the Wi Fi access point created by ESP-Eye through PCs, mobile phones, and other devices. The default information for this access point is as follows:
User name: ESP-Eye XXXX (XXXX is the MAC address of the device)
Password: No password required
Users can also set their username and password in the following ways:
Open terminal
When the development board detects a face, if the input facial ID already exists, the development board will perform "facial recognition":
Facial recognition successfully matched: the red light on the development board flashes once, and the website displays Hello ID xxx
Facial recognition matching failed: the development board did not respond, who is displayed on the website?
Otherwise, the development board only performs "facial detection". At this point, if the user wants to use facial recognition function, please first enter at least one facial ID.
5. Facial entry and removal
On the premise of a successful network, the face can be collected through the camera and the facial ID can be input.
5.1 Input facial ID
Enter Face ID
The user clicks the side touch button to input "Enter Facial ID" (the red light is always on), and
the website displays: Start registration;
The user faces the camera and starts taking portraits. Every time a collection is successful, the development board will flash a red light, and the website will display the corresponding collection time, such as the first display. By default, users need to capture 3 portraits for each facial ID input (configurable). During the portrait shooting process, if the red light does not flash for a long time, it is recommended that the user adjust their posture and angle, and try again;
After the portrait collection is completed, the red light on the development board remains off, indicating that the facial ID input has been completed. At this point, the
website displays: Register facial ID XXX;
After entering
Delete Face ID 5.2
The user clicks the Boot button on the surface to enter "Remove Face ID";
After double clicking, the white light on the development board flashes, and the system will automatically delete the oldest facial ID in the system.
The terminal will display: xxx id (s) left.
Abnormal situation
When abnormal situations such as "network disconnection" or "network timeout" occur, the development board will return to the "activation waiting" state.