ArmSoM
← All stories

How to Test an Edge AI System When the Camera Goes Offline

An inference service can keep reporting healthy status after a camera stops delivering new frames. On CM7s, the worker, model and web page can all remain alive while the operator sees an old result. Track the age of the data consumed by the model.

ArmSoM CM7s compute module product photo

ArmSoM CM7s compute module · ArmSoM

Give each result an expiry time

Associate every prediction with its source sequence and capture timestamp. During a controlled test, disconnect the camera or stop a recorded input stream. Observe how long the UI continues to display a valid decision. Define an explicit unavailable state and a policy for accepting the first frames after reconnection, especially while exposure stabilizes.

Include the source frame ID on the diagnostic screen or in the event log. A newly painted UI timestamp can conceal a prediction that still belongs to the last frame before a disconnect.

Repeat with the inference worker stalled while capture continues. The two cases need different diagnostics. Treat recovery as complete only when the application has displayed a prediction tied to a fresh frame.

Reference material

ArmSoM CM7s hardware documentation

Linux video buffer fields and timestamps

Related ArmSoM guide

Camera NPU and UI together testing a complete edge AI pipeline

Explore ArmSoM CM7s