WonderMV AI Vision Module - License Plate Recognition Tutorial
1. Introduction
This tutorial is based on an open-source project from the Kendryte Developer Community.
2. Operating Procedure
2.1 Download the Source Code and Model Files
Open the source code download page: Kendryte Developer Community.
After the page opens, click Download. The download starts automatically.
2.2 Download the Required Firmware
Open the firmware download page: CanMV releases. On the v1.0.7 release page, locate the firmware file named canmv_dock_lite.bin, then click it to download the file.
2.3 Flash the Required Firmware
For the firmware flashing procedure, refer to 1.6 Learn Factory Firmware Burning tutorial in the following directory: WonderMV\1.Tutorial Material\2.K210 Module Development Tutorial\1. Getting Ready\1.6 Learn Factory Firmware Burning\.
Replace the Hiwonder_K210_canmv_V1_1.bin firmware shown in that guide with the canmv_dock_lite.bin firmware downloaded in Section 2.2.
2.4 Initialize the TF Card
Before importing the kmodel files, format the TF card. For the related procedure, refer to 1.9 Usage of TF Card tutorial in the following directory: WonderMV\1.Tutorial Material\2.K210 Module Development Tutorial\1.Getting Ready\1.9 Usage of TF Card\.
After formatting the TF card, reopen the drive and create a folder at E:\KPU\licenseplate_recognization. The drive letter E is the TF card drive letter in this example. Use the actual drive letter shown on the computer.
2.5 Import the kmodel and bin Files
Extract and open the license plate recognition archive downloaded in Section 2.1. Copy the three files shown below into the E:\KPU\licenseplate_recognization folder created in Section 2.4:
lp_detect.kmodellp_recog.kmodellp_weight.bin
After the files are imported successfully, insert the TF card back into the K210 module.
2.6 Run the Program
Open CanMV IDE and connect the WonderMV AI Vision Recognition Module. For this step, refer to CanMV IDE Basic Usage tutorial in the following directory: WonderMV\1. Tutorial Material\2.K210 Module Development Tutorial\1. Getting Ready\1.4 CanMV IDE Basic Usage.
Drag licenseplate_recog.py from the extracted license plate recognition folder into CanMV IDE, then click Run.
3. Recognition Result