Hello,

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
self.device.startPipeline(self.create_pipeline())
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

  • erik replied to this.

    Hi AnasMahdi ,
    I assume it's because you are using IspScale option which results in the video being smaller than what you would want to do. Perhaps you could write an Issue report on the repo where this code was published (depthai_blazepose).
    Thanks, Erik

    7 days later