2014年12月21日日曜日

Raspberry Pi のOpenCV configuration情報を表示させてみた

raspberry pi で OpenCVをビルドすると一晩コースと言われている。

簡単に既存のものをインストールするには、
sudo apt-get install libopencv-dev
を実行すれば良い

以前は、2.3系がインストールされたが、最近では、2.4系がインストールされるようになった。
どのようなconfigurationでビルドされているのか表示させてみた。


General configuration for OpenCV 2.4.1 =====================================

  Platform:
    Host:                        Linux 3.8.0-19-generic armv7l
    CMake:                       2.8.9
    CMake generator:             Unix Makefiles
    CMake build tool:            /usr/bin/make
    Configuration:               Release

  C/C++:
    Built as dynamic libs?:      YES
    C++ Compiler:                /usr/bin/c++ (ver 4.6.3)
    C++ flags (Release):         -Wall -pthread -fomit-frame-pointer -ffunction-sections -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -DNDEBUG
    C++ flags (Debug):           -Wall -pthread -fomit-frame-pointer -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG -ggdb3
    C Compiler:                  /usr/bin/gcc
    C flags (Release):           -Wall -pthread -fomit-frame-pointer -ffunction-sections -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -DNDEBUG
    C flags (Debug):             -Wall -pthread -fomit-frame-pointer -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG -ggdb3
    Linker flags (Release):      -Wl,-z,relro -Wl,--as-needed
    Linker flags (Debug):       

  OpenCV modules:
    To be built:                 calib3d contrib core features2d flann highgui imgproc legacy ml objdetect photo python stitching ts video videostab
    Disabled:                    -
    Disabled by dependency:      gpu(deps: )
    Unavailable:                 androidcamera java

  GUI:
    QT 4.x:                      NO
    GTK+ 2.x:                    YES (ver 2.24.10)
    GThread :                    YES (ver 2.37.5)
    GtkGlExt:                    NO
    OpenGL support:              NO

  Media I/O:
    ZLib:                        /usr/lib/arm-linux-gnueabihf/libz.so (ver 1.2.7)
    JPEG:                        /usr/lib/arm-linux-gnueabihf/libjpeg.so (ver 80)
    PNG:                         /usr/lib/arm-linux-gnueabihf/libpng.so (ver 1.2.49)
    TIFF:                        /usr/lib/arm-linux-gnueabihf/libtiff.so (ver 42 - 3.9.6)
    JPEG 2000:                   /usr/lib/arm-linux-gnueabihf/libjasper.so (ver 1.900.1)
    OpenEXR:                     /usr/lib/libImath.so /usr/lib/libIlmImf.so /usr/lib/libIex.so /usr/lib/libHalf.so /usr/lib/libIlmThread.so (ver 1.6.1)

  Video I/O:
    DC1394 1.x:                  NO
    DC1394 2.x:                  YES (ver 2.2.0)
    FFMPEG:                      YES
      codec:                     YES (ver 54.35.0)
      format:                    YES (ver 54.20.4)
      util:                      YES (ver 52.3.0)
      swscale:                   YES (ver 2.1.1)
      gentoo-style:              YES
    GStreamer:                   NO
    OpenNI:                      NO
    OpenNI PrimeSensor Modules:  NO
    PvAPI:                       NO
    UniCap:                      NO
    UniCap ucil:                 NO
    V4L/V4L2:                    Using libv4l (ver 1.0.0)
    Xine:                        NO

  Other third-party libraries:
    Use TBB:                     NO
    Use Cuda:                    NO
    Use Eigen:                   NO

  Python:
    Interpreter:                 /usr/bin/python2 (ver 2.7.3)
    Libraries:                   /usr/lib/libpython2.7.so (ver 2.7.3)
    numpy:                       /usr/lib/pymodules/python2.7/numpy/core/include (ver 1.6.2)
    packages path:               lib/python2.7/dist-packages

  Documentation:
    Build Documentation:         YES
    Sphinx:                      /usr/bin/sphinx-build (ver 1.1.3)
    PdfLaTeX compiler:           /usr/bin/pdflatex

  Tests and samples:
    Tests:                       NO
    Performance tests:           YES
    Examples:                    YES

  Install path:                  /usr

  cvconfig.h is in:              /usr/src/packages/BUILD/opencv-2.4.1+dfsg/obj-arm-linux-gnueabihf
-----------------------------------------------------------------

0 件のコメント:

コメントを投稿