Hi,
I'm using the Raspberry Pi Zero 2 W as host for the OAK-1. The RPi is running headless, connection is established via SSH and frames are forwarded via X11 to a Windows PC.
This script is used to track detected objects. When streaming the frames via X11, 9-11 fps can be measured, possibly due to the low computational ressources of the RPi Zero 2 and the burden of showing and streaming the frames.
With the DepthAI Pipeline Graph tool 34 fps are measured, when not showing the frames:
If the frames are not shown and fps is printed to console, 47 fps can be measured:
#cv2.imshow("tracker_preview", frame)
print(f"fps: {fps}")
To my understanding, the lower fps when showing the frames or when using the pipeline graph tool (which output is also forwarded via X11) are caused by the higher burden on the RPi Zero 2 W, which slows down the pipeline. Is it correct that the fps measured when only printing to console are the "true" fps of the model + tracker running on the OAK-1?
Thanks,
Max