xref: /OK3568_Linux_fs/buildroot/package/opencv4/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunmenuconfig BR2_PACKAGE_OPENCV4
2*4882a593Smuzhiyun	bool "opencv4"
3*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_ATOMIC
4*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
5*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP
6*4882a593Smuzhiyun	depends on BR2_USE_WCHAR
7*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # include dlfcn.h
8*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
9*4882a593Smuzhiyun	depends on !BR2_PACKAGE_OPENCV3
10*4882a593Smuzhiyun	select BR2_PACKAGE_ZLIB
11*4882a593Smuzhiyun	help
12*4882a593Smuzhiyun	  OpenCV (Open Source Computer Vision) is a library of
13*4882a593Smuzhiyun	  programming functions for real time computer vision.
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun	  Note that the opencv_core module and the opencv_hal library
16*4882a593Smuzhiyun	  are always built and installed, not matter which other
17*4882a593Smuzhiyun	  modules are enabled below.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun	  http://opencv.org/
20*4882a593Smuzhiyun
21*4882a593Smuzhiyunif BR2_PACKAGE_OPENCV4
22*4882a593Smuzhiyun
23*4882a593Smuzhiyuncomment "OpenCV modules"
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_LIB_CALIB3D
26*4882a593Smuzhiyun	bool "calib3d"
27*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_FEATURES2D
28*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_IMGPROC
29*4882a593Smuzhiyun	help
30*4882a593Smuzhiyun	  Include opencv_calib3d (camera calibration and 3d
31*4882a593Smuzhiyun	  reconstruction) module into the OpenCV build.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_LIB_FEATURES2D
34*4882a593Smuzhiyun	bool "features2d"
35*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_FLANN
36*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_IMGPROC
37*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_ML
38*4882a593Smuzhiyun	help
39*4882a593Smuzhiyun	  Include opencv_features2d (2d features framework) module
40*4882a593Smuzhiyun	  into the OpenCV build.
41*4882a593Smuzhiyun
42*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_LIB_FLANN
43*4882a593Smuzhiyun	bool "flann"
44*4882a593Smuzhiyun	# opencv_core dependency is already enabled
45*4882a593Smuzhiyun	help
46*4882a593Smuzhiyun	  Include opencv_flann (clustering and search in
47*4882a593Smuzhiyun	  multi-dimensional spaces) module into the OpenCV build.
48*4882a593Smuzhiyun
49*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_LIB_HIGHGUI
50*4882a593Smuzhiyun	bool "highgui"
51*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_IMGCODECS
52*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_IMGPROC
53*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_VIDEOIO
54*4882a593Smuzhiyun	help
55*4882a593Smuzhiyun	  Include opencv_highgui (high-level gui and media i/o) module
56*4882a593Smuzhiyun	  into the OpenCV build.
57*4882a593Smuzhiyun
58*4882a593Smuzhiyunif BR2_PACKAGE_OPENCV4_LIB_HIGHGUI
59*4882a593Smuzhiyun
60*4882a593Smuzhiyunchoice
61*4882a593Smuzhiyun	prompt "gui toolkit"
62*4882a593Smuzhiyun	help
63*4882a593Smuzhiyun	  GUI toolkit to be used by the opencv_highgui module.
64*4882a593Smuzhiyun
65*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_GUI_NONE
66*4882a593Smuzhiyun	bool "none"
67*4882a593Smuzhiyun
68*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_WITH_GTK
69*4882a593Smuzhiyun	bool "gtk2"
70*4882a593Smuzhiyun	depends on BR2_PACKAGE_LIBGTK2
71*4882a593Smuzhiyun
72*4882a593Smuzhiyuncomment "gtk2 support needs libgtk2"
73*4882a593Smuzhiyun	depends on BR2_USE_MMU # libgtk2 -> glib2
74*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_SYNC_4
75*4882a593Smuzhiyun	depends on !BR2_PACKAGE_LIBGTK2
76*4882a593Smuzhiyun
77*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_WITH_GTK3
78*4882a593Smuzhiyun	bool "gtk3"
79*4882a593Smuzhiyun	depends on BR2_PACKAGE_LIBGTK3
80*4882a593Smuzhiyun
81*4882a593Smuzhiyuncomment "gtk3 support needs libgtk3"
82*4882a593Smuzhiyun	depends on BR2_USE_MMU # libgtk3 -> glib2
83*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_SYNC_4
84*4882a593Smuzhiyun	depends on !BR2_PACKAGE_LIBGTK3
85*4882a593Smuzhiyun
86*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_WITH_QT5
87*4882a593Smuzhiyun	bool "qt5"
88*4882a593Smuzhiyun	depends on BR2_PACKAGE_QT5
89*4882a593Smuzhiyun	select BR2_PACKAGE_QT5BASE_CONCURRENT
90*4882a593Smuzhiyun	select BR2_PACKAGE_QT5BASE_GUI
91*4882a593Smuzhiyun	select BR2_PACKAGE_QT5BASE_WIDGETS
92*4882a593Smuzhiyun	help
93*4882a593Smuzhiyun	  Use Qt5 with base, concurrent, test, gui and widgets
94*4882a593Smuzhiyun	  components, as GUI toolkit.
95*4882a593Smuzhiyun
96*4882a593Smuzhiyuncomment "qt5 support needs qt5"
97*4882a593Smuzhiyun	depends on !BR2_PACKAGE_QT5
98*4882a593Smuzhiyun
99*4882a593Smuzhiyunendchoice
100*4882a593Smuzhiyun
101*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_WITH_OPENGL
102*4882a593Smuzhiyun	bool "opengl support"
103*4882a593Smuzhiyun	# OpenGL support done using Qt5OpenGL, so depends on WITH_QT5
104*4882a593Smuzhiyun	depends on BR2_PACKAGE_OPENCV4_WITH_QT5
105*4882a593Smuzhiyun	# OpenGL support requires Qt5OpenGL with GL support, not GLES
106*4882a593Smuzhiyun	depends on BR2_PACKAGE_QT5_GL_AVAILABLE
107*4882a593Smuzhiyun	depends on BR2_PACKAGE_HAS_LIBGL
108*4882a593Smuzhiyun	select BR2_PACKAGE_QT5BASE_OPENGL
109*4882a593Smuzhiyun	help
110*4882a593Smuzhiyun	  Enable OpenGL for UI.
111*4882a593Smuzhiyun
112*4882a593Smuzhiyuncomment "opengl support needs an OpenGL provider"
113*4882a593Smuzhiyun	depends on BR2_PACKAGE_OPENCV4_WITH_QT5
114*4882a593Smuzhiyun	depends on !BR2_PACKAGE_QT5_GL_AVAILABLE || \
115*4882a593Smuzhiyun		!BR2_PACKAGE_HAS_LIBGL
116*4882a593Smuzhiyun
117*4882a593Smuzhiyunendif # BR2_PACKAGE_OPENCV4_LIB_HIGHGUI
118*4882a593Smuzhiyun
119*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_LIB_IMGCODECS
120*4882a593Smuzhiyun	bool "imgcodecs"
121*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_IMGPROC
122*4882a593Smuzhiyun	help
123*4882a593Smuzhiyun	  Include opencv_imgcodecs (image codecs) module into the
124*4882a593Smuzhiyun	  OpenCV build.
125*4882a593Smuzhiyun
126*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_LIB_IMGPROC
127*4882a593Smuzhiyun	bool "imgproc"
128*4882a593Smuzhiyun	# opencv_core dependency is already enabled
129*4882a593Smuzhiyun	help
130*4882a593Smuzhiyun	  Include opencv_imgproc (image processing) module into the
131*4882a593Smuzhiyun	  OpenCV build.
132*4882a593Smuzhiyun
133*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_LIB_ML
134*4882a593Smuzhiyun	bool "ml"
135*4882a593Smuzhiyun	# opencv_core dependency is already enabled
136*4882a593Smuzhiyun	help
137*4882a593Smuzhiyun	  Include opencv_ml (machine learning) module into the OpenCV
138*4882a593Smuzhiyun	  build.
139*4882a593Smuzhiyun
140*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_LIB_OBJDETECT
141*4882a593Smuzhiyun	bool "objdetect"
142*4882a593Smuzhiyun	# opencv_core dependency is already enabled
143*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_CALIB3D
144*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_IMGPROC
145*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_ML
146*4882a593Smuzhiyun	help
147*4882a593Smuzhiyun	  Include opencv_objdetect (object detection) module into the
148*4882a593Smuzhiyun	  OpenCV build.
149*4882a593Smuzhiyun
150*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_LIB_PHOTO
151*4882a593Smuzhiyun	bool "photo"
152*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_IMGPROC
153*4882a593Smuzhiyun	help
154*4882a593Smuzhiyun	  Include opencv_photo (computational photography) module into
155*4882a593Smuzhiyun	  the OpenCV build.
156*4882a593Smuzhiyun
157*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_LIB_PYTHON
158*4882a593Smuzhiyun	bool "python"
159*4882a593Smuzhiyun	depends on BR2_PACKAGE_PYTHON3
160*4882a593Smuzhiyun	depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
161*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
162*4882a593Smuzhiyun	select BR2_PACKAGE_PYTHON_NUMPY
163*4882a593Smuzhiyun	help
164*4882a593Smuzhiyun	  Include opencv_python module into the OpenCV build.  No
165*4882a593Smuzhiyun	  python example is installed.
166*4882a593Smuzhiyun
167*4882a593Smuzhiyuncomment "python support needs glibc or musl"
168*4882a593Smuzhiyun	depends on BR2_PACKAGE_PYTHON3
169*4882a593Smuzhiyun	depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
170*4882a593Smuzhiyun	depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
171*4882a593Smuzhiyun
172*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_LIB_SHAPE
173*4882a593Smuzhiyun	bool "shape"
174*4882a593Smuzhiyun	# opencv_core dependency is already enabled
175*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_IMGPROC
176*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_VIDEO
177*4882a593Smuzhiyun	help
178*4882a593Smuzhiyun	  Include opencv_shape (shape descriptors and matchers) module
179*4882a593Smuzhiyun	  into the OpenCV build.
180*4882a593Smuzhiyun
181*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_LIB_STITCHING
182*4882a593Smuzhiyun	bool "stitching"
183*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_CALIB3D
184*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_FEATURES2D
185*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_IMGPROC
186*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT
187*4882a593Smuzhiyun	help
188*4882a593Smuzhiyun	  Include opencv_stitching (images stitching) module into the
189*4882a593Smuzhiyun	  OpenCV build.
190*4882a593Smuzhiyun
191*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_LIB_SUPERRES
192*4882a593Smuzhiyun	bool "superres"
193*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_IMGPROC
194*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_VIDEO
195*4882a593Smuzhiyun	help
196*4882a593Smuzhiyun	  Include opencv_superres (super resolution) module into the
197*4882a593Smuzhiyun	  OpenCV build.
198*4882a593Smuzhiyun
199*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_LIB_TS
200*4882a593Smuzhiyun	bool "ts"
201*4882a593Smuzhiyun	# opencv_core dependency is already enabled
202*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_HIGHGUI
203*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_IMGCODECS
204*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_IMGPROC
205*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_VIDEOIO
206*4882a593Smuzhiyun	help
207*4882a593Smuzhiyun	  Include opencv_ts (test) module into the OpenCV build.
208*4882a593Smuzhiyun
209*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_LIB_VIDEOIO
210*4882a593Smuzhiyun	bool "videoio"
211*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_IMGCODECS
212*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_IMGPROC
213*4882a593Smuzhiyun	help
214*4882a593Smuzhiyun	  Include opencv_videoio (media i/o) module into the OpenCV
215*4882a593Smuzhiyun	  build.
216*4882a593Smuzhiyun
217*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_LIB_VIDEO
218*4882a593Smuzhiyun	bool "video"
219*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_IMGPROC
220*4882a593Smuzhiyun	help
221*4882a593Smuzhiyun	  Include opencv_video (video analysis) module into the OpenCV
222*4882a593Smuzhiyun	  build.
223*4882a593Smuzhiyun
224*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_LIB_VIDEOSTAB
225*4882a593Smuzhiyun	bool "videostab"
226*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_CALIB3D
227*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_FEATURES2D
228*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_IMGPROC
229*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_PHOTO
230*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCV4_LIB_VIDEO
231*4882a593Smuzhiyun	help
232*4882a593Smuzhiyun	  Include opencv_videostab (video stabilization) module into
233*4882a593Smuzhiyun	  the OpenCV build.
234*4882a593Smuzhiyun
235*4882a593Smuzhiyuncomment "Test sets"
236*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_BUILD_TESTS
237*4882a593Smuzhiyun	bool "build tests"
238*4882a593Smuzhiyun
239*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_BUILD_PERF_TESTS
240*4882a593Smuzhiyun	bool "build performance tests"
241*4882a593Smuzhiyun
242*4882a593Smuzhiyuncomment "3rd party support"
243*4882a593Smuzhiyun
244*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_WITH_FFMPEG
245*4882a593Smuzhiyun	bool "ffmpeg support"
246*4882a593Smuzhiyun	depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
247*4882a593Smuzhiyun	select BR2_PACKAGE_BZIP2
248*4882a593Smuzhiyun	select BR2_PACKAGE_FFMPEG
249*4882a593Smuzhiyun	select BR2_PACKAGE_FFMPEG_AVRESAMPLE
250*4882a593Smuzhiyun	select BR2_PACKAGE_FFMPEG_SWSCALE
251*4882a593Smuzhiyun	help
252*4882a593Smuzhiyun	  Use ffmpeg from the target system.
253*4882a593Smuzhiyun
254*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_WITH_GSTREAMER1
255*4882a593Smuzhiyun	bool "gstreamer-1.x"
256*4882a593Smuzhiyun	depends on BR2_USE_MMU # gstreamer1 -> libglib2
257*4882a593Smuzhiyun	select BR2_PACKAGE_GSTREAMER1
258*4882a593Smuzhiyun	select BR2_PACKAGE_GST1_PLUGINS_BASE
259*4882a593Smuzhiyun	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
260*4882a593Smuzhiyun	help
261*4882a593Smuzhiyun	  Enable gstreamer support.
262*4882a593Smuzhiyun
263*4882a593Smuzhiyunchoice
264*4882a593Smuzhiyun	prompt "jpeg2000 support"
265*4882a593Smuzhiyun	help
266*4882a593Smuzhiyun	  Select the desired jpeg2000 library provider.
267*4882a593Smuzhiyun
268*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_JPEG2000_NONE
269*4882a593Smuzhiyun	bool "none"
270*4882a593Smuzhiyun
271*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_JPEG2000_WITH_JASPER
272*4882a593Smuzhiyun	bool "jasper"
273*4882a593Smuzhiyun	select BR2_PACKAGE_JASPER
274*4882a593Smuzhiyun	help
275*4882a593Smuzhiyun	  Enable jpeg2000 support through jasper.
276*4882a593Smuzhiyun
277*4882a593Smuzhiyun	  Note: this does not use the libjasper bundled with opencv,
278*4882a593Smuzhiyun	  but uses the libjasper package installed system-wide by
279*4882a593Smuzhiyun	  Buildroot.
280*4882a593Smuzhiyun
281*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_JPEG2000_WITH_OPENJPEG
282*4882a593Smuzhiyun	bool "openjpeg"
283*4882a593Smuzhiyun	select BR2_PACKAGE_OPENJPEG
284*4882a593Smuzhiyun	help
285*4882a593Smuzhiyun	  Enable jpeg2000 support through openjpeg.
286*4882a593Smuzhiyun
287*4882a593Smuzhiyun	  Note: this does not use the openjpeg bundled with opencv,
288*4882a593Smuzhiyun	  but uses the openjpeg package installed system-wide by
289*4882a593Smuzhiyun	  Buildroot.
290*4882a593Smuzhiyun
291*4882a593Smuzhiyunendchoice
292*4882a593Smuzhiyun
293*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_WITH_JPEG
294*4882a593Smuzhiyun	bool "jpeg support"
295*4882a593Smuzhiyun	select BR2_PACKAGE_JPEG
296*4882a593Smuzhiyun	help
297*4882a593Smuzhiyun	  Use shared libjpeg from the target system.
298*4882a593Smuzhiyun
299*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_WITH_PNG
300*4882a593Smuzhiyun	bool "png support"
301*4882a593Smuzhiyun	select BR2_PACKAGE_LIBPNG
302*4882a593Smuzhiyun	help
303*4882a593Smuzhiyun	  Use shared libpng from the target system.
304*4882a593Smuzhiyun
305*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_WITH_PROTOBUF
306*4882a593Smuzhiyun	bool "protobuf support"
307*4882a593Smuzhiyun	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf
308*4882a593Smuzhiyun	select BR2_PACKAGE_PROTOBUF
309*4882a593Smuzhiyun	help
310*4882a593Smuzhiyun	  Use shared protobuf from the target system.
311*4882a593Smuzhiyun
312*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_WITH_TIFF
313*4882a593Smuzhiyun	bool "tiff support"
314*4882a593Smuzhiyun	select BR2_PACKAGE_TIFF
315*4882a593Smuzhiyun	help
316*4882a593Smuzhiyun	  Use shared libtiff from the target system.
317*4882a593Smuzhiyun
318*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_WITH_V4L
319*4882a593Smuzhiyun	bool "v4l support"
320*4882a593Smuzhiyun	help
321*4882a593Smuzhiyun	  Enable Video 4 Linux support.
322*4882a593Smuzhiyun
323*4882a593Smuzhiyun	  If the package libv4l is enabled, its support is
324*4882a593Smuzhiyun	  automatically enabled.
325*4882a593Smuzhiyun
326*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_WITH_WEBP
327*4882a593Smuzhiyun	bool "webp support"
328*4882a593Smuzhiyun	select BR2_PACKAGE_WEBP
329*4882a593Smuzhiyun	help
330*4882a593Smuzhiyun	  Enable WebP support.
331*4882a593Smuzhiyun
332*4882a593Smuzhiyun	  Use shared libwebp from the target system.
333*4882a593Smuzhiyun
334*4882a593Smuzhiyuncomment "Install options"
335*4882a593Smuzhiyun
336*4882a593Smuzhiyunconfig BR2_PACKAGE_OPENCV4_INSTALL_DATA
337*4882a593Smuzhiyun	bool "install extra data"
338*4882a593Smuzhiyun	help
339*4882a593Smuzhiyun	  Install various data that is used by cv libraries and/or
340*4882a593Smuzhiyun	  demo applications, specifically for haarcascades and
341*4882a593Smuzhiyun	  lbpcascades features.
342*4882a593Smuzhiyun
343*4882a593Smuzhiyun	  For further information: see OpenCV documentation.
344*4882a593Smuzhiyun
345*4882a593Smuzhiyunendif # BR2_PACKAGE_OPENCV4
346*4882a593Smuzhiyun
347*4882a593Smuzhiyuncomment "opencv4 needs a toolchain w/ C++, NPTL, wchar, dynamic library, gcc >= 4.8"
348*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_ATOMIC
349*4882a593Smuzhiyun	depends on !BR2_INSTALL_LIBSTDCPP || \
350*4882a593Smuzhiyun		!BR2_USE_WCHAR || \
351*4882a593Smuzhiyun		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
352*4882a593Smuzhiyun		BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
353