• DepthAI-v2
  • Errors for 'ImageManip' being enabled when there is none

Hello, I am setting up a stereo pipeline that utilizes extended mode, and am trying to add the color camera stream, but am running into the following error:
'Stereo subpixel/extended mode is not stable when one of the following nodes are enabled: 'ImageManip''
I understand that there is currently a limitation with the ImageManip node and the extra stereo node features, what I don't understand is why the ImageManip node is being enabled in the first place. In my pipeline I am adding the following to get the color stream running, and this is when the ImageManip error shows up:
auto colorCam = _p.create<dai::node::ColorCamera>();
auto xlinkOutColor = _p.create<dai::node::XLinkOut>();
xlinkOutColor->setStreamName("color");
colorCam->setPreviewSize(1920, 1080);
colorCam->setResolution(dai::ColorCameraProperties::SensorResolution::THE_1080_P);
colorCam->setInterleaved(true);
colorCam->setFps(fps);
colorCam->preview.link(xlinkOutColor->input);

Is this a bug? or is there an ImageManip node implicitly created when working with the color data?


Thanks,
Matthew

    Hello matthew, sorry for the trouble - we are currently fixing this limitation with stereo node. Could you provide the whole script? Also, which version of depthai are you working with (python3 -mpip show depthai)?
    Thanks, Erik

    matthew

    why the ImageManip node is being enabled

    ColorCamera node internally uses ImageManip to convert YUV420p frame from ISP to RGB/NV12.

    I suspected this was the case but couldn't find it documented anywhere, thanks for clearing that up!

    2 months later

    @erik is there any progress on this topic?
    In case there is a github issue it would cool to add the link here!
    Thanks a lot!

    • erik replied to this.

      Hello tobias_zucali ,
      this issue should have been resolved already (a few version ago), try installing latest depthai (python3 -mpip install depthai -U).
      Thanks, Erik

      Thanks a lot! Looks like I had an older version, with depthai v2.10.0.0 installed the error message disappeared and I have these warnings instead…

      [192.168.1.43] [1275.324] [system] [warning] System performance will be slower when stereo subpixel/extended mode is enabled together with one of the following nodes: 'ImageManip'. We are working on a fix.
      [192.168.1.43] [1275.368] [StereoDepth(3)] [warning] Median filter usage with Extended/Subpixel is not yet implemented. The filter will be disabled

      …found the explanation already here:
      https://github.com/luxonis/depthai-python/blob/main/docs/source/components/nodes/stereo_depth.rst#current-limitations

      Is there any issue or so to track the progress here?

        tobias_zucali

        This issue is fixed on develop branch.
        We will have a new release tomorrow, 2.11.0.0.
        Until then, you can install the library with the fix as:

        python3 -m pip install --user --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local "depthai==2.10.0.0.dev+55fe8891a01229bf6a59dfb6cdafb4f660bce619"