Install opencv with ffmpeg Debian Jessie linux

Follow

My favourite

  • Opencv tutorial people detection
  • Head people cascade download
  • Opencv tutorial optical flow
  • Opencv Video stabilization
  • Opencv car dataset download
  • Opencv tutorial Transparent mask
  • Opencv videowriter
  • Opencv FFMPEG
  • Opencv Canny edge and hough lines
  • FFMPEG Debian Jessie and Opencv instalation

    Share this for more tutorials and computer vision post from me.. Thanks best Vladimir
    Debian Opencv 
    +
    Debian Opencv


    // Just update and upgrade your system
    sudo apt-get update
    sudo apt-get -y upgrade
    
    
    
    //Install basic staff in any case you dont have this packages
    
    
    sudo apt-get -y install build-essential
    sudo apt-get -y install cmake
    sudo apt-get -y install pkg-config

    Install opencv dependencies

    sudo apt-get -y install libgtk2.0-dev python-dev python-numpy libgstreamer0.10-0-dbg libgstreamer0.10-0 libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libunicap2 libunicap2-dev libdc1394-22-dev libdc1394-22 libdc1394-utils libv4l-0 libv4l-dev libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libdc1394-utils libjpeg-dev libpng-dev libtiff-devlibjasper-dev libtiff5 libtiff5-dev libopenexr-dev libjasper-dev
    

    Install FFMPEG

    sudo apt-get -y install git make nasm pkg-config libx264-dev libxext-dev libxfixes-dev zlib1g-dev
    sudo wget -O ffmpeg-2.8.tar.bz2 "https://www.ffmpeg.org/releases/ffmpeg-2.8.tar.bz2"
    sudo tar -xvf ffmpeg-2.8.tar.bz2
    sudo rm -Rf ffmpeg-2.8.tar.bz2
    
    cd /home/nomce/libs/ffmpeg-2.8 
    
    ./configure --enable-nonfree --enable-gpl --enable-libx264 --enable-x11grab --enable-zlib
    make -j2
    sudo make install
    sudo ldconfig -v
    wget -O 3.0.0.zip https://github.com/Itseez/opencv/archive/3.0.0.zip
    # Unzip
    unzip 3.0.0.zip
    # Cleanup
    rm -Rf 3.0.0.zip
    

    Install opencv

    cd /home/nomce/libs/opencv-3.0.0
    
    mkdir bin
    cd bin
    cmake -D CMAKE_BUILD_TYPE=RELEASE -D WITH_TBB=ON -D BUILD_EXAMPLES=ON -D CMAKE_INSTALL_PREFIX=/usr/local /home/nomce/libs/opencv-3.0.0/
    make -j2
    sudo make install
    sudo ldconfig -v

    1 comment:

    1. Thank you very much, this technique work as on a wheel

      ReplyDelete

    ad

    Follow by Email

    Powered by Blogger.