(depthai-env) ali@luxonis:~/depthai/depthai-experiments/gen2-yolo/device-decoding $ python3 main.py --config model/Ali3.json
config: model/Ali3.json
[2024-10-06 10:42:03] INFO [root.__exit__:328] Closing OAK camera
Traceback (most recent call last):
File "/home/ali/depthai/depthai-experiments/gen2-yolo/device-decoding/main.py", line 10, in <module>
color = oak.create_camera('color')
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ali/depthai/depthai-env/lib/python3.11/site-packages/depthai_sdk/oak_camera.py", line 133, in create_camera
comp = CameraComponent(self._oak.device,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ali/depthai/depthai-env/lib/python3.11/site-packages/depthai_sdk/components/camera_component.py", line 142, in __init__
res = getClosesResolution(sensor, sensor_type, width=1300)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ali/depthai/depthai-env/lib/python3.11/site-packages/depthai_sdk/components/camera_helper.py", line 197, in getClosesResolution
for (res, size) in resolutions:
^^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object
Sentry is attempting to send 2 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit