Skip to content

edgeimpulse/firmware-seeed-grove-vision-ai-module-v2

Edge Impulse firmware for Seeed Grove Vision AI Module V2 (Himax WiseEye2)

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.

Development

The source code fo the Edge Impulse firmware can be found here: EPII_CM55M_APP_S/app/scenario_app/edge_impulse_firmware

Building firmware (native)

  1. Install required tools
  1. Clone this repository
  2. In the repository root, run the build script
    ./build.sh --build
    
  3. Your firmware should be ready in the firmware.img file in the root directory.

Building firmware (Docker)

  1. Install required tools
  1. Clone this repository
  2. Build Docker image (in the repository root)
    docker build -t himax-we2 .
    
  3. Buld the firmware
    docker run --rm -v $PWD:/app himax-we2 ./build.sh --build
    
  4. Your firmware should be ready in the firmware.img file in the root directory.

Flashing the firmware

  1. Install required tools
  1. Install Python dependencies
    pip3 install -r xmodem/requirements.txt
    
  2. Install Edge Impulse CLI tools
     npm install -g edge-impulse-cli
    
  3. Connect your module (using USB Type C cable) and find it's port name
  4. 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"
    
  5. Run the impulse
    edge-impulse-run-impulse --debug
    

About

No description, website, or topics provided.

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
BSD-3-Clause-Clear
LICENSE.3-clause-bsd-clear
MIT
LICENSE.mit

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published