Hello,
I'm trying to record a video after auto adjusting so I dont want to keep the first frames that are not adjusted
I have this code
from depthai_sdk import OakCamera, RecordType
with OakCamera() as oak:
color = oak.create_camera('color', resolution='1080P', fps=20, encode='H265')
left = oak.create_camera('left', resolution='800p', fps=20, encode='H265')
right = oak.create_camera('right', resolution='800p', fps=20, encode='H265')
# Synchronize & save all (encoded) streams
oak.record([color.out.encoded, left.out.encoded, right.out.encoded], 'recordings', RecordType.VIDEO)
Show color stream
oak.visualize([color.out.camera], scale=2/3, fps=True)
oak.start(blocking=False)
while oak.running():
color.control.send_controls({'exposure': {'auto': True}})
left.control.send_controls({'exposure': {'auto': True}})
right.control.send_controls({'exposure': {'auto': True}})
oak.poll()
but unfortunately it also records the frames before the adjustment