Last active
November 24, 2021 15:24
-
-
Save dynamicguy/542f50cae50aaa9de0c53def2152acc2 to your computer and use it in GitHub Desktop.
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
# Basic | |
sudo apt-get -y update | |
sudo apt-get -qq install -y build-essential | |
# OpenCV | |
sudo apt-get -qq install -y libopencv-dev | |
sudo apt-get -qq install -y libtesseract-dev | |
# General dependencies | |
sudo apt-get -qq install -y libatlas-base-dev libprotobuf-dev libleveldb-dev libsnappy-dev libhdf5-serial-dev protobuf-compiler | |
sudo apt-get -qq install -y --no-install-recommends libboost-all-dev | |
# Remaining dependencies, 14.04 | |
sudo apt-get -qq install -y libgflags-dev libgoogle-glog-dev liblmdb-dev | |
# Python3 libs | |
sudo apt-get -qq install -y python3-setuptools python3-dev | |
sudo apt-get -qq install -y python3-pip | |
sudo -H pip3 install --upgrade numpy protobuf opencv-python | |
# OpenCL Generic | |
sudo apt-get -qq install -y opencl-headers ocl-icd-opencl-dev | |
sudo apt-get -qq install -y libviennacl-dev | |
# All in one line | |
sudo apt-get -qq install -y libatlas-base-dev libprotobuf-dev libleveldb-dev libsnappy-dev libhdf5-serial-dev protobuf-compiler libgflags-dev libgoogle-glog-dev liblmdb-dev opencl-headers ocl-icd-opencl-dev libviennacl-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment