Rockchip · AI & Linux Hub

Cameras & video

Are two Orange Pi camera frames from the same instant? Measuring synchronization

Two cameras can both deliver 30 FPS without exposing their 100th frames at the same instant.

For counting, ranging or detection from two viewpoints, pairing frames incorrectly can matter more than inference time. Decide whether you simply need two views of an object or exposures taken at the same moment.

What does the confirmation timestamp represent?

Take out the timestamp of each frame from the driver or application, and record the timestamp source and clock domain. The time it takes the application to receive the buffer adds to the transmission and scheduling delays. You cannot directly compare local clocks on two independent devices that are not synchronized.

Do a visible test

Let two cameras capture controlled flashes or patterns with obvious moving edges at the same time, marking the frame where the event first occurs. Count the pairing errors of multiple events and observe whether they drift over time. If pairing based on arrival order is unstable, you can try to find the closest frame using the timestamp of the same clock and reject out-of-window pairing.

Determine the hardware solution according to the error

Low speed counting can give software pairing tolerances. If high-speed motion measurement still cannot meet the error budget, you should check whether the sensor, carrier board and driver support hardware synchronization. Write the measured distribution and the number of rejected pairs into the acceptance.

The amount of synchronization that should be recorded separately

Data meaning
Collection timestamp and clock domain Can time values be subtracted?
Two-way pairing time difference How long is the difference between a pair of pictures?
Number of rejections beyond the window How many times the software gave up pairing
Error changes with running time Whether there is continuous drift

Board documentation and references

ArmSoM Sige7

Products and development resources

Check the hardware revision, carrier, image and interfaces in the product documentation. An article association is not evidence that a configuration has been tested.

Explore this topic → · Learning paths →