how can I exit from the function with OakCamera after a specific duration
Oak camera stop
- Best Answerset by MohamedMagdyGaberDarwish
while oak.running():
if time.monotonic() - start_time > 5:
break
oak.poll()
- Edited
jakaskerl
thank you