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
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
|
depends on BR2_USE_WCHAR
|
|
|
|
help
|
|
|
|
OpenCV (Open Source Computer Vision) is a library of programming
|
|
|
|
functions for real time computer vision.
|
|
|
|
|
|
|
|
http://opencv.willowgarage.com/wiki/
|
|
|
|
|
|
|
|
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"
|
|
|
|
default y
|
2011-10-20 19:09:18 +02:00
|
|
|
help
|
2012-07-16 23:37:30 +02:00
|
|
|
Include opencv_calib3d 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_CONTRIB
|
|
|
|
bool "contrib"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include opencv_contrib 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_CORE
|
|
|
|
bool "core"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include opencv_core module into the OpenCV build.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_FEATURES2D
|
|
|
|
bool "features2d"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include opencv_features2d module into the OpenCV build.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_FLANN
|
|
|
|
bool "flann"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include opencv_flann module into the OpenCV build.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_GPU
|
|
|
|
bool "gpu"
|
|
|
|
help
|
|
|
|
Include opencv_gpu module into the OpenCV build.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
|
|
|
bool "highgui"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include opencv_highgui module into the OpenCV build.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
|
|
|
bool "imgproc"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include opencv_imgproc module into the OpenCV build.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_LEGACY
|
|
|
|
bool "legacy"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include opencv_legacy module into the OpenCV build.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_ML
|
|
|
|
bool "ml (machine learning)"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include opencv_ml module into the OpenCV build.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_NONFREE
|
|
|
|
bool "nonfree"
|
|
|
|
help
|
|
|
|
Include opencv_nonfree module into the OpenCV build.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_OBJDETECT
|
|
|
|
bool "objdetect"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include opencv_objdetect module into the OpenCV build.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_PHOTO
|
|
|
|
bool "photo"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include opencv_photo module into the OpenCV build.
|
2011-10-20 19:09:18 +02:00
|
|
|
|
2012-07-16 23:37:30 +02:00
|
|
|
comment "opencv_python module requires numpy which is not yet available."
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_STITCHING
|
|
|
|
bool "stitching"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include opencv_stitching module into the OpenCV build.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_TS
|
|
|
|
bool "ts (touchscreen)"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include opencv_ts module into the OpenCV build.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_VIDEO
|
|
|
|
bool "video"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include opencv_video module into the OpenCV build.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_LIB_VIDEOSTAB
|
|
|
|
bool "videostab"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include opencv_videostab module into the OpenCV build.
|
|
|
|
|
|
|
|
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"
|
2011-11-19 22:40:33 +01:00
|
|
|
depends on BR2_LARGEFILE
|
|
|
|
depends on BR2_INET_IPV6
|
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.
|
|
|
|
|
2011-11-19 22:40:33 +01:00
|
|
|
comment "ffmpeg support requires a toolchain with LARGEFILE and IPV6 support"
|
|
|
|
depends on !(BR2_LARGEFILE && BR2_INET_IPV6)
|
|
|
|
|
2011-10-20 19:09:18 +02:00
|
|
|
config BR2_PACKAGE_OPENCV_WITH_GSTREAMER
|
|
|
|
bool "gstreamer support"
|
2012-07-16 23:37:30 +02:00
|
|
|
depends on BR2_USE_WCHAR
|
2013-05-03 12:47:23 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
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
|
|
|
|
|
|
|
|
config BR2_PACKAGE_OPENCV_WITH_GTK
|
|
|
|
bool "gtk support"
|
2012-07-16 23:37:30 +02:00
|
|
|
depends on BR2_PACKAGE_XORG7||BR2_PACKAGE_DIRECTFB
|
|
|
|
depends on BR2_USE_WCHAR
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
|
select BR2_PACKAGE_LIBGTK2
|
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
|
2013-06-27 16:14:12 +02:00
|
|
|
depends on !BR2_avr32 # qt
|
2012-07-16 23:37:30 +02:00
|
|
|
select BR2_PACKAGE_QT
|
|
|
|
select BR2_PACKAGE_QT_STL
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Use Qt with STL support
|
|
|
|
|
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"
|
|
|
|
depends on BR2_LARGEFILE
|
2013-05-28 13:21:58 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2011-10-20 19:09:18 +02:00
|
|
|
select BR2_PACKAGE_LIBV4L
|
|
|
|
help
|
|
|
|
Enable Video 4 Linux support.
|
|
|
|
|
2013-05-28 13:21:58 +02:00
|
|
|
comment "v4l support requires a toolchain with LARGEFILE and thread support"
|
|
|
|
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
|
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
|
|
|
|
|
|
|
|
comment "opencv requires a toolchain with C++ and WCHAR support"
|
2012-07-16 23:37:30 +02:00
|
|
|
depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR)
|