Skip to content

Instantly share code, notes, and snippets.

@saching13
Created April 18, 2021 16:11
Show Gist options
  • Save saching13/8a12a1a4491f36ac3976d69deb709d35 to your computer and use it in GitHub Desktop.
Save saching13/8a12a1a4491f36ac3976d69deb709d35 to your computer and use it in GitHub Desktop.
Depthai ROS install script
sudo wget -qO- http://docs.luxonis.com/_static/install_dependencies.sh | bash
cd /tmp
git clone --recursive https://github.com/luxonis/depthai-core.git --branch develop
cd depthai-core
mkdir build
cd build
cmake .. -DBUILD_SHARED_LIBS=ON
cd ..
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/usr/local
sudo cmake --build build --target install
cd /tmp
rm -r depthai-core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment