I'm trying to run Pointcloud NN sample from here for OAK-D Wide camera and getting the following errors:
[1844301051D9880E00] [1.9] [0.698] [ColorCamera(7)] [warning] Unsupported resolution set for detected camera OV9782, needs 800_P or 720_P. Defaulting to 800_P
Traceback (most recent call last):
File "…/depthai-experiments/gen2-pointcloud/rgbd-pointcloud/main.py", line 117, in <module>
with dai.Device(pipeline) as device:
RuntimeError: StereoDepth(2) - Disparity/depth width must be multiple of 16, but RGB camera width is 427. Set output size explicitly using 'setOutputSize(width, height)'.
stereo.setOutputSize(480, 320)the script started but I got some opencv exception later
Is there a way to adapt the sample code to work with OAK Wide camera? I assume the sample was written for a regular cam?
My main goal is to export the colored 3D pointcloud from the camera and its ok if depth to points conversion happens on host. Looking for the easiest ways to get this working. Thanks
Update: the device-pointcloud sample not working for this camera either