Hi jakaskerl
Thank you for your previous insights. I want to clarify that the latency measurements I shared with you earlier were taken without showing the preview (I had commented out `cv2.imshow('frame', imgFrame.getCvFrame())`).
After including the preview display in the computation, here are the new values I obtained:
Latency: 481.45 ms, Average latency: 527.23 ms, Std: 36.31
Latency: 492.62 ms, Average latency: 527.20 ms, Std: 36.31
Latency: 488.96 ms, Average latency: 527.18 ms, Std: 36.31
Latency: 486.37 ms, Average latency: 527.15 ms, Std: 36.31
Latency: 496.27 ms, Average latency: 527.13 ms, Std: 36.31
Latency: 492.14 ms, Average latency: 527.10 ms, Std: 36.31
Latency: 503.84 ms, Average latency: 527.09 ms, Std: 36.30
Latency: 515.83 ms, Average latency: 527.08 ms, Std: 36.29
Latency: 507.38 ms, Average latency: 527.07 ms, Std: 36.28
Latency: 507.18 ms, Average latency: 527.05 ms, Std: 36.27
Latency: 498.62 ms, Average latency: 527.03 ms, Std: 36.27
Latency: 515.08 ms, Average latency: 527.02 ms, Std: 36.25
As you can see, adding the preview display significantly increases the latency.
Best,
Babacar