10TabbyVision
Introduction
TabbyVision is an AI vision plugin for KittenBot's KOI AI vision car, designed to be used with TabbyBot. It provides the following functionalities:
- Road sign detection
- Digit detection
- Letter detection
- Face detection
- Common object detection
- Color block tracking
- Line detection
- Feature classification
- MQTT
On-board resources
Quick start
Connect the circuit P13 and P14 are mapped as serial ports.
Turn on the power of the car.
Open the Makecode programming platform at https://makecode.microbit.org/
Load the AI camera-specific plugin in the extensions: https://github.com/KittenBot/pxt-tabbyvision.git
Start programming and learning.
Usage notes
Since KOI takes some time to start up, make sure both the Microbit and KOI are powered off. After turning on the power, ensure that the KOI screen can display real-world images (running). Then press the reset button on the Microbit to restart the Microbit's serial port initialization program in order to control KOI.
Example program testing
- Front and rear camera: The camera and screen have the same orientation for the front camera, where the screen faces forward and the camera faces backward. Set it accordingly in the software. Link to example
- Face tracking: Returns the x and y coordinates of the largest face and the number of faces in the current frame. Link to example
- Road sign recognition: Returns the corresponding directional sign based on the road sign. The recognized road sign name can also be directly output by pressing a button. Link to example
- Digit recognition: Returns the largest digit card recognized on the screen and displays the number on the microbit. Link to example
- Letter recognition: Returns the largest letter card recognized on the screen and displays the letter on the microbit. Link to example
- Feature classification: Train two targets using the on-board AB buttons on the microbit. The recognition results will be displayed in real-time on the microbit. Link to example
- Object recognition: Recognizes 20 common objects. Link to example
- Color tracking: Can learn colors autonomously or track built-in common red, green, and blue colors. Link to example
- Line tracking: Returns the coordinates of both ends of the line on the screen. Link to example
- IoT: Transmits messages through cloud-based IoT servers. Link to example