|
| 1 | +##安装OpenCV后验证 |
| 2 | + |
| 3 | +```python |
| 4 | +import cv2 |
| 5 | +print(cv2.getBuildInformation()) |
| 6 | +# |
| 7 | +''' |
| 8 | +General configuration for OpenCV 3.3.0 ===================================== |
| 9 | + Version control: 3.3.0 |
| 10 | + |
| 11 | + Platform: |
| 12 | + Timestamp: 2017年11月26日T11:05:49Z |
| 13 | + Host: Linux 4.4.38-tegra aarch64 |
| 14 | + CMake: 3.5.1 |
| 15 | + CMake generator: Unix Makefiles |
| 16 | + CMake build tool: /usr/bin/make |
| 17 | + Configuration: Release |
| 18 | + |
| 19 | + CPU/HW features: |
| 20 | + Baseline: NEON FP16 |
| 21 | + required: NEON |
| 22 | + disabled: VFPV3 |
| 23 | + |
| 24 | + C/C++: |
| 25 | + Built as dynamic libs?: YES |
| 26 | + C++ Compiler: /usr/bin/c++ (ver 5.4.0) |
| 27 | + C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG |
| 28 | + C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG |
| 29 | + C Compiler: /usr/bin/cc |
| 30 | + C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG |
| 31 | + C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG |
| 32 | + Linker flags (Release): |
| 33 | + Linker flags (Debug): |
| 34 | + ccache: NO |
| 35 | + Precompiled headers: NO |
| 36 | + Extra dependencies: gtk-x11-2.0 gdk-x11-2.0 pangocairo-1.0 atk-1.0 cairo gdk_pixbuf-2.0 gio-2.0 pangoft2-1.0 pango-1.0 fontconfig freetype gthread-2.0 /usr/lib/aarch64-linux-gnu/libwebp.so /usr/lib/aarch64-linux-gnu/libpng.so /usr/lib/aarch64-linux-gnu/libz.so /usr/lib/aarch64-linux-gnu/libtiff.so /usr/lib/aarch64-linux-gnu/libjasper.so /usr/lib/aarch64-linux-gnu/libjpeg.so gstbase-1.0 gstreamer-1.0 gobject-2.0 glib-2.0 gstvideo-1.0 gstapp-1.0 gstriff-1.0 gstpbutils-1.0 avcodec-ffmpeg avformat-ffmpeg avutil-ffmpeg swscale-ffmpeg dl m pthread rt /usr/lib/aarch64-linux-gnu/libtbb.so cudart nppc nppi npps cufft -L/usr/local/cuda-8.0/lib64 |
| 37 | + 3rdparty dependencies: |
| 38 | + |
| 39 | + OpenCV modules: |
| 40 | + To be built: cudev core cudaarithm flann imgproc ml objdetect video cudabgsegm cudafilters cudaimgproc cudawarping dnn imgcodecs photo shape videoio cudacodec highgui ts features2d calib3d cudafeatures2d cudalegacy cudaobjdetect cudaoptflow cudastereo stitching superres videostab python2 python3 |
| 41 | + Disabled: world |
| 42 | + Disabled by dependency: - |
| 43 | + Unavailable: java viz |
| 44 | + |
| 45 | + GUI: |
| 46 | + QT: NO |
| 47 | + GTK+ 2.x: YES (ver 2.24.30) |
| 48 | + GThread : YES (ver 2.48.1) |
| 49 | + GtkGlExt: NO |
| 50 | + OpenGL support: NO |
| 51 | + VTK support: NO |
| 52 | + |
| 53 | + Media I/O: |
| 54 | + ZLib: /usr/lib/aarch64-linux-gnu/libz.so (ver 1.2.8) |
| 55 | + JPEG: /usr/lib/aarch64-linux-gnu/libjpeg.so (ver ) |
| 56 | + WEBP: /usr/lib/aarch64-linux-gnu/libwebp.so (ver encoder: 0x0202) |
| 57 | + PNG: /usr/lib/aarch64-linux-gnu/libpng.so (ver 1.2.54) |
| 58 | + TIFF: /usr/lib/aarch64-linux-gnu/libtiff.so (ver 42 - 4.0.6) |
| 59 | + JPEG 2000: /usr/lib/aarch64-linux-gnu/libjasper.so (ver 1.900.1) |
| 60 | + OpenEXR: NO |
| 61 | + GDAL: NO |
| 62 | + GDCM: NO |
| 63 | + |
| 64 | + Video I/O: |
| 65 | + DC1394 1.x: NO |
| 66 | + DC1394 2.x: NO |
| 67 | + FFMPEG: YES |
| 68 | + avcodec: YES (ver 56.60.100) |
| 69 | + avformat: YES (ver 56.40.101) |
| 70 | + avutil: YES (ver 54.31.100) |
| 71 | + swscale: YES (ver 3.1.101) |
| 72 | + avresample: NO |
| 73 | + GStreamer: |
| 74 | + base: YES (ver 1.8.3) |
| 75 | + video: YES (ver 1.8.3) |
| 76 | + app: YES (ver 1.8.3) |
| 77 | + riff: YES (ver 1.8.3) |
| 78 | + pbutils: YES (ver 1.8.3) |
| 79 | + OpenNI: NO |
| 80 | + OpenNI PrimeSensor Modules: NO |
| 81 | + OpenNI2: NO |
| 82 | + PvAPI: NO |
| 83 | + GigEVisionSDK: NO |
| 84 | + Aravis SDK: NO |
| 85 | + UniCap: NO |
| 86 | + UniCap ucil: NO |
| 87 | + V4L/V4L2: NO/YES |
| 88 | + XIMEA: NO |
| 89 | + Xine: NO |
| 90 | + Intel Media SDK: NO |
| 91 | + gPhoto2: NO |
| 92 | + |
| 93 | + Parallel framework: TBB (ver 4.4 interface 9002) |
| 94 | + |
| 95 | + Trace: YES () |
| 96 | + |
| 97 | + Other third-party libraries: |
| 98 | + Use Intel IPP: NO |
| 99 | + Use Intel IPP IW: NO |
| 100 | + Use VA: NO |
| 101 | + Use Intel VA-API/OpenCL: NO |
| 102 | + Use Lapack: NO |
| 103 | + Use Eigen: YES (ver 3.2.92) |
| 104 | + Use Cuda: YES (ver 8.0) |
| 105 | + Use OpenCL: NO |
| 106 | + Use OpenVX: NO |
| 107 | + Use custom HAL: YES (carotene (ver 0.0.1)) |
| 108 | + |
| 109 | + NVIDIA CUDA |
| 110 | + Use CUFFT: YES |
| 111 | + Use CUBLAS: NO |
| 112 | + USE NVCUVID: NO |
| 113 | + NVIDIA GPU arch: 62 |
| 114 | + NVIDIA PTX archs: |
| 115 | + Use fast math: NO |
| 116 | + |
| 117 | + Python 2: |
| 118 | + Interpreter: /usr/bin/python2.7 (ver 2.7.12) |
| 119 | + Libraries: /usr/lib/aarch64-linux-gnu/libpython2.7.so (ver 2.7.12) |
| 120 | + numpy: /usr/lib/python2.7/dist-packages/numpy/core/include (ver 1.11.0) |
| 121 | + packages path: lib/python2.7/dist-packages |
| 122 | + |
| 123 | + Python 3: |
| 124 | + Interpreter: /usr/bin/python3 (ver 3.5.2) |
| 125 | + Libraries: /usr/lib/aarch64-linux-gnu/libpython3.5m.so (ver 3.5.2) |
| 126 | + numpy: /usr/lib/python3/dist-packages/numpy/core/include (ver 1.11.0) |
| 127 | + packages path: lib/python3.5/dist-packages |
| 128 | + |
| 129 | + Python (for build): /usr/bin/python2.7 |
| 130 | + |
| 131 | + Java: |
| 132 | + ant: NO |
| 133 | + JNI: NO |
| 134 | + Java wrappers: NO |
| 135 | + Java tests: NO |
| 136 | + |
| 137 | + Matlab: Matlab not found or implicitly disabled |
| 138 | + |
| 139 | + Documentation: |
| 140 | + Doxygen: NO |
| 141 | + |
| 142 | + Tests and samples: |
| 143 | + Tests: YES |
| 144 | + Performance tests: YES |
| 145 | + C/C++ Examples: YES |
| 146 | + |
| 147 | + Install path: /usr |
| 148 | + |
| 149 | + cvconfig.h is in: /home/nvidia/opencv/build |
| 150 | +----------------------------------------------------------------- |
| 151 | +''' |
| 152 | +``` |
0 commit comments