• Home
  • AVR
  • Arduino
  • ARM
  • RTOS
  • RaspberryPi
  • Linux
  • MATLAB
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
 
sudo apt-get install libjpeg-dev libpng-dev libtiff5-dev libjasper-dev libdc1394-22-dev libeigen3-dev libtheora-dev libvorbis-dev libxvidcore-dev libx264-dev sphinx-common libtbb-dev yasm libfaac-dev libopencore-amrnb-dev libopencore-amrwb-dev libopenexr-dev libgstreamer-plugins-base1.0-dev libavutil-dev libavfilter-dev libavresample-dev

 

mkdir ImageProcessing && cd ImageProcessing

git clone https://github.com/opencv/opencv.git
git clone https://github.com/opencv/opencv_contrib.git

cd opencv

mkdir release && cd release 

cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/media/nishant/ICDU/Image_Processing/opencv_bin \
-D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules \
-D CMAKE_PREFIX_PATH=/home/nishant/Qt5.10.1/5.10.1/gcc_64/lib/cmake \
-D WITH_IPP=ON -D IPPROOT=/opt/intel/ipp \
-D WITH_QT=ON \
-D WITH_TBB=ON \
-D WITH_V4L=ON \
-D WITH_OPENGL=ON \
-D INSTALL_C_EXAMPLES=ON \
-D BUILD_EXAMPLES=ON ..

 

 

make -j4
make install
ldconfig
exit
  

 pkg-config --modversion opencv

 Happy Reading... will be more than glad if any info on my Blog is of use to you. Feel free to

write to me for any suggestion at This email address is being protected from spambots. You need JavaScript enabled to view it.