Edge Impulse enables developers to create the next generation of intelligent device solutions with embedded Machine Learning. This repository contains the Edge Impulse firmware for the Seeed Grove Vision AI Module V2 (based on Himax WiseEye2 MCU). This device supports all Edge Impulse device features, including ingestion and inferencing.
Note: Do you just want to use this development board with Edge Impulse? No need to build this firmware. See the instructions here for a prebuilt image and instructions.
The source code fo the Edge Impulse firmware can be found here: EPII_CM55M_APP_S/app/scenario_app/edge_impulse_firmware
- Install required tools
- Git - make sure
git
is in your PATH. - GNU ARM Embedded Toolchain 13.2.rel1
- Clone this repository
- In the repository root, run the build script
./build.sh --build
- Your firmware should be ready in the
firmware.img
file in the root directory.
- Install required tools
- Clone this repository
- Build Docker image (in the repository root)
docker build -t himax-we2 .
- Buld the firmware
docker run --rm -v $PWD:/app himax-we2 ./build.sh --build
- Your firmware should be ready in the
firmware.img
file in the root directory.
- Install required tools
- Python 3 + PIP
- Node.js 20 or higher.
- Install Python dependencies
pip3 install -r xmodem/requirements.txt
- Install Edge Impulse CLI tools
npm install -g edge-impulse-cli
- Connect your module (using USB Type C cable) and find it's port name
- Flash firmware and model file
python3 xmodem/xmodem_send.py --port=YOUR_BOARD_PORT_NAME --baudrate=921600 --protocol=xmodem --file=firmware.img --model="EPII_CM55M_APP_S/app/scenario_app/edge_impulse_firmware/ei-model/face-detection.tflite 0x200000 0x00000"
- Run the impulse
edge-impulse-run-impulse --debug