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
136 Use ffmpeg from the target system.
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
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
151 config BR2_PACKAGE_OPENCV_WITH_GTK
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
162 config BR2_PACKAGE_OPENCV_WITH_JASPER
163 bool "jpeg2000 support"
164 select BR2_PACKAGE_JASPER
166 Enable jpeg2000 support.
168 Note: this does not use the libjasper bundled with opencv,
169 but uses the libjasper package installed system-wide by
172 config BR2_PACKAGE_OPENCV_WITH_JPEG
174 select BR2_PACKAGE_JPEG
176 Use shared libjpeg from the target system.
178 config BR2_PACKAGE_OPENCV_WITH_PNG
180 select BR2_PACKAGE_LIBPNG
182 Use shared libpng from the target system.
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
194 Use Qt with QtTest module and STL support
196 config BR2_PACKAGE_OPENCV_WITH_TIFF
198 select BR2_PACKAGE_TIFF
200 Use shared libtiff from the target system.
202 config BR2_PACKAGE_OPENCV_WITH_V4L
205 Enable Video 4 Linux support.
207 If the package libv4l is enabled, its support is automatically enabled.
209 comment "Install options"
211 config BR2_PACKAGE_OPENCV_INSTALL_DATA
212 bool "install extra data"
214 Install various data that is used by cv libraries and/or demo
215 applications, specifically for haarcascades and lbpcascades
218 For further information: see OpenCV documentation.
220 endif # BR2_PACKAGE_OPENCV
222 comment "opencv needs a toolchain w/ C++, NPTL, wchar"
223 depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS_NPTL)