最終更新:2017-05-18 (木) 14:16:26 (127d)  

OpenCV/Ubuntu はてなブックマークを見る
Top / OpenCV / Ubuntu

sudo apt-get install libcv-dev libcvaux-dev libhighgui-dev opencv-doc

Ubuntu/パッケージ

libopencv-dev

  • Linux/usr/bin/opencv_createsamples?
  • Linux/usr/bin/opencv_haartraining?
  • Linux/usr/bin/opencv_performance?
  • Linux/usr/bin/opencv_traincascade?
  • Linux/usr/lib/x86_64-linux-gnu/pkgconfig/opencv.pc?
  • Linux/usr/share/OpenCV/OpenCVConfig-version.cmake?
  • Linux/usr/share/OpenCV/OpenCVConfig.cmake
  • Linux/usr/share/OpenCV/OpenCVModules-release.cmake?
  • Linux/usr/share/OpenCV/OpenCVModules.cmake?

libcv-dev

  • Linux/usr/include/opencv/cv.h
  • Linux/usr/include/opencv/cv.hpp?
  • Linux/usr/include/opencv/cvwimage.h?
  • Linux/usr/include/opencv/cxcore.h?
  • Linux/usr/include/opencv/cxcore.hpp?
  • Linux/usr/include/opencv/cxeigen.hpp?
  • Linux/usr/include/opencv/cxmisc.h?
  • Linux/usr/include/opencv/ml.h?

バージョンごと

コンパイル

gcc -o cvtest cvtest.c `pkg-config --cflags --libs opencv`
gcc -o cvtest cvtest.c -I/usr/include/opencv -lhighgui -lcvaux -lcv -lml -lcxcore