{"action":"closed","issue":{"url":"https://api.github.com/repos/opencv/opencv/issues/7581","repository_url":"https://api.github.com/repos/opencv/opencv","labels_url":"https://api.github.com/repos/opencv/opencv/issues/7581/labels{/name}","comments_url":"https://api.github.com/repos/opencv/opencv/issues/7581/comments","events_url":"https://api.github.com/repos/opencv/opencv/issues/7581/events","html_url":"https://github.com/opencv/opencv/issues/7581","id":186072194,"number":7581,"title":"HIGH GPU Memory Usage by OpenCV Python Module","user":{"login":"peterzcc","id":7450599,"avatar_url":"https://avatars.githubusercontent.com/u/7450599?v=3","gravatar_id":"","url":"https://api.github.com/users/peterzcc","html_url":"https://github.com/peterzcc","followers_url":"https://api.github.com/users/peterzcc/followers","following_url":"https://api.github.com/users/peterzcc/following{/other_user}","gists_url":"https://api.github.com/users/peterzcc/gists{/gist_id}","starred_url":"https://api.github.com/users/peterzcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterzcc/subscriptions","organizations_url":"https://api.github.com/users/peterzcc/orgs","repos_url":"https://api.github.com/users/peterzcc/repos","events_url":"https://api.github.com/users/peterzcc/events{/privacy}","received_events_url":"https://api.github.com/users/peterzcc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-29T10:52:03Z","updated_at":"2016-10-30T05:16:38Z","closed_at":"2016-10-30T05:16:38Z","body":"I found the OpenCV Python module occupies a lot of GPU memory (111MB) even if I only call simple functions like cv2.resize() and cv2.cvtColor.(). This become a huge problem because I need to run 16 subprocesses in parallel and they take several GB of GPU memory.\r\nI don't think I enabled the GPU options and please find below my cmake variables. Could anyone suggest how I could solve it? Thanks!\r\n\r\n\r\n```\r\nbash-4.2$ cmake -LAH\r\n\r\n-- Cache values\r\n// Path to a program.\r\nANT_EXECUTABLE:FILEPATH=/bin/ant\r\n\r\n// Build CUDA modules stubs when no CUDA SDK\r\nBUILD_CUDA_STUBS:BOOL=OFF\r\n\r\n// Create build rules for OpenCV Documentation\r\nBUILD_DOCS:BOOL=ON\r\n\r\n// Build all examples\r\nBUILD_EXAMPLES:BOOL=OFF\r\n\r\n// Build libjasper from source\r\nBUILD_JASPER:BOOL=OFF\r\n\r\n// Build libjpeg from source\r\nBUILD_JPEG:BOOL=OFF\r\n\r\n// Build openexr from source\r\nBUILD_OPENEXR:BOOL=OFF\r\n\r\n// Enables 'make package_source' command\r\nBUILD_PACKAGE:BOOL=ON\r\n\r\n// Build performance tests\r\nBUILD_PERF_TESTS:BOOL=ON\r\n\r\n// Build libpng from source\r\nBUILD_PNG:BOOL=OFF\r\n\r\n// Build shared libraries (.dll/.so) instead of static ones (.lib/.a)\r\nBUILD_SHARED_LIBS:BOOL=ON\r\n\r\n// Download and build TBB from source\r\nBUILD_TBB:BOOL=OFF\r\n\r\n// Build accuracy & regression tests\r\nBUILD_TESTS:BOOL=ON\r\n\r\n// Build libtiff from source\r\nBUILD_TIFF:BOOL=OFF\r\n\r\n// Include debug info into debug libs (not MSCV only)\r\nBUILD_WITH_DEBUG_INFO:BOOL=ON\r\n\r\n// Enables dynamic linking of IPP (only for standalone IPP)\r\nBUILD_WITH_DYNAMIC_IPP:BOOL=OFF\r\n\r\n// Build zlib from source\r\nBUILD_ZLIB:BOOL=OFF\r\n\r\n// Build utility applications (used for example to train classifiers)\r\nBUILD_opencv_apps:BOOL=ON\r\n\r\n// Include opencv_calib3d module into the OpenCV build\r\nBUILD_opencv_calib3d:BOOL=ON\r\n\r\n// Include opencv_core module into the OpenCV build\r\nBUILD_opencv_core:BOOL=ON\r\n\r\n// Include opencv_features2d module into the OpenCV build\r\nBUILD_opencv_features2d:BOOL=ON\r\n\r\n// Include opencv_flann module into the OpenCV build\r\nBUILD_opencv_flann:BOOL=ON\r\n\r\n// Include opencv_hal module into the OpenCV build\r\nBUILD_opencv_hal:BOOL=ON\r\n\r\n// Include opencv_highgui module into the OpenCV build\r\nBUILD_opencv_highgui:BOOL=ON\r\n\r\n// Include opencv_imgcodecs module into the OpenCV build\r\nBUILD_opencv_imgcodecs:BOOL=ON\r\n\r\n// Include opencv_imgproc module into the OpenCV build\r\nBUILD_opencv_imgproc:BOOL=ON\r\n\r\n// Include opencv_java module into the OpenCV build\r\nBUILD_opencv_java:BOOL=ON\r\n\r\n// Include opencv_ml module into the OpenCV build\r\nBUILD_opencv_ml:BOOL=ON\r\n\r\n// Include opencv_objdetect module into the OpenCV build\r\nBUILD_opencv_objdetect:BOOL=ON\r\n\r\n// Include opencv_photo module into the OpenCV build\r\nBUILD_opencv_photo:BOOL=ON\r\n\r\n// Include opencv_python2 module into the OpenCV build\r\nBUILD_opencv_python2:BOOL=OFF\r\n\r\n// Include opencv_python3 module into the OpenCV build\r\nBUILD_opencv_python3:BOOL=ON\r\n\r\n// Include opencv_shape module into the OpenCV build\r\nBUILD_opencv_shape:BOOL=ON\r\n\r\n// Include opencv_stitching module into the OpenCV build\r\nBUILD_opencv_stitching:BOOL=ON\r\n\r\n// Include opencv_superres module into the OpenCV build\r\nBUILD_opencv_superres:BOOL=ON\r\n\r\n// Include opencv_ts module into the OpenCV build\r\nBUILD_opencv_ts:BOOL=ON\r\n\r\n// Include opencv_video module into the OpenCV build\r\nBUILD_opencv_video:BOOL=ON\r\n\r\n// Include opencv_videoio module into the OpenCV build\r\nBUILD_opencv_videoio:BOOL=ON\r\n\r\n// Include opencv_videostab module into the OpenCV build\r\nBUILD_opencv_videostab:BOOL=ON\r\n\r\n// Include opencv_world module into the OpenCV build\r\nBUILD_opencv_world:BOOL=OFF\r\n\r\n// clAmdFft include directory\r\nCLAMDBLAS_INCLUDE_DIR:PATH=CLAMDBLAS_INCLUDE_DIR-NOTFOUND\r\n\r\n// AMD FFT root directory\r\nCLAMDBLAS_ROOT_DIR:PATH=CLAMDBLAS_ROOT_DIR-NOTFOUND\r\n\r\n// clAmdFft include directory\r\nCLAMDFFT_INCLUDE_DIR:PATH=CLAMDFFT_INCLUDE_DIR-NOTFOUND\r\n\r\n// AMD FFT root directory\r\nCLAMDFFT_ROOT_DIR:PATH=CLAMDFFT_ROOT_DIR-NOTFOUND\r\n\r\n// Path to a program.\r\nCMAKE_AR:FILEPATH=/usr/bin/ar\r\n\r\n// Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.\r\nCMAKE_BUILD_TYPE:STRING=RELEASE\r\n\r\n// Enable/Disable color output during build.\r\nCMAKE_COLOR_MAKEFILE:BOOL=ON\r\n\r\n// Configs\r\nCMAKE_CONFIGURATION_TYPES:STRING=Debug;Release\r\n\r\n// CXX compiler.\r\nCMAKE_CXX_COMPILER:FILEPATH=/usr/local/bin/g++4\r\n\r\n// Flags used by the compiler during all build types.\r\nCMAKE_CXX_FLAGS:STRING=\r\n\r\n// Flags used by the compiler during debug builds.\r\nCMAKE_CXX_FLAGS_DEBUG:STRING=-g\r\n\r\n// Flags used by the compiler during release builds for minimum size.\r\nCMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG\r\n\r\n// Flags used by the compiler during release builds.\r\nCMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG\r\n\r\n// Flags used by the compiler during release builds with debug info.\r\nCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG\r\n\r\n// C compiler.\r\nCMAKE_C_COMPILER:FILEPATH=/usr/local/bin/gcc4\r\n\r\n// Flags used by the compiler during all build types.\r\nCMAKE_C_FLAGS:STRING=\r\n\r\n// Flags used by the compiler during debug builds.\r\nCMAKE_C_FLAGS_DEBUG:STRING=-g\r\n\r\n// Flags used by the compiler during release builds for minimum size.\r\nCMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG\r\n\r\n// Flags used by the compiler during release builds.\r\nCMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG\r\n\r\n// Flags used by the compiler during release builds with debug info.\r\nCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG\r\n\r\n// Flags used by the linker.\r\nCMAKE_EXE_LINKER_FLAGS:STRING= \r\n\r\n// Flags used by the linker during debug builds.\r\nCMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=\r\n\r\n// Flags used by the linker during release minsize builds.\r\nCMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=\r\n\r\n// Flags used by the linker during release builds.\r\nCMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=\r\n\r\n// Flags used by the linker during Release with Debug Info builds.\r\nCMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=\r\n\r\n// Enable/Disable output of compile commands during generation.\r\nCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF\r\n\r\n// Installation Directory\r\nCMAKE_INSTALL_PREFIX:PATH=/home/data/czeng/env/opencv-3\r\n\r\n// Path to a program.\r\nCMAKE_LINKER:FILEPATH=/usr/bin/ld\r\n\r\n// Path to a program.\r\nCMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake\r\n\r\n// Flags used by the linker during the creation of modules.\r\nCMAKE_MODULE_LINKER_FLAGS:STRING= \r\n\r\n// Flags used by the linker during debug builds.\r\nCMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=\r\n\r\n// Flags used by the linker during release minsize builds.\r\nCMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=\r\n\r\n// Flags used by the linker during release builds.\r\nCMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=\r\n\r\n// Flags used by the linker during Release with Debug Info builds.\r\nCMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=\r\n\r\n// Path to a program.\r\nCMAKE_NM:FILEPATH=/usr/bin/nm\r\n\r\n// Path to a program.\r\nCMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy\r\n\r\n// Path to a program.\r\nCMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump\r\n\r\n// Path to a program.\r\nCMAKE_RANLIB:FILEPATH=/usr/bin/ranlib\r\n\r\n// Flags used by the linker during the creation of dll's.\r\nCMAKE_SHARED_LINKER_FLAGS:STRING= \r\n\r\n// Flags used by the linker during debug builds.\r\nCMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=\r\n\r\n// Flags used by the linker during release minsize builds.\r\nCMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=\r\n\r\n// Flags used by the linker during release builds.\r\nCMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=\r\n\r\n// Flags used by the linker during Release with Debug Info builds.\r\nCMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=\r\n\r\n// If set, runtime paths are not added when installing shared libraries, but are added when building.\r\nCMAKE_SKIP_INSTALL_RPATH:BOOL=NO\r\n\r\n// If set, runtime paths are not added when using shared libraries.\r\nCMAKE_SKIP_RPATH:BOOL=NO\r\n\r\n// Flags used by the linker during the creation of static libraries.\r\nCMAKE_STATIC_LINKER_FLAGS:STRING=\r\n\r\n// Flags used by the linker during debug builds.\r\nCMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=\r\n\r\n// Flags used by the linker during release minsize builds.\r\nCMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=\r\n\r\n// Flags used by the linker during release builds.\r\nCMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=\r\n\r\n// Flags used by the linker during Release with Debug Info builds.\r\nCMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=\r\n\r\n// Path to a program.\r\nCMAKE_STRIP:FILEPATH=/usr/bin/strip\r\n\r\n// If true, cmake will use relative paths in makefiles and projects.\r\nCMAKE_USE_RELATIVE_PATHS:BOOL=OFF\r\n\r\n// If this value is on, makefiles will be generated without the .SILENT directive, and all commands will be echoed to the console during the make.  This is useful for debugging only. With Visual Studio IDE projects all commands are done without /nologo.\r\nCMAKE_VERBOSE_MAKEFILE:BOOL=FALSE\r\n\r\n// Enable to build Debian packages\r\nCPACK_BINARY_DEB:BOOL=OFF\r\n\r\n// Enable to build NSIS packages\r\nCPACK_BINARY_NSIS:BOOL=OFF\r\n\r\n// Enable to build RPM packages\r\nCPACK_BINARY_RPM:BOOL=OFF\r\n\r\n// Enable to build STGZ packages\r\nCPACK_BINARY_STGZ:BOOL=ON\r\n\r\n// Enable to build TBZ2 packages\r\nCPACK_BINARY_TBZ2:BOOL=OFF\r\n\r\n// Enable to build TGZ packages\r\nCPACK_BINARY_TGZ:BOOL=ON\r\n\r\n// Enable to build TZ packages\r\nCPACK_BINARY_TZ:BOOL=ON\r\n\r\n// Enable to build TBZ2 source packages\r\nCPACK_SOURCE_TBZ2:BOOL=ON\r\n\r\n// Enable to build TGZ source packages\r\nCPACK_SOURCE_TGZ:BOOL=ON\r\n\r\n// Enable to build TZ source packages\r\nCPACK_SOURCE_TZ:BOOL=ON\r\n\r\n// Enable to build ZIP source packages\r\nCPACK_SOURCE_ZIP:BOOL=OFF\r\n\r\n// Graphviz Dot tool for using Doxygen\r\nDOXYGEN_DOT_EXECUTABLE:FILEPATH=DOXYGEN_DOT_EXECUTABLE-NOTFOUND\r\n\r\n// Doxygen documentation generation tool (http://www.doxygen.org)\r\nDOXYGEN_EXECUTABLE:FILEPATH=/usr/local/bin/doxygen\r\n\r\n// The path to Eigen3/Eigen2 headers\r\nEIGEN_INCLUDE_PATH:PATH=EIGEN_INCLUDE_PATH-NOTFOUND\r\n\r\n// Enable AVX instructions\r\nENABLE_AVX:BOOL=OFF\r\n\r\n// Enable AVX2 instructions\r\nENABLE_AVX2:BOOL=OFF\r\n\r\n// Enable coverage collection with  GCov\r\nENABLE_COVERAGE:BOOL=OFF\r\n\r\n// Enable -ffast-math (not recommended for GCC 4.6.x)\r\nENABLE_FAST_MATH:BOOL=OFF\r\n\r\n// Enable FMA3 instructions\r\nENABLE_FMA3:BOOL=OFF\r\n\r\n// Collect implementation data on function call\r\nENABLE_IMPL_COLLECTION:BOOL=OFF\r\n\r\n// Show all warnings even if they are too noisy\r\nENABLE_NOISY_WARNINGS:BOOL=OFF\r\n\r\n// Enable -fomit-frame-pointer for GCC\r\nENABLE_OMIT_FRAME_POINTER:BOOL=ON\r\n\r\n// Enable POPCNT instructions\r\nENABLE_POPCNT:BOOL=OFF\r\n\r\n// Use precompiled headers\r\nENABLE_PRECOMPILED_HEADERS:BOOL=ON\r\n\r\n// Enable profiling in the GCC compiler (Add flags: -g -pg)\r\nENABLE_PROFILING:BOOL=OFF\r\n\r\n// Solution folder in Visual Studio or in other IDEs\r\nENABLE_SOLUTION_FOLDERS:BOOL=OFF\r\n\r\n// Enable SSE instructions\r\nENABLE_SSE:BOOL=ON\r\n\r\n// Enable SSE2 instructions\r\nENABLE_SSE2:BOOL=ON\r\n\r\n// Enable SSE3 instructions\r\nENABLE_SSE3:BOOL=ON\r\n\r\n// Enable SSE4.1 instructions\r\nENABLE_SSE41:BOOL=OFF\r\n\r\n// Enable SSE4.2 instructions\r\nENABLE_SSE42:BOOL=OFF\r\n\r\n// Enable SSSE3 instructions\r\nENABLE_SSSE3:BOOL=OFF\r\n\r\n// Output directory for applications\r\nEXECUTABLE_OUTPUT_PATH:PATH=/home/data/czeng/downloads/opencv-3.0.0/build/bin\r\n\r\n// The path to FFMPEG headers\r\nFFMPEG_INCLUDE_DIR:PATH=FFMPEG_INCLUDE_DIR-NOTFOUND\r\n\r\n// Generate XML file for abi_compliance_checker tool\r\nGENERATE_ABI_DESCRIPTOR:BOOL=OFF\r\n\r\n// The path to Smartek GigEVisionSDK header\r\nGIGEAPI_INCLUDE_PATH:PATH=GIGEAPI_INCLUDE_PATH-NOTFOUND\r\n\r\n// Path to a library.\r\nGIGEAPI_LIBRARIES:FILEPATH=GIGEAPI_LIBRARIES-NOTFOUND\r\n\r\n// git command line client\r\nGIT_EXECUTABLE:FILEPATH=/usr/local/bin/git\r\n\r\n// Change install rules to build the distribution package\r\nINSTALL_CREATE_DISTRIB:BOOL=OFF\r\n\r\n// Install C examples\r\nINSTALL_C_EXAMPLES:BOOL=OFF\r\n\r\n// Install Python examples\r\nINSTALL_PYTHON_EXAMPLES:BOOL=OFF\r\n\r\n// Install accuracy and performance test binaries and test data\r\nINSTALL_TESTS:BOOL=OFF\r\n\r\n// Enables mangled install paths, that help with side by side installs.\r\nINSTALL_TO_MANGLED_PATHS:BOOL=OFF\r\n\r\n// Path to a library.\r\nJASPER_LIBRARY_DEBUG:FILEPATH=JASPER_LIBRARY_DEBUG-NOTFOUND\r\n\r\n// Path to a library.\r\nJASPER_LIBRARY_RELEASE:FILEPATH=JASPER_LIBRARY_RELEASE-NOTFOUND\r\n\r\n// Path to a file.\r\nJAVA_AWT_INCLUDE_PATH:PATH=/usr/lib/jvm/java/include\r\n\r\n// Path to a library.\r\nJAVA_AWT_LIBRARY:FILEPATH=/usr/lib/jvm/jre/lib/amd64/libjawt.so\r\n\r\n// Path to a file.\r\nJAVA_INCLUDE_PATH:PATH=/usr/lib/jvm/java/include\r\n\r\n// Path to a file.\r\nJAVA_INCLUDE_PATH2:PATH=/usr/lib/jvm/java/include/linux\r\n\r\n// Path to a library.\r\nJAVA_JVM_LIBRARY:FILEPATH=/usr/lib/jvm/jre/lib/amd64/server/libjvm.so\r\n\r\n// Path to a file.\r\nJPEG_INCLUDE_DIR:PATH=/usr/local/include\r\n\r\n// Path to a library.\r\nJPEG_LIBRARY:FILEPATH=/lib64/libjpeg.so\r\n\r\n// Where to create the platform-dependant cvconfig.h\r\nOPENCV_CONFIG_FILE_INCLUDE_DIR:PATH=/home/data/czeng/downloads/opencv-3.0.0/build\r\n\r\n// Where to look for additional OpenCV modules\r\nOPENCV_EXTRA_MODULES_PATH:PATH=\r\n\r\n// Treat warnings as errors\r\nOPENCV_WARNINGS_ARE_ERRORS:BOOL=OFF\r\n\r\n// Path to a library.\r\nOPENEXR_HALF_LIBRARY:FILEPATH=OPENEXR_HALF_LIBRARY-NOTFOUND\r\n\r\n// Path to a library.\r\nOPENEXR_IEX_LIBRARY:FILEPATH=OPENEXR_IEX_LIBRARY-NOTFOUND\r\n\r\n// Path to a library.\r\nOPENEXR_ILMTHREAD_LIBRARY:FILEPATH=OPENEXR_ILMTHREAD_LIBRARY-NOTFOUND\r\n\r\n// Path to a library.\r\nOPENEXR_IMATH_LIBRARY:FILEPATH=OPENEXR_IMATH_LIBRARY-NOTFOUND\r\n\r\n// Path to a file.\r\nOPENEXR_INCLUDE_PATH:PATH=OPENEXR_INCLUDE_PATH-NOTFOUND\r\n\r\n// pkg-config executable\r\nPKG_CONFIG_EXECUTABLE:FILEPATH=/usr/bin/pkg-config\r\n\r\n// Path to a library.\r\nPNG_LIBRARY_DEBUG:FILEPATH=PNG_LIBRARY_DEBUG-NOTFOUND\r\n\r\n// Path to a library.\r\nPNG_LIBRARY_RELEASE:FILEPATH=/lib64/libpng.so\r\n\r\n// Path to a file.\r\nPNG_PNG_INCLUDE_DIR:PATH=/usr/local/include\r\n\r\n// The path to PvAPI header\r\nPVAPI_INCLUDE_PATH:PATH=PVAPI_INCLUDE_PATH-NOTFOUND\r\n\r\n// Path to Python interpretor\r\nPYTHON2_EXECUTABLE:FILEPATH=/usr/local/bin/python2.7\r\n\r\n// Python include dir\r\nPYTHON2_INCLUDE_DIR:PATH=/usr/local/include/python2.7\r\n\r\n// Python include dir 2\r\nPYTHON2_INCLUDE_DIR2:PATH=\r\n\r\n// Path to Python library\r\nPYTHON2_LIBRARY:FILEPATH=/lib64/libpython2.7.so\r\n\r\n// Path to Python debug\r\nPYTHON2_LIBRARY_DEBUG:FILEPATH=\r\n\r\n// Path to numpy headers\r\nPYTHON2_NUMPY_INCLUDE_DIRS:PATH=/usr/local/lib/site_python2/numpy/core/include\r\n\r\n// Where to install the python packages.\r\nPYTHON2_PACKAGES_PATH:PATH=lib/python2.7/site-packages\r\n\r\n// Path to Python interpretor\r\nPYTHON3_EXECUTABLE:FILEPATH=/home/data/czeng/env/bin/python3\r\n\r\n// Python include dir\r\nPYTHON3_INCLUDE_DIR:PATH=/usr/local/software/python-3.5.2/include/python3.5m\r\n\r\n// Python include dir 2\r\nPYTHON3_INCLUDE_DIR2:PATH=\r\n\r\n// Path to Python library\r\nPYTHON3_LIBRARY:FILEPATH=/usr/local/lib/libpython3.5m.so\r\n\r\n// Path to Python debug\r\nPYTHON3_LIBRARY_DEBUG:FILEPATH=\r\n\r\n// Path to numpy headers\r\nPYTHON3_NUMPY_INCLUDE_DIRS:PATH=/usr/local/lib/site_python3/numpy/core/include\r\n\r\n// Where to install the python packages.\r\nPYTHON3_PACKAGES_PATH:PATH=/home/data/czeng/env/lib/python3.5/site-packages\r\n\r\n// The directory containing a CMake configuration file for VTK.\r\nVTK_DIR:PATH=VTK_DIR-NOTFOUND\r\n\r\n// Path to a file.\r\nWEBP_INCLUDE_DIR:PATH=WEBP_INCLUDE_DIR-NOTFOUND\r\n\r\n// Include IEEE1394 support\r\nWITH_1394:BOOL=ON\r\n\r\n// Include Clp support (EPL)\r\nWITH_CLP:BOOL=OFF\r\n\r\n// Include NVidia Cuda Basic Linear Algebra Subprograms (BLAS) library support\r\nWITH_CUBLAS:BOOL=OFF\r\n\r\n// Include NVidia Cuda Runtime support\r\nWITH_CUDA:BOOL=OFF\r\n\r\n// Include NVidia Cuda Fast Fourier Transform (FFT) library support\r\nWITH_CUFFT:BOOL=ON\r\n\r\n// Include Eigen2/Eigen3 support\r\nWITH_EIGEN:BOOL=ON\r\n\r\n// Include FFMPEG support\r\nWITH_FFMPEG:BOOL=ON\r\n\r\n// Include GDAL Support\r\nWITH_GDAL:BOOL=OFF\r\n\r\n// Include Smartek GigE support\r\nWITH_GIGEAPI:BOOL=ON\r\n\r\n// Include gPhoto2 library support\r\nWITH_GPHOTO2:BOOL=ON\r\n\r\n// Include Gstreamer support\r\nWITH_GSTREAMER:BOOL=ON\r\n\r\n// Enable Gstreamer 0.10 support (instead of 1.x)\r\nWITH_GSTREAMER_0_10:BOOL=OFF\r\n\r\n// Include GTK support\r\nWITH_GTK:BOOL=ON\r\n\r\n// Use GTK version 2\r\nWITH_GTK_2_X:BOOL=OFF\r\n\r\n// Include Intel IPP support\r\nWITH_IPP:BOOL=OFF\r\n\r\n// Include Intel IPP_A support\r\nWITH_IPP_A:BOOL=OFF\r\n\r\n// Include JPEG2K support\r\nWITH_JASPER:BOOL=ON\r\n\r\n// Include JPEG support\r\nWITH_JPEG:BOOL=ON\r\n\r\n// Use libv4l for Video 4 Linux support\r\nWITH_LIBV4L:BOOL=ON\r\n\r\n// Include NVidia Video Decoding library support\r\nWITH_NVCUVID:BOOL=OFF\r\n\r\n// Include OpenCL Runtime support\r\nWITH_OPENCL:BOOL=ON\r\n\r\n// Include AMD OpenCL BLAS library support\r\nWITH_OPENCLAMDBLAS:BOOL=ON\r\n\r\n// Include AMD OpenCL FFT library support\r\nWITH_OPENCLAMDFFT:BOOL=ON\r\n\r\n// Include OpenCL Shared Virtual Memory support\r\nWITH_OPENCL_SVM:BOOL=OFF\r\n\r\n// Include ILM support via OpenEXR\r\nWITH_OPENEXR:BOOL=ON\r\n\r\n// Include OpenGL support\r\nWITH_OPENGL:BOOL=OFF\r\n\r\n// Include OpenMP support\r\nWITH_OPENMP:BOOL=OFF\r\n\r\n// Include OpenNI support\r\nWITH_OPENNI:BOOL=OFF\r\n\r\n// Include OpenNI2 support\r\nWITH_OPENNI2:BOOL=OFF\r\n\r\n// Include PNG support\r\nWITH_PNG:BOOL=ON\r\n\r\n// Use pthreads-based parallel_for\r\nWITH_PTHREADS_PF:BOOL=OFF\r\n\r\n// Include Prosilica GigE support\r\nWITH_PVAPI:BOOL=ON\r\n\r\n// Build with Qt Backend support\r\nWITH_QT:BOOL=OFF\r\n\r\n// Include Intel TBB support\r\nWITH_TBB:BOOL=OFF\r\n\r\n// Include TIFF support\r\nWITH_TIFF:BOOL=OFF\r\n\r\n// Include Unicap support (GPL)\r\nWITH_UNICAP:BOOL=OFF\r\n\r\n// Include Video 4 Linux support\r\nWITH_V4L:BOOL=ON\r\n\r\n// Include VTK library support (and build opencv_viz module eiher)\r\nWITH_VTK:BOOL=ON\r\n\r\n// Include WebP support\r\nWITH_WEBP:BOOL=ON\r\n\r\n// Include XIMEA cameras support\r\nWITH_XIMEA:BOOL=OFF\r\n\r\n// Include Xine support (GPL)\r\nWITH_XINE:BOOL=OFF\r\n\r\n// Path to a file.\r\nZLIB_INCLUDE_DIR:PATH=/usr/include\r\n\r\n// Path to a library.\r\nZLIB_LIBRARY:FILEPATH=/lib64/libz.so\r\n\r\n```\r\n"}}
{"actor":{"display_login":"peterzcc"}}