I am recording video stream using OAK-D S2 camera but no matter what resolution I create the cameras with, the recorded video will always have a resolution of 640x480. How can I change that?
Here is my code example:
from depthai_sdk import OakCamera, RecordType
with OakCamera() as oak:
left = oak.create_camera('left', encode='jpeg', resolution='1080P', fps=90)
right = oak.create_camera('right', encode='jpeg', resolution='1080P', fps=90)
record_components = [left.out.encoded, right.out.encoded]
oak.record(record_components, 'record', record_type=RecordType.VIDEO)
oak.start(blocking=True)