This tutorial uses microbit V2.0, and K210 requires running the program in * * K210-AI (microbit) * * to start the experiment Microbit * 1 Eyu clip * 3 Several DuPont Lines K210 perspective module * 1 (requires SD card (with AI model inside) and camera) USB to TTL module * 1 Import k210AI library:https://github.com/YahboomTechnology/K210-Module
microbit | USB to TTL module |
---|---|
P1 | RXD |
GND | GND |
microbit | k210 |
---|---|
P2 | TXD |
GND | GND |
Wiring as shown in the diagram: |
From the code, simply configure the serial port and call the relevant serial port and K210 building blocks for data acquisition -Msg: is the result of facial recognition, YES: matching face, NO: mismatched face
This experiment displays the results of facial recognition
Website of K210 library:https://github.com/YahboomTechnology/K210-Module