Troubleshooting For K210 Vision Module Execution Failures
1. Issue Description
Executing the sample routines from 4.7 Face Detection---4.13 Handwritten Number Recognition within the 1. Tutorial Material\2. Module Development Tutorial\4. AI Vision Games directory on the K210 vision module results in a ValueError: open file error, please check file path! exception, as depicted in the following image.
2. Problem Description
The error occurs when running the 4.7 Face Detection – 4.13 Handwritten Digit Recognition routines because the required KPU model files are not present on the SD card, so the system cannot load them. To resolve this issue, import the necessary model files into the SD card.
3. Solution
First, disconnect the K210 module from the computer and remove the SD card. Insert the SD card into a card reader and connect it to the computer. Then copy the KPU folder from the path 3. Chip & AI Model Materials\2. AI Model in the Tutorials to the SD card. After the transfer is complete, reinstall the SD card into the K210 module. The process is shown in Figure 2.