Skip to content

Setup: DepthAI camera software

Pachoot edited this page Sep 23, 2022 · 1 revision

Installing depthai and camera drivers


   I'm afraid I can't let you do that.

Download this guide in PDF-form. more resources:

https://docs.luxonis.com/projects/api/en/latest/install/

https://docs.luxonis.com/projects/api/en/latest/tutorials/hello_world/

---This guide will setup DepthAI on the miniPupper, which is needed for OAK-D Lite camera ---


Run the depthai install script on the minipupper

  1. Get the depthaidependencies install script from here. (right click to download.)

  2. Run the following commands:

    • open a terminal and run:

      bash depthaiDependencies.sh  
      

      (this will take a bit of time)

      sudo python3 -m pip install numpy opencv-python depthai blobconverter
      
    • Navigate to where you want the demo's

      git clone https://github.com/luxonis/depthai-experiments
      
  3. Set USB3 Permission rules. Important to check for line-breaks when copying into terminal. Unneeded line-breaks in this command will cause issues only fixable by reformatting.

        echo \'SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"03e7\", MODE=\"0666\"\' \| sudo tee /etc/udev/rules.d/80-movidius.rules
    
        sudo udevadm control --reload-rules && sudo udevadm trigger
    
        lsusb | grep 03e7
    
  4. Go into the depthai-experiments and chose an experiement. Run main.py to test if it works.

    cd depthai-experiments
    cd gen2- xxxx
    python3 main.py
    
  5. This step will restart the Pupper and replace some i2c files. This is needed to reconnect to the custom PCB on the Pupper.

Clone this wiki locally