2012-07-16 23:37:30 +02:00
|
|
|
menuconfig BR2_PACKAGE_OPENCV
|
2011-10-20 19:09:18 +02:00
|
|
|
bool "opencv"
|
|
|
|
select BR2_PACKAGE_ZLIB
|
2014-07-18 10:07:26 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
2011-10-20 19:09:18 +02:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
|
depends on BR2_USE_WCHAR
|
2015-06-25 21:59:43 +02:00
|
|
|
depends on !BR2_STATIC_LIBS # include dlfcn.h
|
2011-10-20 19:09:18 +02:00
|
|
|
help
|
|
|
|
OpenCV (Open Source Computer Vision) is a library of programming
|
|
|
|
functions for real time computer vision.
|
|
|
|
|
2015-06-25 21:59:43 +02:00
|
|
|
Note that the opencv_core module and the opencv_hal library
|
|
|
|
are always built and installed, not matter which other
|
|
|
|
modules are enabled below.
|
|
|
|
|
2014-04-23 01:15:39 +02:00
|
|
|
http://opencv.org/
|
2011-10-20 19:09:18 +02:00
|
|
|
|
|
|
|
if BR2_PACKAGE_OPENCV
|
|
|
|
|
2012-07-16 23:37:30 +02:00
|
|
|
comment "OpenCV modules"
|
2011-10-20 19:09:18 +02:00
|
|
|
|
2012-07-16 23:37:30 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_LIB_CALIB3D
|
|
|
|
bool "calib3d"
|
2015-06-25 21:59:45 +02:00
|
|
|
select BR2_PACKAGE_OPENCV_LIB_FEATURES2D
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
2011-10-20 19:09:18 +02:00
|
|
|
help
|
2015-06-25 21:59:46 +02:00
|
|
|
Include opencv_calib3d (camera calibration and 3d reconstruction) module
|
|
|
|
into the OpenCV build.
|
2011-10-20 19:09:18 +02:00
|
|
|
|
2012-07-16 23:37:30 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_LIB_FEATURES2D
|
|
|
|
bool "features2d"
|
2015-06-25 21:59:45 +02:00
|
|
|
select BR2_PACKAGE_OPENCV_LIB_FLANN
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_ML
|
2012-07-16 23:37:30 +02:00
|
|
|
help
|
2015-06-25 21:59:46 +02:00
|
|
|
Include opencv_features2d (2d features framework) module into the OpenCV
|
|
|
|
build.
|
2012-07-16 23:37:30 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_FLANN
|
|
|
|
bool "flann"
|
2015-06-25 21:59:45 +02:00
|
|
|
# opencv_core dependency is already enabled
|
2012-07-16 23:37:30 +02:00
|
|
|
help
|
2015-06-25 21:59:46 +02:00
|
|
|
Include opencv_flann (clustering and search in multi-dimensional spaces)
|
|
|
|
module into the OpenCV build.
|
2012-07-16 23:37:30 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
|
|
|
bool "highgui"
|
2015-06-25 21:59:45 +02:00
|
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGCODECS
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_VIDEOIO
|
2012-07-16 23:37:30 +02:00
|
|
|
help
|
2015-06-25 21:59:46 +02:00
|
|
|
Include opencv_highgui (high-level gui and media i/o) module into the
|
|
|
|
OpenCV build.
|
2012-07-16 23:37:30 +02:00
|
|
|
|
2015-06-25 21:59:43 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_LIB_IMGCODECS
|
|
|
|
bool "imgcodecs"
|
2015-06-25 21:59:45 +02:00
|
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
2012-07-16 23:37:30 +02:00
|
|
|
help
|
2015-06-25 21:59:46 +02:00
|
|
|
Include opencv_imgcodecs (image codecs) module into the OpenCV build.
|
2012-07-16 23:37:30 +02:00
|
|
|
|
2015-06-25 21:59:43 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
|
|
|
bool "imgproc"
|
2015-06-25 21:59:45 +02:00
|
|
|
# opencv_core dependency is already enabled
|
2012-07-16 23:37:30 +02:00
|
|
|
help
|
2015-06-25 21:59:46 +02:00
|
|
|
Include opencv_imgproc (image processing) module into the OpenCV build.
|
2012-07-16 23:37:30 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_ML
|
2015-06-25 21:59:43 +02:00
|
|
|
bool "ml"
|
2015-06-25 21:59:45 +02:00
|
|
|
# opencv_core dependency is already enabled
|
2012-07-16 23:37:30 +02:00
|
|
|
help
|
2015-06-25 21:59:46 +02:00
|
|
|
Include opencv_ml (machine learning) module into the OpenCV build.
|
2012-07-16 23:37:30 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_OBJDETECT
|
|
|
|
bool "objdetect"
|
2015-06-25 21:59:45 +02:00
|
|
|
# opencv_core dependency is already enabled
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_ML
|
2012-07-16 23:37:30 +02:00
|
|
|
help
|
2015-06-25 21:59:46 +02:00
|
|
|
Include opencv_objdetect (object detection) module into the OpenCV build.
|
2012-07-16 23:37:30 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_PHOTO
|
|
|
|
bool "photo"
|
2015-06-25 21:59:45 +02:00
|
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
2012-07-16 23:37:30 +02:00
|
|
|
help
|
2015-06-25 21:59:46 +02:00
|
|
|
Include opencv_photo (computational photography) module into the OpenCV
|
|
|
|
build.
|
2011-10-20 19:09:18 +02:00
|
|
|
|
2015-06-25 21:59:49 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_LIB_PYTHON
|
|
|
|
bool "python"
|
|
|
|
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
|
|
|
|
depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 \
|
|
|
|
|| BR2_mips || BR2_mipsel || BR2_powerpc || BR2_powerpc64 \
|
|
|
|
|| BR2_sh || BR2_x86_64 # python-numpy
|
|
|
|
depends on !BR2_TOOLCHAIN_USES_UCLIBC || BR2_i386 || BR2_x86_64 # python-numpy
|
|
|
|
select BR2_PACKAGE_PYTHON_NUMPY
|
|
|
|
help
|
|
|
|
Include opencv_python module into the OpenCV build.
|
|
|
|
No python example is installed.
|
2012-07-16 23:37:30 +02:00
|
|
|
|
2015-06-25 21:59:43 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_LIB_SHAPE
|
2015-06-25 21:59:46 +02:00
|
|
|
bool "shape"
|
2015-06-25 21:59:45 +02:00
|
|
|
# opencv_core dependency is already enabled
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_VIDEO
|
2015-06-25 21:59:43 +02:00
|
|
|
help
|
2015-06-25 21:59:46 +02:00
|
|
|
Include opencv_shape (shape descriptors and matchers) module into the
|
|
|
|
OpenCV build.
|
2015-06-25 21:59:43 +02:00
|
|
|
|
2012-07-16 23:37:30 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_LIB_STITCHING
|
|
|
|
bool "stitching"
|
2015-06-25 21:59:45 +02:00
|
|
|
select BR2_PACKAGE_OPENCV_LIB_CALIB3D
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_FEATURES2D
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_OBJDETECT
|
2012-07-16 23:37:30 +02:00
|
|
|
help
|
2015-06-25 21:59:46 +02:00
|
|
|
Include opencv_stitching (images stitching) module into the OpenCV build.
|
2012-07-16 23:37:30 +02:00
|
|
|
|
2014-04-23 01:15:44 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_LIB_SUPERRES
|
|
|
|
bool "superres"
|
2015-06-25 21:59:45 +02:00
|
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_VIDEO
|
2014-04-23 01:15:44 +02:00
|
|
|
help
|
2015-06-25 21:59:46 +02:00
|
|
|
Include opencv_superres (super resolution) module into the OpenCV build.
|
2014-04-23 01:15:44 +02:00
|
|
|
|
2012-07-16 23:37:30 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_LIB_TS
|
2015-06-25 21:59:46 +02:00
|
|
|
bool "ts"
|
2015-06-25 21:59:45 +02:00
|
|
|
# opencv_core dependency is already enabled
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGCODECS
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_VIDEOIO
|
2012-07-16 23:37:30 +02:00
|
|
|
help
|
2015-06-25 21:59:46 +02:00
|
|
|
Include opencv_ts (test) module into the OpenCV build.
|
2012-07-16 23:37:30 +02:00
|
|
|
|
2015-06-25 21:59:43 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_LIB_VIDEOIO
|
2015-06-25 21:59:46 +02:00
|
|
|
bool "videoio"
|
2015-06-25 21:59:45 +02:00
|
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGCODECS
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
2015-06-25 21:59:43 +02:00
|
|
|
help
|
2015-06-25 21:59:46 +02:00
|
|
|
Include opencv_videoio (media i/o) module into the OpenCV build.
|
2015-06-25 21:59:43 +02:00
|
|
|
|
2012-07-16 23:37:30 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_LIB_VIDEO
|
|
|
|
bool "video"
|
2015-06-25 21:59:45 +02:00
|
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
2012-07-16 23:37:30 +02:00
|
|
|
help
|
2015-06-25 21:59:46 +02:00
|
|
|
Include opencv_video (video analysis) module into the OpenCV build.
|
2012-07-16 23:37:30 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_VIDEOSTAB
|
|
|
|
bool "videostab"
|
2015-06-25 21:59:45 +02:00
|
|
|
select BR2_PACKAGE_OPENCV_LIB_CALIB3D
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_FEATURES2D
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_PHOTO
|
|
|
|
select BR2_PACKAGE_OPENCV_LIB_VIDEO
|
2012-07-16 23:37:30 +02:00
|
|
|
help
|
2015-06-25 21:59:46 +02:00
|
|
|
Include opencv_videostab (video stabilization) module into the OpenCV
|
|
|
|
build.
|
2012-07-16 23:37:30 +02:00
|
|
|
|
|
|
|
comment "Test sets"
|
|
|
|
config BR2_PACKAGE_OPENCV_BUILD_TESTS
|
|
|
|
bool "build tests"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_BUILD_PERF_TESTS
|
|
|
|
bool "build performance tests"
|
|
|
|
|
|
|
|
comment "3rd party support"
|
2011-10-20 19:09:18 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_WITH_FFMPEG
|
|
|
|
bool "ffmpeg support"
|
2012-07-16 23:37:30 +02:00
|
|
|
select BR2_PACKAGE_BZIP2
|
2011-10-20 19:09:18 +02:00
|
|
|
select BR2_PACKAGE_FFMPEG
|
|
|
|
select BR2_PACKAGE_FFMPEG_SWSCALE
|
|
|
|
help
|
|
|
|
Use ffmpeg from the target system.
|
|
|
|
|
2015-07-05 11:40:23 +02:00
|
|
|
choice
|
|
|
|
prompt "gstreamer support"
|
2015-07-05 11:40:24 +02:00
|
|
|
help
|
|
|
|
OpenCV prefers gstreamer-1 over gstreamer-0.10.
|
2015-07-05 11:40:23 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_WITHOUT_GSTREAMER
|
|
|
|
bool "none"
|
|
|
|
|
2011-10-20 19:09:18 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_WITH_GSTREAMER
|
2015-07-05 11:40:23 +02:00
|
|
|
bool "gstreamer-0.10"
|
2014-02-20 14:34:12 +01:00
|
|
|
depends on BR2_USE_MMU # gstreamer -> libglib2
|
2014-02-06 23:14:40 +01:00
|
|
|
depends on BR2_USE_WCHAR # gstreamer -> libglib2
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # gstreamer -> libglib2
|
2011-10-20 19:09:18 +02:00
|
|
|
select BR2_PACKAGE_GSTREAMER
|
|
|
|
select BR2_PACKAGE_GST_PLUGINS_BASE
|
|
|
|
select BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP
|
|
|
|
|
2015-07-05 11:40:23 +02:00
|
|
|
comment "gstreamer-0.10 support needs a toolchain w/ wchar, threads"
|
2014-02-20 14:34:12 +01:00
|
|
|
depends on BR2_USE_MMU
|
2014-02-06 23:14:40 +01:00
|
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
|
2015-07-05 11:40:24 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_WITH_GSTREAMER1
|
|
|
|
bool "gstreamer-1.x"
|
|
|
|
depends on BR2_USE_MMU # gstreamer1 -> libglib2
|
|
|
|
depends on BR2_USE_WCHAR # gstreamer1 -> libglib2
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # gstreamer1 -> libglib2
|
|
|
|
select BR2_PACKAGE_GSTREAMER1
|
|
|
|
select BR2_PACKAGE_GST1_PLUGINS_BASE
|
|
|
|
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
|
|
|
|
|
|
|
|
comment "gstreamer-1.x support needs a toolchain w/ wchar, threads"
|
|
|
|
depends on BR2_USE_MMU
|
|
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
|
2015-07-05 11:40:23 +02:00
|
|
|
endchoice
|
|
|
|
|
2011-10-20 19:09:18 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_WITH_GTK
|
|
|
|
bool "gtk support"
|
2013-08-12 14:12:03 +02:00
|
|
|
depends on BR2_PACKAGE_XORG7
|
2014-02-06 23:14:40 +01:00
|
|
|
depends on BR2_USE_WCHAR # libgtk2 -> libglib2
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2 -> libglib2
|
2012-07-16 23:37:30 +02:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2014-02-23 23:58:08 +01:00
|
|
|
depends on BR2_USE_MMU # libgtk2 -> glib2
|
2015-02-04 01:34:14 +01:00
|
|
|
depends on BR2_ARCH_HAS_ATOMICS # libgtk2 -> cairo
|
2014-07-19 20:35:42 +02:00
|
|
|
depends on BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
2012-07-16 23:37:30 +02:00
|
|
|
select BR2_PACKAGE_LIBGTK2
|
2011-10-20 19:09:18 +02:00
|
|
|
|
2014-04-23 01:15:50 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_WITH_JASPER
|
|
|
|
bool "jpeg2000 support"
|
|
|
|
select BR2_PACKAGE_JASPER
|
|
|
|
help
|
|
|
|
Enable jpeg2000 support.
|
|
|
|
|
|
|
|
Note: this does not use the libjasper bundled with opencv,
|
|
|
|
but uses the libjasper package installed system-wide by
|
|
|
|
Buildroot.
|
|
|
|
|
2011-10-20 19:09:18 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_WITH_JPEG
|
|
|
|
bool "jpeg support"
|
|
|
|
select BR2_PACKAGE_JPEG
|
|
|
|
help
|
|
|
|
Use shared libjpeg from the target system.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_WITH_PNG
|
|
|
|
bool "png support"
|
|
|
|
select BR2_PACKAGE_LIBPNG
|
|
|
|
help
|
|
|
|
Use shared libpng from the target system.
|
|
|
|
|
2012-07-16 23:37:30 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_WITH_QT
|
|
|
|
bool "qt backend support"
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2014-02-23 18:04:08 +01:00
|
|
|
depends on BR2_USE_MMU # qt
|
2014-07-19 20:35:42 +02:00
|
|
|
depends on BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
2012-07-16 23:37:30 +02:00
|
|
|
select BR2_PACKAGE_QT
|
|
|
|
select BR2_PACKAGE_QT_STL
|
2014-07-19 20:35:42 +02:00
|
|
|
select BR2_PACKAGE_QT_GUI_MODULE
|
|
|
|
select BR2_PACKAGE_QT_TEST
|
2012-07-16 23:37:30 +02:00
|
|
|
help
|
2014-04-23 01:15:34 +02:00
|
|
|
Use Qt with QtTest module and STL support
|
2012-07-16 23:37:30 +02:00
|
|
|
|
2011-10-20 19:09:18 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_WITH_TIFF
|
|
|
|
bool "tiff support"
|
|
|
|
select BR2_PACKAGE_TIFF
|
|
|
|
help
|
|
|
|
Use shared libtiff from the target system.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_WITH_V4L
|
|
|
|
bool "v4l support"
|
|
|
|
help
|
|
|
|
Enable Video 4 Linux support.
|
|
|
|
|
2014-08-31 22:09:03 +02:00
|
|
|
If the package libv4l is enabled, its support is automatically enabled.
|
2011-10-20 19:09:18 +02:00
|
|
|
|
2012-07-16 23:37:30 +02:00
|
|
|
comment "Install options"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_INSTALL_DATA
|
|
|
|
bool "install extra data"
|
|
|
|
help
|
|
|
|
Install various data that is used by cv libraries and/or demo
|
|
|
|
applications, specifically for haarcascades and lbpcascades
|
|
|
|
features.
|
|
|
|
|
|
|
|
For further information: see OpenCV documentation.
|
|
|
|
|
2011-10-20 19:09:18 +02:00
|
|
|
endif # BR2_PACKAGE_OPENCV
|
|
|
|
|
2015-06-25 21:59:43 +02:00
|
|
|
comment "opencv needs a toolchain w/ C++, NPTL, wchar, dynamic library"
|
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
|
|
!BR2_USE_WCHAR || \
|
|
|
|
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
|
|
|
BR2_STATIC_LIBS
|