1 menuconfig BR2_PACKAGE_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
8 OpenCV (Open Source Computer Vision) is a library of programming
9 functions for real time computer vision.
15 comment "OpenCV modules"
17 config BR2_PACKAGE_OPENCV_LIB_CALIB3D
21 Include opencv_calib3d module into the OpenCV build.
23 config BR2_PACKAGE_OPENCV_LIB_CONTRIB
27 Include opencv_contrib module into the OpenCV build.
29 config BR2_PACKAGE_OPENCV_LIB_FEATURES2D
33 Include opencv_features2d module into the OpenCV build.
35 config BR2_PACKAGE_OPENCV_LIB_FLANN
39 Include opencv_flann module into the OpenCV build.
41 config BR2_PACKAGE_OPENCV_LIB_GPU
44 Include opencv_gpu module into the OpenCV build.
46 config BR2_PACKAGE_OPENCV_LIB_HIGHGUI
50 Include opencv_highgui module into the OpenCV build.
52 config BR2_PACKAGE_OPENCV_LIB_IMGPROC
56 Include opencv_imgproc module into the OpenCV build.
58 config BR2_PACKAGE_OPENCV_LIB_LEGACY
62 Include opencv_legacy module into the OpenCV build.
64 config BR2_PACKAGE_OPENCV_LIB_ML
65 bool "ml (machine learning)"
68 Include opencv_ml module into the OpenCV build.
70 config BR2_PACKAGE_OPENCV_LIB_NONFREE
73 Include opencv_nonfree module into the OpenCV build.
75 config BR2_PACKAGE_OPENCV_LIB_OBJDETECT
79 Include opencv_objdetect module into the OpenCV build.
81 config BR2_PACKAGE_OPENCV_LIB_PHOTO
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
93 Include opencv_stitching module into the OpenCV build.
95 config BR2_PACKAGE_OPENCV_LIB_SUPERRES
99 Include opencv_superres "super resolution" - module into the OpenCV
102 config BR2_PACKAGE_OPENCV_LIB_TS
103 bool "ts (touchscreen)"
104 select BR2_PACKAGE_OPENCV_LIB_HIGHGUI
107 Include opencv_ts module into the OpenCV build.
109 config BR2_PACKAGE_OPENCV_LIB_VIDEO
113 Include opencv_video module into the OpenCV build.
115 config BR2_PACKAGE_OPENCV_LIB_VIDEOSTAB
119 Include opencv_videostab module into the OpenCV build.
122 config BR2_PACKAGE_OPENCV_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
137 Use ffmpeg from the target system.
140 prompt "gstreamer support"
142 OpenCV prefers gstreamer-1 over gstreamer-0.10.
144 config BR2_PACKAGE_OPENCV_WITHOUT_GSTREAMER
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
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
175 config BR2_PACKAGE_OPENCV_WITH_GTK
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
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
196 config BR2_PACKAGE_OPENCV_WITH_JPEG
198 select BR2_PACKAGE_JPEG
200 Use shared libjpeg from the target system.
202 config BR2_PACKAGE_OPENCV_WITH_PNG
204 select BR2_PACKAGE_LIBPNG
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
218 Use Qt with QtTest module and STL support
220 config BR2_PACKAGE_OPENCV_WITH_TIFF
222 select BR2_PACKAGE_TIFF
224 Use shared libtiff from the target system.
226 config BR2_PACKAGE_OPENCV_WITH_V4L
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"
238 Install various data that is used by cv libraries and/or demo
239 applications, specifically for haarcascades and lbpcascades
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)