This project collects the data of the OV7675 and perform an inference on it using a YOLO model.
The goal is to extract digits (to read a water counter), but you can change the YOLO model as you want.
A software is available inside the /gui directory to visualize the output.
- ModusToolbox™ v3.6 or later (tested with v3.6)
- Board support package (BSP) minimum required version: 1.0.0
- Programming language: C
- KIT_PSE84_AI
- GNU Arm® Embedded Compiler v14.2.1 (
GCC_ARM) – Default value ofTOOLCHAIN
Notes:
- IAR is not supported by the TensorFlow Lite for Microcontrollers (TFLM) library.
- This code example fails to build in RELEASE mode with the GCC_ARM toolchain v14.2.1 as it does not recognize some of the Helium instructions of the CMSIS-DSP library.
- PSOC™ Edge E84 AI Kit (
KIT_PSE84_AI)
This example uses the board's default configuration.
See the ModusToolbox™ tools package installation guide for information about installing and configuring the tools package.
Install a terminal emulator if you do not have one. Instructions in this document use Tera Term.
This example requires no additional software or tools.
See Using the code example for instructions on creating a project, opening it in various supported IDEs, and performing tasks, such as building, programming, and debugging the application within the respective IDEs.
-
Connect the board to your PC using the provided USB cable through the KitProg3 USB connector.
-
Open a terminal program and select the KitProg3 COM port. Set the serial port parameters to 8N1 and 115200 baud
-
After programming, the application starts automatically
-
Confirm that a blue LED is flashing.
-
Connect the board to your PC through the PSOC E84 USB connector and start the GUI to stream the data.
The file cm55/Makefile enables you to choose the model type.
Possible combinations:
- Yolov5 legacy model generated using Deepcraft Studio
YOLO_VERSION=legacy
YOLO_EXPORT_WAY=deepcraft_studio
In that case, model/model_int8x8_legacy_dcs will be used
- Yolov5 legacy model, trained using Python scripts and generated using Deepcraft Model Converter v5.8.4
YOLO_VERSION=legacy
YOLO_EXPORT_WAY=model_converter
In that case, model/model_int8x8_legacy will be used
- Yolo model, trained using Python scripts and latest version of Yolo, generated using Deepcraft Model Converter v5.8.4
YOLO_VERSION=new
YOLO_EXPORT_WAY=model_converter
In that case, model/model_int8x8 will be used
The evaluation board including the software is for testing purposes only and, because it has limited functions and limited resilience, is not suitable for permanent use under real conditions. If the evaluation board is nevertheless used under real conditions, this is done at one’s responsibility; any liability of Rutronik is insofar excluded.



