e40437f68137c9f0237ea400f5dba409de605026
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / opencv / Config.in
1 menuconfig BR2_PACKAGE_OPENCV
2         bool "opencv"
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.
10
11           http://opencv.org/
12
13 if BR2_PACKAGE_OPENCV
14
15 comment "OpenCV modules"
16
17 config BR2_PACKAGE_OPENCV_LIB_CALIB3D
18         bool "calib3d"
19         default y
20         help
21           Include opencv_calib3d module into the OpenCV build.
22
23 config BR2_PACKAGE_OPENCV_LIB_CONTRIB
24         bool "contrib"
25         default y
26         help
27           Include opencv_contrib module into the OpenCV build.
28
29 config BR2_PACKAGE_OPENCV_LIB_FEATURES2D
30         bool "features2d"
31         default y
32         help
33           Include opencv_features2d module into the OpenCV build.
34
35 config BR2_PACKAGE_OPENCV_LIB_FLANN
36         bool "flann"
37         default y
38         help
39           Include opencv_flann module into the OpenCV build.
40
41 config BR2_PACKAGE_OPENCV_LIB_GPU
42         bool "gpu"
43         help
44           Include opencv_gpu module into the OpenCV build.
45
46 config BR2_PACKAGE_OPENCV_LIB_HIGHGUI
47         bool "highgui"
48         default y
49         help
50           Include opencv_highgui module into the OpenCV build.
51
52 config BR2_PACKAGE_OPENCV_LIB_IMGPROC
53         bool "imgproc"
54         default y
55         help
56           Include opencv_imgproc module into the OpenCV build.
57
58 config BR2_PACKAGE_OPENCV_LIB_LEGACY
59         bool "legacy"
60         default y
61         help
62           Include opencv_legacy module into the OpenCV build.
63
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.
69
70 config BR2_PACKAGE_OPENCV_LIB_NONFREE
71         bool "nonfree"
72         help
73           Include opencv_nonfree module into the OpenCV build.
74
75 config BR2_PACKAGE_OPENCV_LIB_OBJDETECT
76         bool "objdetect"
77         default y
78         help
79           Include opencv_objdetect module into the OpenCV build.
80
81 config BR2_PACKAGE_OPENCV_LIB_PHOTO
82         bool "photo"
83         default y
84         help
85           Include opencv_photo module into the OpenCV build.
86
87 comment "opencv_python module requires numpy which is not yet available."
88
89 config BR2_PACKAGE_OPENCV_LIB_STITCHING
90         bool "stitching"
91         default y
92         help
93           Include opencv_stitching module into the OpenCV build.
94
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.
101
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.
108
109 config BR2_PACKAGE_OPENCV_LIB_VIDEO
110         bool "video"
111         default y
112         help
113           Include opencv_video module into the OpenCV build.
114
115 config BR2_PACKAGE_OPENCV_LIB_VIDEOSTAB
116         bool "videostab"
117         default y
118         help
119           Include opencv_videostab module into the OpenCV build.
120
121 comment "Test sets"
122 config BR2_PACKAGE_OPENCV_BUILD_TESTS
123         bool "build tests"
124
125 config BR2_PACKAGE_OPENCV_BUILD_PERF_TESTS
126         bool "build performance tests"
127
128 comment "3rd party support"
129
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         help
136           Use ffmpeg from the target system.
137
138 config BR2_PACKAGE_OPENCV_WITH_GSTREAMER
139         bool "gstreamer support"
140         depends on BR2_USE_MMU # gstreamer -> libglib2
141         depends on BR2_USE_WCHAR # gstreamer -> libglib2
142         depends on BR2_TOOLCHAIN_HAS_THREADS # gstreamer -> libglib2
143         select BR2_PACKAGE_GSTREAMER
144         select BR2_PACKAGE_GST_PLUGINS_BASE
145         select BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP
146
147 comment "gstreamer support needs a toolchain w/ wchar, threads"
148         depends on BR2_USE_MMU
149         depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
150
151 config BR2_PACKAGE_OPENCV_WITH_GTK
152         bool "gtk support"
153         depends on BR2_PACKAGE_XORG7
154         depends on BR2_USE_WCHAR # libgtk2 -> libglib2
155         depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2 -> libglib2
156         depends on BR2_INSTALL_LIBSTDCPP
157         depends on BR2_USE_MMU # libgtk2 -> glib2
158         depends on BR2_ARCH_HAS_ATOMICS # libgtk2 -> cairo
159         depends on BR2_PACKAGE_OPENCV_LIB_HIGHGUI
160         select BR2_PACKAGE_LIBGTK2
161
162 config BR2_PACKAGE_OPENCV_WITH_JASPER
163         bool "jpeg2000 support"
164         select BR2_PACKAGE_JASPER
165         help
166           Enable jpeg2000 support.
167
168           Note: this does not use the libjasper bundled with opencv,
169           but uses the libjasper package installed system-wide by
170           Buildroot.
171
172 config BR2_PACKAGE_OPENCV_WITH_JPEG
173         bool "jpeg support"
174         select BR2_PACKAGE_JPEG
175         help
176           Use shared libjpeg from the target system.
177
178 config BR2_PACKAGE_OPENCV_WITH_PNG
179         bool "png support"
180         select BR2_PACKAGE_LIBPNG
181         help
182           Use shared libpng from the target system.
183
184 config BR2_PACKAGE_OPENCV_WITH_QT
185         bool "qt backend support"
186         depends on BR2_INSTALL_LIBSTDCPP
187         depends on BR2_USE_MMU # qt
188         depends on BR2_PACKAGE_OPENCV_LIB_HIGHGUI
189         select BR2_PACKAGE_QT
190         select BR2_PACKAGE_QT_STL
191         select BR2_PACKAGE_QT_GUI_MODULE
192         select BR2_PACKAGE_QT_TEST
193         help
194           Use Qt with QtTest module and STL support
195
196 config BR2_PACKAGE_OPENCV_WITH_TIFF
197         bool "tiff support"
198         select BR2_PACKAGE_TIFF
199         help
200           Use shared libtiff from the target system.
201
202 config BR2_PACKAGE_OPENCV_WITH_V4L
203         bool "v4l support"
204         help
205           Enable Video 4 Linux support.
206
207           If the package libv4l is enabled, its support is automatically enabled.
208
209 comment "Install options"
210
211 config BR2_PACKAGE_OPENCV_INSTALL_DATA
212         bool "install extra data"
213         help
214           Install various data that is used by cv libraries and/or demo
215           applications, specifically for haarcascades and lbpcascades
216           features.
217
218           For further information: see OpenCV documentation.
219
220 endif # BR2_PACKAGE_OPENCV
221
222 comment "opencv needs a toolchain w/ C++, NPTL, wchar"
223         depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS_NPTL)