I bought two Oak D W cameras, one IMX378 and the other is OV9782. When I run the demo code, the IMX378 worked but the OV9782 camera didn't and it gave me the following error:
[1844301021AEA90F00] [3.3] [2.764] [ColorCamera(0)] [warning] Unsupported resolution set for detected camera OV9782, needs 800_P or 720_P. Defaulting to 800_P
[1844301021AEA90F00] [3.3] [2.816] [NeuralNetwork(4)] [warning] Network compiled for 4 shaves, maximum available 13, compiling for 6 shaves likely will yield in better performance
Traceback (most recent call last):
File "demo.py", line 46, in <module>
tracker = BlazeposeDepthai(input_src=args.input,
File "/home/dong-robot/catkin_ws/src/uwtu_hse_ros/scripts/depthai_blazepose/BlazeposeDepthai.py", line 218, in init
RuntimeError: ColorCamera(0) - 'video' width or height (1152, 648) bigger than maximum at current sensor resolution (768, 480)
I tried to change the current sensor resolution but I didn't find the code that allows me to change the resolution.
Any solution for this?
thanks in advance