2015-08-24 14:47:09 +02:00
|
|
|
menuconfig BR2_PACKAGE_OPENCV3
|
|
|
|
bool "opencv3"
|
2011-10-20 19:09:18 +02:00
|
|
|
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
|
2015-08-24 14:47:10 +02:00
|
|
|
depends on !BR2_PACKAGE_OPENCV
|
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
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
if BR2_PACKAGE_OPENCV3
|
2011-10-20 19:09:18 +02:00
|
|
|
|
2012-07-16 23:37:30 +02:00
|
|
|
comment "OpenCV modules"
|
2011-10-20 19:09:18 +02:00
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_LIB_CALIB3D
|
2012-07-16 23:37:30 +02:00
|
|
|
bool "calib3d"
|
2015-08-24 14:47:09 +02:00
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_FEATURES2D
|
|
|
|
select BR2_PACKAGE_OPENCV3_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
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_LIB_FEATURES2D
|
2012-07-16 23:37:30 +02:00
|
|
|
bool "features2d"
|
2015-08-24 14:47:09 +02:00
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_FLANN
|
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
|
|
|
select BR2_PACKAGE_OPENCV3_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
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_LIB_FLANN
|
2012-07-16 23:37:30 +02:00
|
|
|
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
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_LIB_HIGHGUI
|
2012-07-16 23:37:30 +02:00
|
|
|
bool "highgui"
|
2015-08-24 14:47:09 +02:00
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_IMGCODECS
|
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
|
|
|
select BR2_PACKAGE_OPENCV3_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-08-24 14:47:09 +02:00
|
|
|
if BR2_PACKAGE_OPENCV3_LIB_HIGHGUI
|
2015-07-05 23:54:48 +02:00
|
|
|
|
2015-07-05 23:54:44 +02:00
|
|
|
choice
|
|
|
|
prompt "gui toolkit"
|
|
|
|
help
|
|
|
|
GUI toolkit to be used by the opencv_highgui module.
|
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_GUI_NONE
|
2015-07-05 23:54:44 +02:00
|
|
|
bool "none"
|
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_WITH_GTK
|
2015-07-05 23:54:44 +02:00
|
|
|
bool "gtk2"
|
package/opencv: depends on GUI toolkits, rather than select them
Currently, we only support either Qt4 or gtk2, but OpenCV also
additionally supports Qt5 or gtk3, making for a choice of four
toolkits, one of: Qt4, Qt5, gtk3, gtk2 (and obviously, none).
Since Buildroot does not support coexistence of Qt4 and Qt5, we
can no longer select one and depend on the other, like so:
config BR2_PKG_OCV_WITH_QT4
bool "Qt4"
depends on !BR2_PKG_QT5
select BR2_PKG_QT
config BR2_PKG_OCV_WITH_QT5
bool "Qt5"
depends on !BR2_PKG_QT
select BR2_PKG_QT5
otherwise, we'd get a circular dependency chain in Kconfig, which would
complain with:
package/opencv/Config.in:57:error: recursive dependency detected!
package/opencv/Config.in:57: choice <choice> contains symbol BR2_PKG_OCV_WITH_QT5
package/opencv/Config.in:111: symbol BR2_PKG_OCV_WITH_QT5 depends on BR2_PKG_QT
package/qt/Config.in:5: symbol BR2_PKG_QT is selected by BR2_PKG_OCV_WITH_QT
package/opencv/Config.in:98: symbol BR2_PKG_OCV_WITH_QT is part of choice <choice>
Instead, we need to depend on either Qt version.
So, to have a consistent choice, we make all support for GUI toolkits
actually depend on the toolkit, rather than select it.
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
[yann.morin.1998@free.fr: split-out the switch-selects-to-depends hunk
from the add-qt5 hunk]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-05 23:54:45 +02:00
|
|
|
depends on BR2_PACKAGE_LIBGTK2
|
2015-07-05 23:54:44 +02:00
|
|
|
|
package/opencv: depends on GUI toolkits, rather than select them
Currently, we only support either Qt4 or gtk2, but OpenCV also
additionally supports Qt5 or gtk3, making for a choice of four
toolkits, one of: Qt4, Qt5, gtk3, gtk2 (and obviously, none).
Since Buildroot does not support coexistence of Qt4 and Qt5, we
can no longer select one and depend on the other, like so:
config BR2_PKG_OCV_WITH_QT4
bool "Qt4"
depends on !BR2_PKG_QT5
select BR2_PKG_QT
config BR2_PKG_OCV_WITH_QT5
bool "Qt5"
depends on !BR2_PKG_QT
select BR2_PKG_QT5
otherwise, we'd get a circular dependency chain in Kconfig, which would
complain with:
package/opencv/Config.in:57:error: recursive dependency detected!
package/opencv/Config.in:57: choice <choice> contains symbol BR2_PKG_OCV_WITH_QT5
package/opencv/Config.in:111: symbol BR2_PKG_OCV_WITH_QT5 depends on BR2_PKG_QT
package/qt/Config.in:5: symbol BR2_PKG_QT is selected by BR2_PKG_OCV_WITH_QT
package/opencv/Config.in:98: symbol BR2_PKG_OCV_WITH_QT is part of choice <choice>
Instead, we need to depend on either Qt version.
So, to have a consistent choice, we make all support for GUI toolkits
actually depend on the toolkit, rather than select it.
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
[yann.morin.1998@free.fr: split-out the switch-selects-to-depends hunk
from the add-qt5 hunk]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-05 23:54:45 +02:00
|
|
|
comment "gtk2 support needs libgtk2"
|
2015-07-05 23:54:44 +02:00
|
|
|
depends on BR2_USE_MMU # libgtk2 -> glib2
|
cairo, harfbuzz: rework atomic dependencies
This commit handles the reverse dependency tree of cairo in terms of
atomic dependencies. There are two main changes:
- cairo in fact no longer needs atomic operations. It can perfectly
build without any __sync built-in, as was tested using an ARC
toolchain without atomics, and a SPARC toolchain. Optionally, Cairo
can use the __atomic builtins provided by gcc >= 4.7, so support
for this is added as well. Thanks to this change, the
BR2_ARCH_HAS_ATOMICS dependency is removed from cairo and all its
reverse dependencies.
- harfbuzz does require the __sync built-in for 4 bytes integers, so
we add a dependency on BR2_TOOLCHAIN_HAS_SYNC_4 to harfbuzz and all
its reverse dependency, the main one being the pango package. Due
to this, the vast majority of gtk-related packages are moved to a
dependency on BR2_ARCH_HAS_ATOMICS (which used to be due to cairo)
to a dependency on BR2_TOOLCHAIN_HAS_SYNC_4 (due to pango ->
harfbuzz).
In detail:
- cairo
Remove BR2_ARCH_HAS_ATOMICS dependency, link against -latomic when
gcc >= 4.8 in order to use the __atomic functions.
- harfbuzz
Add dependency on BR2_TOOLCHAIN_HAS_SYNC_4
- cairomm, gst-plugins-good, gst1-plugins-good, libgdiplus,
libsvg-cairo, weston
Remove BR2_ARCH_HAS_ATOMICS dependency (since cairo no longer needs
atomics)
- enlightenment, cwiid, gst-plugins-bad, gst-plugins-base,
gst1-plugins-bad, gst1-plugins-base, gtkmm3,
libevas-generic-loaders, libfm, libgail, libgtk2, libgtk3, librsvg,
openbox, opencv, opencv3, pango, pangomm, pcmanfm, pinentry,
rrdtool, webkit, webkitgtk24, xscreensaver
Switch from a BR2_ARCH_HAS_ATOMICS dependency to a
BR2_TOOLCHAIN_HAS_SYNC_4 (they depend on pango, harfbuzz, gtk, or
some other related package)
- directfb
Remove BR2_ARCH_ATOMICS dependency of the BR2_PACKAGE_DIRECTFB_SVG
(since cairo can build without atomics), but add a
BR2_TOOLCHAIN_HAS_SYNC_4 dependency on BR2_PACKAGE_DIRECTFB itself
since it does use __sync built-ins. This replaces the !BR2_sparc
dependency.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-02-02 16:31:28 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
package/opencv: depends on GUI toolkits, rather than select them
Currently, we only support either Qt4 or gtk2, but OpenCV also
additionally supports Qt5 or gtk3, making for a choice of four
toolkits, one of: Qt4, Qt5, gtk3, gtk2 (and obviously, none).
Since Buildroot does not support coexistence of Qt4 and Qt5, we
can no longer select one and depend on the other, like so:
config BR2_PKG_OCV_WITH_QT4
bool "Qt4"
depends on !BR2_PKG_QT5
select BR2_PKG_QT
config BR2_PKG_OCV_WITH_QT5
bool "Qt5"
depends on !BR2_PKG_QT
select BR2_PKG_QT5
otherwise, we'd get a circular dependency chain in Kconfig, which would
complain with:
package/opencv/Config.in:57:error: recursive dependency detected!
package/opencv/Config.in:57: choice <choice> contains symbol BR2_PKG_OCV_WITH_QT5
package/opencv/Config.in:111: symbol BR2_PKG_OCV_WITH_QT5 depends on BR2_PKG_QT
package/qt/Config.in:5: symbol BR2_PKG_QT is selected by BR2_PKG_OCV_WITH_QT
package/opencv/Config.in:98: symbol BR2_PKG_OCV_WITH_QT is part of choice <choice>
Instead, we need to depend on either Qt version.
So, to have a consistent choice, we make all support for GUI toolkits
actually depend on the toolkit, rather than select it.
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
[yann.morin.1998@free.fr: split-out the switch-selects-to-depends hunk
from the add-qt5 hunk]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-05 23:54:45 +02:00
|
|
|
depends on !BR2_PACKAGE_LIBGTK2
|
2015-07-05 23:54:44 +02:00
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_WITH_GTK3
|
2015-07-05 23:54:47 +02:00
|
|
|
bool "gtk3"
|
|
|
|
depends on BR2_PACKAGE_LIBGTK3
|
|
|
|
|
|
|
|
comment "gtk3 support needs libgtk3"
|
|
|
|
depends on BR2_USE_MMU # libgtk3 -> glib2
|
cairo, harfbuzz: rework atomic dependencies
This commit handles the reverse dependency tree of cairo in terms of
atomic dependencies. There are two main changes:
- cairo in fact no longer needs atomic operations. It can perfectly
build without any __sync built-in, as was tested using an ARC
toolchain without atomics, and a SPARC toolchain. Optionally, Cairo
can use the __atomic builtins provided by gcc >= 4.7, so support
for this is added as well. Thanks to this change, the
BR2_ARCH_HAS_ATOMICS dependency is removed from cairo and all its
reverse dependencies.
- harfbuzz does require the __sync built-in for 4 bytes integers, so
we add a dependency on BR2_TOOLCHAIN_HAS_SYNC_4 to harfbuzz and all
its reverse dependency, the main one being the pango package. Due
to this, the vast majority of gtk-related packages are moved to a
dependency on BR2_ARCH_HAS_ATOMICS (which used to be due to cairo)
to a dependency on BR2_TOOLCHAIN_HAS_SYNC_4 (due to pango ->
harfbuzz).
In detail:
- cairo
Remove BR2_ARCH_HAS_ATOMICS dependency, link against -latomic when
gcc >= 4.8 in order to use the __atomic functions.
- harfbuzz
Add dependency on BR2_TOOLCHAIN_HAS_SYNC_4
- cairomm, gst-plugins-good, gst1-plugins-good, libgdiplus,
libsvg-cairo, weston
Remove BR2_ARCH_HAS_ATOMICS dependency (since cairo no longer needs
atomics)
- enlightenment, cwiid, gst-plugins-bad, gst-plugins-base,
gst1-plugins-bad, gst1-plugins-base, gtkmm3,
libevas-generic-loaders, libfm, libgail, libgtk2, libgtk3, librsvg,
openbox, opencv, opencv3, pango, pangomm, pcmanfm, pinentry,
rrdtool, webkit, webkitgtk24, xscreensaver
Switch from a BR2_ARCH_HAS_ATOMICS dependency to a
BR2_TOOLCHAIN_HAS_SYNC_4 (they depend on pango, harfbuzz, gtk, or
some other related package)
- directfb
Remove BR2_ARCH_ATOMICS dependency of the BR2_PACKAGE_DIRECTFB_SVG
(since cairo can build without atomics), but add a
BR2_TOOLCHAIN_HAS_SYNC_4 dependency on BR2_PACKAGE_DIRECTFB itself
since it does use __sync built-ins. This replaces the !BR2_sparc
dependency.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-02-02 16:31:28 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
2015-07-05 23:54:47 +02:00
|
|
|
depends on !BR2_PACKAGE_LIBGTK3
|
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_WITH_QT
|
2015-07-05 23:54:44 +02:00
|
|
|
bool "qt4"
|
package/opencv: depends on GUI toolkits, rather than select them
Currently, we only support either Qt4 or gtk2, but OpenCV also
additionally supports Qt5 or gtk3, making for a choice of four
toolkits, one of: Qt4, Qt5, gtk3, gtk2 (and obviously, none).
Since Buildroot does not support coexistence of Qt4 and Qt5, we
can no longer select one and depend on the other, like so:
config BR2_PKG_OCV_WITH_QT4
bool "Qt4"
depends on !BR2_PKG_QT5
select BR2_PKG_QT
config BR2_PKG_OCV_WITH_QT5
bool "Qt5"
depends on !BR2_PKG_QT
select BR2_PKG_QT5
otherwise, we'd get a circular dependency chain in Kconfig, which would
complain with:
package/opencv/Config.in:57:error: recursive dependency detected!
package/opencv/Config.in:57: choice <choice> contains symbol BR2_PKG_OCV_WITH_QT5
package/opencv/Config.in:111: symbol BR2_PKG_OCV_WITH_QT5 depends on BR2_PKG_QT
package/qt/Config.in:5: symbol BR2_PKG_QT is selected by BR2_PKG_OCV_WITH_QT
package/opencv/Config.in:98: symbol BR2_PKG_OCV_WITH_QT is part of choice <choice>
Instead, we need to depend on either Qt version.
So, to have a consistent choice, we make all support for GUI toolkits
actually depend on the toolkit, rather than select it.
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
[yann.morin.1998@free.fr: split-out the switch-selects-to-depends hunk
from the add-qt5 hunk]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-05 23:54:45 +02:00
|
|
|
depends on BR2_PACKAGE_QT
|
2015-07-05 23:54:44 +02:00
|
|
|
select BR2_PACKAGE_QT_STL
|
|
|
|
select BR2_PACKAGE_QT_GUI_MODULE
|
|
|
|
select BR2_PACKAGE_QT_TEST
|
|
|
|
help
|
package/opencv: depends on GUI toolkits, rather than select them
Currently, we only support either Qt4 or gtk2, but OpenCV also
additionally supports Qt5 or gtk3, making for a choice of four
toolkits, one of: Qt4, Qt5, gtk3, gtk2 (and obviously, none).
Since Buildroot does not support coexistence of Qt4 and Qt5, we
can no longer select one and depend on the other, like so:
config BR2_PKG_OCV_WITH_QT4
bool "Qt4"
depends on !BR2_PKG_QT5
select BR2_PKG_QT
config BR2_PKG_OCV_WITH_QT5
bool "Qt5"
depends on !BR2_PKG_QT
select BR2_PKG_QT5
otherwise, we'd get a circular dependency chain in Kconfig, which would
complain with:
package/opencv/Config.in:57:error: recursive dependency detected!
package/opencv/Config.in:57: choice <choice> contains symbol BR2_PKG_OCV_WITH_QT5
package/opencv/Config.in:111: symbol BR2_PKG_OCV_WITH_QT5 depends on BR2_PKG_QT
package/qt/Config.in:5: symbol BR2_PKG_QT is selected by BR2_PKG_OCV_WITH_QT
package/opencv/Config.in:98: symbol BR2_PKG_OCV_WITH_QT is part of choice <choice>
Instead, we need to depend on either Qt version.
So, to have a consistent choice, we make all support for GUI toolkits
actually depend on the toolkit, rather than select it.
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
[yann.morin.1998@free.fr: split-out the switch-selects-to-depends hunk
from the add-qt5 hunk]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-05 23:54:45 +02:00
|
|
|
Use Qt4 with QtTest and QtGui modules and STL support, as GUI toolkit.
|
2015-07-05 23:54:44 +02:00
|
|
|
|
package/opencv: depends on GUI toolkits, rather than select them
Currently, we only support either Qt4 or gtk2, but OpenCV also
additionally supports Qt5 or gtk3, making for a choice of four
toolkits, one of: Qt4, Qt5, gtk3, gtk2 (and obviously, none).
Since Buildroot does not support coexistence of Qt4 and Qt5, we
can no longer select one and depend on the other, like so:
config BR2_PKG_OCV_WITH_QT4
bool "Qt4"
depends on !BR2_PKG_QT5
select BR2_PKG_QT
config BR2_PKG_OCV_WITH_QT5
bool "Qt5"
depends on !BR2_PKG_QT
select BR2_PKG_QT5
otherwise, we'd get a circular dependency chain in Kconfig, which would
complain with:
package/opencv/Config.in:57:error: recursive dependency detected!
package/opencv/Config.in:57: choice <choice> contains symbol BR2_PKG_OCV_WITH_QT5
package/opencv/Config.in:111: symbol BR2_PKG_OCV_WITH_QT5 depends on BR2_PKG_QT
package/qt/Config.in:5: symbol BR2_PKG_QT is selected by BR2_PKG_OCV_WITH_QT
package/opencv/Config.in:98: symbol BR2_PKG_OCV_WITH_QT is part of choice <choice>
Instead, we need to depend on either Qt version.
So, to have a consistent choice, we make all support for GUI toolkits
actually depend on the toolkit, rather than select it.
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
[yann.morin.1998@free.fr: split-out the switch-selects-to-depends hunk
from the add-qt5 hunk]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-05 23:54:45 +02:00
|
|
|
comment "qt4 support needs qt"
|
2015-07-05 23:54:44 +02:00
|
|
|
depends on BR2_USE_MMU # qt
|
2015-07-05 23:54:46 +02:00
|
|
|
depends on !BR2_PACKAGE_QT && !BR2_PACKAGE_QT5
|
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_WITH_QT5
|
2015-07-05 23:54:46 +02:00
|
|
|
bool "qt5"
|
|
|
|
depends on BR2_PACKAGE_QT5
|
|
|
|
select BR2_PACKAGE_QT5BASE
|
|
|
|
select BR2_PACKAGE_QT5BASE_CONCURRENT
|
|
|
|
select BR2_PACKAGE_QT5BASE_GUI
|
|
|
|
select BR2_PACKAGE_QT5BASE_WIDGETS
|
|
|
|
help
|
|
|
|
Use Qt5 with base, concurrent, test, gui and widgets components, as GUI
|
|
|
|
toolkit.
|
|
|
|
|
|
|
|
comment "qt5 support needs qt5"
|
|
|
|
depends on !BR2_PACKAGE_QT && !BR2_PACKAGE_QT5
|
2015-07-05 23:54:44 +02:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_WITH_OPENGL
|
2015-07-05 23:54:48 +02:00
|
|
|
bool "opengl support"
|
|
|
|
# OpenGL support done using Qt5OpenGL, so depends on WITH_QT5
|
2015-08-24 14:47:09 +02:00
|
|
|
depends on BR2_PACKAGE_OPENCV3_WITH_QT5
|
2015-07-05 23:54:48 +02:00
|
|
|
# OpenGL support requires Qt5OpenGL with GL support, not GLES
|
|
|
|
depends on BR2_PACKAGE_QT5_GL_AVAILABLE
|
|
|
|
depends on BR2_PACKAGE_HAS_LIBGL
|
|
|
|
select BR2_PACKAGE_QT5BASE_OPENGL
|
|
|
|
help
|
|
|
|
Enable OpenGL for UI.
|
|
|
|
|
|
|
|
comment "opengl support needs an OpenGL provider"
|
2015-08-24 14:47:09 +02:00
|
|
|
depends on BR2_PACKAGE_OPENCV3_WITH_QT5
|
2015-07-05 23:54:48 +02:00
|
|
|
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE || \
|
|
|
|
!BR2_PACKAGE_HAS_LIBGL
|
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
endif # BR2_PACKAGE_OPENCV3_LIB_HIGHGUI
|
2015-07-05 23:54:48 +02:00
|
|
|
|
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_LIB_IMGCODECS
|
2015-06-25 21:59:43 +02:00
|
|
|
bool "imgcodecs"
|
2015-08-24 14:47:09 +02:00
|
|
|
select BR2_PACKAGE_OPENCV3_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-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
2015-06-25 21:59:43 +02:00
|
|
|
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
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_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
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_LIB_OBJDETECT
|
2012-07-16 23:37:30 +02:00
|
|
|
bool "objdetect"
|
2015-06-25 21:59:45 +02:00
|
|
|
# opencv_core dependency is already enabled
|
2015-08-24 14:47:09 +02:00
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
|
|
|
select BR2_PACKAGE_OPENCV3_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
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_LIB_PHOTO
|
2012-07-16 23:37:30 +02:00
|
|
|
bool "photo"
|
2015-08-24 14:47:09 +02:00
|
|
|
select BR2_PACKAGE_OPENCV3_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-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_LIB_PYTHON
|
2015-06-25 21:59:49 +02:00
|
|
|
bool "python"
|
|
|
|
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
|
2015-10-07 09:43:18 +02:00
|
|
|
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
2015-06-25 21:59:49 +02:00
|
|
|
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-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_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
|
2015-08-24 14:47:09 +02:00
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
|
|
|
select BR2_PACKAGE_OPENCV3_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
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_LIB_STITCHING
|
2012-07-16 23:37:30 +02:00
|
|
|
bool "stitching"
|
2015-08-24 14:47:09 +02:00
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_CALIB3D
|
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_FEATURES2D
|
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
|
|
|
select BR2_PACKAGE_OPENCV3_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
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_LIB_SUPERRES
|
2014-04-23 01:15:44 +02:00
|
|
|
bool "superres"
|
2015-08-24 14:47:09 +02:00
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
|
|
|
select BR2_PACKAGE_OPENCV3_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
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_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
|
2015-08-24 14:47:09 +02:00
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_HIGHGUI
|
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_IMGCODECS
|
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
|
|
|
select BR2_PACKAGE_OPENCV3_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-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_LIB_VIDEOIO
|
2015-06-25 21:59:46 +02:00
|
|
|
bool "videoio"
|
2015-08-24 14:47:09 +02:00
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_IMGCODECS
|
|
|
|
select BR2_PACKAGE_OPENCV3_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
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_LIB_VIDEO
|
2012-07-16 23:37:30 +02:00
|
|
|
bool "video"
|
2015-08-24 14:47:09 +02:00
|
|
|
select BR2_PACKAGE_OPENCV3_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
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_LIB_VIDEOSTAB
|
2012-07-16 23:37:30 +02:00
|
|
|
bool "videostab"
|
2015-08-24 14:47:09 +02:00
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_CALIB3D
|
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_FEATURES2D
|
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
|
|
|
select BR2_PACKAGE_OPENCV3_LIB_PHOTO
|
|
|
|
select BR2_PACKAGE_OPENCV3_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"
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_BUILD_TESTS
|
2012-07-16 23:37:30 +02:00
|
|
|
bool "build tests"
|
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_BUILD_PERF_TESTS
|
2012-07-16 23:37:30 +02:00
|
|
|
bool "build performance tests"
|
|
|
|
|
|
|
|
comment "3rd party support"
|
2011-10-20 19:09:18 +02:00
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_WITH_FFMPEG
|
2011-10-20 19:09:18 +02:00
|
|
|
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
|
2015-11-11 15:55:07 +01:00
|
|
|
depends on !BR2_nios2 # ffmpeg
|
2011-10-20 19:09:18 +02:00
|
|
|
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
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_WITHOUT_GSTREAMER
|
2015-07-05 11:40:23 +02:00
|
|
|
bool "none"
|
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_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-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_WITH_GSTREAMER1
|
2015-07-05 11:40:24 +02:00
|
|
|
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
|
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_WITH_JASPER
|
2014-04-23 01:15:50 +02:00
|
|
|
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.
|
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_WITH_JPEG
|
2011-10-20 19:09:18 +02:00
|
|
|
bool "jpeg support"
|
|
|
|
select BR2_PACKAGE_JPEG
|
|
|
|
help
|
|
|
|
Use shared libjpeg from the target system.
|
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_WITH_PNG
|
2011-10-20 19:09:18 +02:00
|
|
|
bool "png support"
|
|
|
|
select BR2_PACKAGE_LIBPNG
|
|
|
|
help
|
|
|
|
Use shared libpng from the target system.
|
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_WITH_TIFF
|
2011-10-20 19:09:18 +02:00
|
|
|
bool "tiff support"
|
|
|
|
select BR2_PACKAGE_TIFF
|
|
|
|
help
|
|
|
|
Use shared libtiff from the target system.
|
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_WITH_V4L
|
2011-10-20 19:09:18 +02:00
|
|
|
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"
|
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
config BR2_PACKAGE_OPENCV3_INSTALL_DATA
|
2012-07-16 23:37:30 +02:00
|
|
|
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.
|
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
endif # BR2_PACKAGE_OPENCV3
|
2011-10-20 19:09:18 +02:00
|
|
|
|
2015-08-24 14:47:09 +02:00
|
|
|
comment "opencv3 needs a toolchain w/ C++, NPTL, wchar, dynamic library"
|
2015-06-25 21:59:43 +02:00
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
|
|
!BR2_USE_WCHAR || \
|
|
|
|
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
|
|
|
BR2_STATIC_LIBS
|