package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / opencv / Config.in
blob679ce6fb957deb8c0933e133250ed25858c73f12
1 menuconfig BR2_PACKAGE_OPENCV
2         bool "opencv-2.4"
3         select BR2_PACKAGE_ZLIB
4         depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
5         depends on BR2_INSTALL_LIBSTDCPP
6         depends on BR2_USE_WCHAR
7         help
8           OpenCV (Open Source Computer Vision) is a library of programming
9           functions for real time computer vision.
11           http://opencv.org/
13 if BR2_PACKAGE_OPENCV
15 comment "OpenCV modules"
17 config BR2_PACKAGE_OPENCV_LIB_CALIB3D
18         bool "calib3d"
19         default y
20         help
21           Include opencv_calib3d module into the OpenCV build.
23 config BR2_PACKAGE_OPENCV_LIB_CONTRIB
24         bool "contrib"
25         default y
26         help
27           Include opencv_contrib module into the OpenCV build.
29 config BR2_PACKAGE_OPENCV_LIB_FEATURES2D
30         bool "features2d"
31         default y
32         help
33           Include opencv_features2d module into the OpenCV build.
35 config BR2_PACKAGE_OPENCV_LIB_FLANN
36         bool "flann"
37         default y
38         help
39           Include opencv_flann module into the OpenCV build.
41 config BR2_PACKAGE_OPENCV_LIB_GPU
42         bool "gpu"
43         help
44           Include opencv_gpu module into the OpenCV build.
46 config BR2_PACKAGE_OPENCV_LIB_HIGHGUI
47         bool "highgui"
48         default y
49         help
50           Include opencv_highgui module into the OpenCV build.
52 config BR2_PACKAGE_OPENCV_LIB_IMGPROC
53         bool "imgproc"
54         default y
55         help
56           Include opencv_imgproc module into the OpenCV build.
58 config BR2_PACKAGE_OPENCV_LIB_LEGACY
59         bool "legacy"
60         default y
61         help
62           Include opencv_legacy module into the OpenCV build.
64 config BR2_PACKAGE_OPENCV_LIB_ML
65         bool "ml (machine learning)"
66         default y
67         help
68           Include opencv_ml module into the OpenCV build.
70 config BR2_PACKAGE_OPENCV_LIB_NONFREE
71         bool "nonfree"
72         help
73           Include opencv_nonfree module into the OpenCV build.
75 config BR2_PACKAGE_OPENCV_LIB_OBJDETECT
76         bool "objdetect"
77         default y
78         help
79           Include opencv_objdetect module into the OpenCV build.
81 config BR2_PACKAGE_OPENCV_LIB_PHOTO
82         bool "photo"
83         default y
84         help
85           Include opencv_photo module into the OpenCV build.
87 comment "opencv_python module requires numpy which is not yet available."
89 config BR2_PACKAGE_OPENCV_LIB_STITCHING
90         bool "stitching"
91         default y
92         help
93           Include opencv_stitching module into the OpenCV build.
95 config BR2_PACKAGE_OPENCV_LIB_SUPERRES
96         bool "superres"
97         default y
98         help
99           Include opencv_superres "super resolution" - module into the OpenCV
100           build.
102 config BR2_PACKAGE_OPENCV_LIB_TS
103         bool "ts (touchscreen)"
104         select BR2_PACKAGE_OPENCV_LIB_HIGHGUI
105         default y
106         help
107           Include opencv_ts module into the OpenCV build.
109 config BR2_PACKAGE_OPENCV_LIB_VIDEO
110         bool "video"
111         default y
112         help
113           Include opencv_video module into the OpenCV build.
115 config BR2_PACKAGE_OPENCV_LIB_VIDEOSTAB
116         bool "videostab"
117         default y
118         help
119           Include opencv_videostab module into the OpenCV build.
121 comment "Test sets"
122 config BR2_PACKAGE_OPENCV_BUILD_TESTS
123         bool "build tests"
125 config BR2_PACKAGE_OPENCV_BUILD_PERF_TESTS
126         bool "build performance tests"
128 comment "3rd party support"
130 config BR2_PACKAGE_OPENCV_WITH_FFMPEG
131         bool "ffmpeg support"
132         select BR2_PACKAGE_BZIP2
133         select BR2_PACKAGE_FFMPEG
134         select BR2_PACKAGE_FFMPEG_SWSCALE
135         depends on !BR2_nios2 # ffmpeg
136         help
137           Use ffmpeg from the target system.
139 choice
140         prompt "gstreamer support"
141         help
142           OpenCV prefers gstreamer-1 over gstreamer-0.10.
144 config BR2_PACKAGE_OPENCV_WITHOUT_GSTREAMER
145         bool "none"
147 config BR2_PACKAGE_OPENCV_WITH_GSTREAMER
148         bool "gstreamer-0.10"
149         depends on BR2_USE_MMU # gstreamer -> libglib2
150         depends on BR2_USE_WCHAR # gstreamer -> libglib2
151         depends on BR2_TOOLCHAIN_HAS_THREADS # gstreamer -> libglib2
152         select BR2_PACKAGE_GSTREAMER
153         select BR2_PACKAGE_GST_PLUGINS_BASE
154         select BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP
156 comment "gstreamer-0.10 support needs a toolchain w/ wchar, threads"
157         depends on BR2_USE_MMU
158         depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
160 config BR2_PACKAGE_OPENCV_WITH_GSTREAMER1
161         bool "gstreamer-1.x"
162         depends on BR2_USE_MMU # gstreamer1 -> libglib2
163         depends on BR2_USE_WCHAR # gstreamer1 -> libglib2
164         depends on BR2_TOOLCHAIN_HAS_THREADS # gstreamer1 -> libglib2
165         select BR2_PACKAGE_GSTREAMER1
166         select BR2_PACKAGE_GST1_PLUGINS_BASE
167         select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
169 comment "gstreamer-1.x support needs a toolchain w/ wchar, threads"
170         depends on BR2_USE_MMU
171         depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
173 endchoice
175 config BR2_PACKAGE_OPENCV_WITH_GTK
176         bool "gtk support"
177         depends on BR2_PACKAGE_XORG7
178         depends on BR2_USE_WCHAR # libgtk2 -> libglib2
179         depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2 -> libglib2
180         depends on BR2_INSTALL_LIBSTDCPP
181         depends on BR2_USE_MMU # libgtk2 -> glib2
182         depends on BR2_ARCH_HAS_ATOMICS # libgtk2 -> cairo
183         depends on BR2_PACKAGE_OPENCV_LIB_HIGHGUI
184         select BR2_PACKAGE_LIBGTK2
186 config BR2_PACKAGE_OPENCV_WITH_JASPER
187         bool "jpeg2000 support"
188         select BR2_PACKAGE_JASPER
189         help
190           Enable jpeg2000 support.
192           Note: this does not use the libjasper bundled with opencv,
193           but uses the libjasper package installed system-wide by
194           Buildroot.
196 config BR2_PACKAGE_OPENCV_WITH_JPEG
197         bool "jpeg support"
198         select BR2_PACKAGE_JPEG
199         help
200           Use shared libjpeg from the target system.
202 config BR2_PACKAGE_OPENCV_WITH_PNG
203         bool "png support"
204         select BR2_PACKAGE_LIBPNG
205         help
206           Use shared libpng from the target system.
208 config BR2_PACKAGE_OPENCV_WITH_QT
209         bool "qt backend support"
210         depends on BR2_INSTALL_LIBSTDCPP
211         depends on BR2_USE_MMU # qt
212         depends on BR2_PACKAGE_OPENCV_LIB_HIGHGUI
213         select BR2_PACKAGE_QT
214         select BR2_PACKAGE_QT_STL
215         select BR2_PACKAGE_QT_GUI_MODULE
216         select BR2_PACKAGE_QT_TEST
217         help
218           Use Qt with QtTest module and STL support
220 config BR2_PACKAGE_OPENCV_WITH_TIFF
221         bool "tiff support"
222         select BR2_PACKAGE_TIFF
223         help
224           Use shared libtiff from the target system.
226 config BR2_PACKAGE_OPENCV_WITH_V4L
227         bool "v4l support"
228         help
229           Enable Video 4 Linux support.
231           If the package libv4l is enabled, its support is automatically enabled.
233 comment "Install options"
235 config BR2_PACKAGE_OPENCV_INSTALL_DATA
236         bool "install extra data"
237         help
238           Install various data that is used by cv libraries and/or demo
239           applications, specifically for haarcascades and lbpcascades
240           features.
242           For further information: see OpenCV documentation.
244 endif # BR2_PACKAGE_OPENCV
246 comment "opencv needs a toolchain w/ C++, NPTL, wchar"
247         depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS_NPTL)