Last active
April 11, 2022 17:08
-
-
Save amolloy/948ce55186ec407d46af317be7846a88 to your computer and use it in GitHub Desktop.
Get The Spaghetti Detective up and running with CUDA support in OpenCV on Jetson Nano. Intended to be run first thing after completing the first boot login process. The main difference from this and the instructions found elsewhere is that it builds OpenCV from source instead of installing a .deb.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get remove -y libopencv-dev libvisionworks-dev libvisionworks-samples libvisionworks-sfm-dev libvisionworks-tracking-dev | |
sudo apt-get update && sudo apt-get -y dist-upgrade | |
sudo apt-get install -y curl python-pip python3-pip libffi-dev python-openssl | |
sudo -H pip install -U jetson-stats | |
# Follow instructions from https://www.thespaghettidetective.com/blog/2020/04/19/jetson-nano-spaghetti-detective-guide/ | |
# except use my fork. | |
wget https://github.com/nefilim/docker-compose-aarch64/releases/download/1.25.4/docker-compose-Linux-aarch64 | |
sudo mv docker-compose-Linux-aarch64 /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose | |
git clone https://github.com/amolloy/TheSpaghettiDetective.git | |
cd TheSpaghettiDetective | |
sudo docker-compose up -d | |
sudo systemctl enable docker | |
echo COMPLETE. Please reboot. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment