Sudo sh -c 'echo "/usr/local/lib" > /etc/ld.so.conf.d/opencv. # sudo apt-get -y install libgtk2.0-dev # duplicateĬmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON. Sudo apt-get -y install x264 v4l-utils ffmpeg Sudo apt-get -y install libfaac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev Sudo apt-get -y install libqt4-dev libgtk2.0-dev Verify the installation: python3 -c import cv2 print (cv2.version) Itll take around 30 seconds, and then you should see: 3.2. Sudo apt-get -y install python-dev python-numpy sudo apt update Install OpenCV package: sudo apt install python3-opencv Depending on the speed of your Internet connection, this may take between 15 and 30 minutes. Sudo apt-get -y install libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libxine-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev Sudo apt-get -y install libtiff4-dev libjpeg-dev libjasper-dev Sudo apt-get -y install build-essential checkinstall cmake pkg-config yasm Sudo apt-get -y remove ffmpeg x264 libx264-dev If thenĮcho "Removing any pre-installed ffmpeg and x264 "
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |