Any suggestions before I give up on this Oak-D camera? Using the code below, I can get 20fps in the preview (oak.visualize) window but the streams recorded are about 1 fps. I need to capture video at 20fps or faster and then do some processing on each frame. For now, I'm just trying to determine if I can record video at faster than 1 fps with this camera.
from depthai_sdk import OakCamera, RecordType
from pathlib import Path
import time
duration=10
with OakCamera('192.168.70.86') 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')
stereo = oak.create_stereo(left=left, right=right)
nn = oak.create_nn('mobilenet-ssd', color, spatial=stereo)
# Sync & save all (encoded) streams
oak.record([color.out.encoded, left.out.encoded, right.out.encoded], './record', RecordType.VIDEO) \
.configure_syncing(enable_sync=True, threshold_ms=50)
oak.visualize([color.out.encoded], fps=True)
oak.start(blocking=True)