Body:
Hi all,
I’m trying to deploy YOLOv8 for video stream inference on a Milk-V Duo 256M device using the milkv-duos-musl-riscv64-sd image. However, I encounter two critical issues:
Sensor Config Parsing Failure
The application fails to parse /mnt/data/sensor_cfg.ini with the following log:
Missing Camera Device Nodes
The system reports missing nodes: Device node missing: /dev/video0 Device node missing: /dev/video1
However, /dev/cvi-vi and /dev/cvi-vpss exist.
Any advice on debugging steps or configuration adjustments would be greatly appreciated!
That’s fine. What’s more important: have you built the image yourself? If yes, it is important which repo you cloned (v1 or v2), and which branch and state (commit hash) it was built on — the official releases supply differently named files.
I myself don’t have the camera and can’t test such a setup.
Thank you very much for your response. I used the official Buildroot SDK V2 method to build the milkv-duos-musl-riscv64-sd image file via the one-step compilation approach after obtaining the SDK. The documentation link is as follows: Introduction | Milk-V.
Even after trying the official face recognition implementation, the same error persists. I have attempted multiple methods but still cannot resolve this issue. The camera only runs with the camera-test.sh script, yet the following error still occurs. I suspect it might be a problem with library files, but I can confirm the relevant libraries exist on my development board.
I can run the camera-test.sh program and it works fine. However, when trying to run the person detection (The following example: yolov8-person-pet-det-example). This was unsuccessful and I get the same error: Failed to get senor infomation from ini file (/mnt/data/sensor_cfg.ini).