RASPBERRY

How to install OpenCV 3.1.0 on your Raspberry Pi [ Easy Installation Steps ]

admubuntu



Install OpenCV and Python on your Raspberry Pi 2 and B+

http://www.emindlab.com/how-to-install-opencv-3-1-0-on-your-raspberry-pi-easy-installation-steps/

install opencv raspberry pi python,
install opencv on raspberry pi 2,
raspberry pi opencv c++ install,

Follow below Steps to Install OpenCV and Python on your Raspberry Pi 2 and B+

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install guvcview

sudo apt-get install synaptic

sudo apt-get install python-dev

sudo apt-get install python-numpy python-scipy
python-matplotlib python-pandas python-nose

sudo apt-get install build-essential cmake pkg-config

sudo apt-get install default-jdk ant

sudo apt-get install libgtkglext1-dev

sudo apt-get install bison

sudo qt4-dev-tools libqt4-dev libqt4-core libqt4-gui

sudo apt-get install v4l-utils

sudo apt-get install qtcreator
sudo wget http://liquidtelecom.dl.sourceforge.net/project/opencvlibrary/opencv-unix/3.1.0/opencv-3.1.0.zip

sudo unzip opencv-3.1.0.zip

cd opencv-3.1.0

sudo mkdir build

cd build

sudo cmake -D
CMAKE_BUILD_TYPE=RELEASE -D INSTALL_C_EXAMPLES=ON –D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_OPENGL=ON -D WITH_V4L=ON –D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_TBB=ON ..

make

sudo make install

sudo nano /etc/ld.so.conf.d/opencv.conf

/usr/local/lib

Press Control + X to save

sudo ldconfig

sudo nano /etc/bash.bashrc

PKG_CONFIG PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig

export PKG_CONFIG_PATH

cd opencv-3.1.0/samples/cpp

g++ -o facedetect facedetect.cpp `pkg-config opencv –cflags –libs`

./facedetect

https://docs.google.com/document/d/1OcVoQi8UJ2bCtJ2nFPkI-eZi9kuQoqthpOwpCpLGwJE/edit?usp=sharing

source



Tags:
Back to top