• DepthAI
  • Point Cloud Visualizer does not work

Hello all. My pcl-projection-rgb project does not work. I OS is Win10. I run install_requirements.py and then I had been trying other py-scripts. If I run rgbd_creating_o3d.py I get this picture
If I run colorized_pont_cloud.py then script is failed. Could anyone give me tips? Thanks

    ostepan2006

    Sorry about the delay. We're not immediately sure why this isn't working.

    Let's debug in Discord. (And then we'll circle back with a resolution so that others know what the resolution was.)

      Brandon Hello Brandon. I has tried pcl-projection-rgb project on Ubuntu. Open3D window with colored point cloud had opened but after that the window had not responding . Could you recommend something? Thanks

      Hello,
      so I just responded on the discord but will reply here as well so others can find it as well.
      Here is a Gist that accomplishes RGBD pointcloud visualization with gen2 depthai library. It was adapted from the demo inside the depthai-experiments. So to run it, replace the main.py inside the gen2-camera-demo folder with the gist and run it. Note that to use the extended disparity, you have to install the fix:
      python3 -m pip install depthai==2.1.0.0.dev0+df16f1724b2969896fd39c086978da1da816a1c0 --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local
      Thanks, Erik

        erik Thanks for your advice. But could you help me on Discord? The thing is that my OAK-D today morning seems is failed. More concretely I wrote on Discord. Thanks.

          Hi ostepan2006 ,

          That's not good to hear. Could you shoot an email to support@luxonis.com on that? We can get you a replacement out to you and then a return label back for your device so we can see what is going wrong.

          Also, so one note on this: If you're switching back/froth between Gen1 and Gen2 examples, you will need to unplug the OAK-D from USB and power. Otherwise it will be unresponsive and make on think that it's not working. But rather it's just there waiting for the wrong library to talk to it.

          So could you give this a shot first if you haven't already?

          Thanks,
          Brandon