I am Charmie

メモとログ

Notes on OpenCV-Python on Ubuntu

  • If PYTHON2_NUMPY_INCLUDE_DIRS is not found, python bindings for python2.7 is not generated.
  • Couldn't compile with FFMPEG=ON. Turned off the flag.
  • BUILD_opencv_python2=ON
  • BUILD_opencv_python3=ON
  • OPENCV_EXTRA_MODULES_PATH="CONTRIB_DIR/modules"
  • With_QT=ON, otherwise OpenCV-Python cannot use highgui related functions.
  • Copy the following 3 files if c++ compilation outputs errors related to Qt

[code lang="bash"] sudo ln -s /QT_CIR/5.6/gcc_64/lib/libicui18n.so.56 /usr/lib/x86_64-linux-gnu/libicui18n.so.56 sudo ln -s /QT_CIR/5.6/gcc_64/lib/libicuuc.so.56 /usr/lib/x86_64-linux-gnu/libicuuc.so.56 sudo ln -s /QT_CIR/5.6/gcc_64/lib/libicudata.so.56 /usr/lib/x86_64-linux-gnu/libicudata.so.56 [/code]