How do I make it so that I can quit out of a running script in the console when there is no visualization window open without using CTRL-C? If the vis window is up I just hit Q, but if it is outputting to stdout it just keeps looping forever until I manually break it.
from depthai_sdk import OakCamera
import time
def cb(packet):
print('looping is fun')
time.sleep(1)
with OakCamera() as oak:
color = oak.create_camera('color')
nn = oak.create_nn('yolov6nr3_coco_640x352', color)
oak.callback(nn, callback=cb)
oak.start(blocking=True)
Thanks