When evaluating whether to migrate a program on a Raspberry Pi Zero 2 W to an ArmSoM with an NPU, first write down how late an event must be seen, and how short an action is allowed to be missed.
First measure the time from event to notification
Record timestamps from the same clock at acquisition, scaling, inference, and message sending. Keep three videos during the day, low light and temporary network interruption. If inference only accounts for a small portion of the total latency, and network retries or frame queuing are prioritized, the improvement brought by switching to an NPU will be limited.
Trial calculation using the same video
Assuming the camera outputs 25 frames/second and the application only analyzes every fifth frame, the two observations are approximately 200 milliseconds apart. Even if inference is done instantaneously, actions that occur for only 100 milliseconds may be missed. Increasing the sampling frequency and shortening the processing time solve different problems respectively.
Decide whether to transplant
Use the same input size and frame-taking strategy on the Sige5 candidate solution, and then record the number of missed detections and the high quantile of event delay. Camera driver, model conversion and power supply are also included in the migration cost, and the procurement judgment can correspond to the actual door scene.
Board documentation and references

- ArmSoM Sige5 · hardware and interface manual · Sige5 · product page
- Raspberry Pi Camera Software and Connection Instructions
- Rockchip RKNN Model Zoo
- Raspberry Pi Zero 2 W Product Specifications
