This application performs face detection on RZ/G3E using either a USB camera stream or a still image file. Detection results are shown on an HDMI display.
The model is compiled with the RUHMI AI Framework and executed with Ethos-U55 acceleration.
- Board: RZ/G3E-EVKIT
- Software: RZ/G3E Ethos-U Package (including RUHMI runtime)
- Peripherals:
- USB camera
- HDMI display
- microSD card (optional)
System configuration:
.
├── README.md // This document
├── exe
│ ├── face_detection // Application binary
│ └── model_yolo-fastest // AI model directory, compiled using the RUHMI AI Framework
│ ├── config.yaml
│ └── yolo-fastest_192_face_v4
└── src // Application source code
exe/ and src/ are not included in this repository. Use the RZ/G3E release package for runnable assets.
| AI Model | Input size | Output size |
|---|---|---|
| yolo-fastest_192_face_v4.tflite | int8 [1,192,192,1] | int8[1,6,6,18] int8[1,12,12,18] |
Build is required only when src/ is included in your release package.
- Install and source the RZ/G3E toolchain environment.
- Build the application:
mkdir -p src/build
cd src/build
cmake ..
makeGenerated binary: src/build/face_detection
Copy files to RZ/G3E-EVKIT:
scp -r exe/ root@<TARGET_IP>:/home/root/USB camera mode:
./face_detection USBImage file mode:
./face_detection IMAGE <path_to_image>Expected output includes model info, FPS, and number of faces detected.
- FPS values are reference values only.
- Press
Enterin the running console to terminate the app. - Refer to LICENSE in the repository root for license information.

