Noob question here, probably. I am trying to use the sdk to record RGB+left+right. But my host is a pi without X, which I control remotely via ssh. My problem: if I get it right, the record example using sdk expects the recording to be ended using "q" in a cv2 window… which I can't do.
I'm not familiar with abstracted objects like the sdk, but I can't just code a timer into the while loop, like I did using the API, as it is abstracted…
I tried with this:
start_time = time.monotonic()
while oak.running():
if time.monotonic() - start_time > 5:
oak._stop = True
oak.poll()
But it doesn't seem to be working that way !