#!/bin/bash
echo "Installing Dependencies"
sudo apt-get update
sudo apt-get install python-pip cmake python-numpy python-skimage python-sklearn libopencv-dev python-opencv nmap -y
sudo apt-get install screen -y
sudo apt-get install --no-install-recommends libboost-all-dev -y
sudo apt-get install libatlas-base-dev -y
sudo apt-get install libssl-dev libopencv-dev python-dev python-numpy python-skimage -y
sudo apt-get install zip unzip autoconf automake libtool curl zlib1g-dev maven -y
sudo apt-get install swig python-dev python-wheel htop cmake-curses-gui -y
sudo pip install watchdog
sudo pip install filterpy
sudo pip install imutils
cd ~/
wget -O opencv.zip https://github.com/Itseez/opencv/archive/3.2.0.zip
upzip opencv.zip
cd opencv-3.2.0
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
make -j4
sudo make install
sudo ldconfig
Created
March 4, 2018 00:51
-
-
Save aniketmaithani/e487af09f910e4960f6b5c0bb7018851 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment