Config.in 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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.
  10. http://opencv.org/
  11. if BR2_PACKAGE_OPENCV
  12. comment "OpenCV modules"
  13. config BR2_PACKAGE_OPENCV_LIB_CALIB3D
  14. bool "calib3d"
  15. default y
  16. help
  17. Include opencv_calib3d module into the OpenCV build.
  18. config BR2_PACKAGE_OPENCV_LIB_CONTRIB
  19. bool "contrib"
  20. default y
  21. help
  22. Include opencv_contrib module into the OpenCV build.
  23. config BR2_PACKAGE_OPENCV_LIB_FEATURES2D
  24. bool "features2d"
  25. default y
  26. help
  27. Include opencv_features2d module into the OpenCV build.
  28. config BR2_PACKAGE_OPENCV_LIB_FLANN
  29. bool "flann"
  30. default y
  31. help
  32. Include opencv_flann module into the OpenCV build.
  33. config BR2_PACKAGE_OPENCV_LIB_GPU
  34. bool "gpu"
  35. help
  36. Include opencv_gpu module into the OpenCV build.
  37. config BR2_PACKAGE_OPENCV_LIB_HIGHGUI
  38. bool "highgui"
  39. default y
  40. help
  41. Include opencv_highgui module into the OpenCV build.
  42. config BR2_PACKAGE_OPENCV_LIB_IMGPROC
  43. bool "imgproc"
  44. default y
  45. help
  46. Include opencv_imgproc module into the OpenCV build.
  47. config BR2_PACKAGE_OPENCV_LIB_LEGACY
  48. bool "legacy"
  49. default y
  50. help
  51. Include opencv_legacy module into the OpenCV build.
  52. config BR2_PACKAGE_OPENCV_LIB_ML
  53. bool "ml (machine learning)"
  54. default y
  55. help
  56. Include opencv_ml module into the OpenCV build.
  57. config BR2_PACKAGE_OPENCV_LIB_NONFREE
  58. bool "nonfree"
  59. help
  60. Include opencv_nonfree module into the OpenCV build.
  61. config BR2_PACKAGE_OPENCV_LIB_OBJDETECT
  62. bool "objdetect"
  63. default y
  64. help
  65. Include opencv_objdetect module into the OpenCV build.
  66. config BR2_PACKAGE_OPENCV_LIB_PHOTO
  67. bool "photo"
  68. default y
  69. help
  70. Include opencv_photo module into the OpenCV build.
  71. comment "opencv_python module requires numpy which is not yet available."
  72. config BR2_PACKAGE_OPENCV_LIB_STITCHING
  73. bool "stitching"
  74. default y
  75. help
  76. Include opencv_stitching module into the OpenCV build.
  77. config BR2_PACKAGE_OPENCV_LIB_SUPERRES
  78. bool "superres"
  79. default y
  80. help
  81. Include opencv_superres "super resolution" - module into the OpenCV
  82. build.
  83. config BR2_PACKAGE_OPENCV_LIB_TS
  84. bool "ts (touchscreen)"
  85. select BR2_PACKAGE_OPENCV_LIB_HIGHGUI
  86. default y
  87. help
  88. Include opencv_ts module into the OpenCV build.
  89. config BR2_PACKAGE_OPENCV_LIB_VIDEO
  90. bool "video"
  91. default y
  92. help
  93. Include opencv_video module into the OpenCV build.
  94. config BR2_PACKAGE_OPENCV_LIB_VIDEOSTAB
  95. bool "videostab"
  96. default y
  97. help
  98. Include opencv_videostab module into the OpenCV build.
  99. comment "Test sets"
  100. config BR2_PACKAGE_OPENCV_BUILD_TESTS
  101. bool "build tests"
  102. config BR2_PACKAGE_OPENCV_BUILD_PERF_TESTS
  103. bool "build performance tests"
  104. comment "3rd party support"
  105. config BR2_PACKAGE_OPENCV_WITH_FFMPEG
  106. bool "ffmpeg support"
  107. select BR2_PACKAGE_BZIP2
  108. select BR2_PACKAGE_FFMPEG
  109. select BR2_PACKAGE_FFMPEG_SWSCALE
  110. help
  111. Use ffmpeg from the target system.
  112. config BR2_PACKAGE_OPENCV_WITH_GSTREAMER
  113. bool "gstreamer support"
  114. depends on BR2_USE_MMU # gstreamer -> libglib2
  115. depends on BR2_USE_WCHAR # gstreamer -> libglib2
  116. depends on BR2_TOOLCHAIN_HAS_THREADS # gstreamer -> libglib2
  117. select BR2_PACKAGE_GSTREAMER
  118. select BR2_PACKAGE_GST_PLUGINS_BASE
  119. select BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP
  120. comment "gstreamer support needs a toolchain w/ wchar, threads"
  121. depends on BR2_USE_MMU
  122. depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
  123. config BR2_PACKAGE_OPENCV_WITH_GTK
  124. bool "gtk support"
  125. depends on BR2_PACKAGE_XORG7
  126. depends on BR2_USE_WCHAR # libgtk2 -> libglib2
  127. depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2 -> libglib2
  128. depends on BR2_INSTALL_LIBSTDCPP
  129. depends on BR2_USE_MMU # libgtk2 -> glib2
  130. depends on BR2_ARCH_HAS_ATOMICS # libgtk2 -> cairo
  131. depends on BR2_PACKAGE_OPENCV_LIB_HIGHGUI
  132. select BR2_PACKAGE_LIBGTK2
  133. config BR2_PACKAGE_OPENCV_WITH_JASPER
  134. bool "jpeg2000 support"
  135. select BR2_PACKAGE_JASPER
  136. help
  137. Enable jpeg2000 support.
  138. Note: this does not use the libjasper bundled with opencv,
  139. but uses the libjasper package installed system-wide by
  140. Buildroot.
  141. config BR2_PACKAGE_OPENCV_WITH_JPEG
  142. bool "jpeg support"
  143. select BR2_PACKAGE_JPEG
  144. help
  145. Use shared libjpeg from the target system.
  146. config BR2_PACKAGE_OPENCV_WITH_PNG
  147. bool "png support"
  148. select BR2_PACKAGE_LIBPNG
  149. help
  150. Use shared libpng from the target system.
  151. config BR2_PACKAGE_OPENCV_WITH_QT
  152. bool "qt backend support"
  153. depends on BR2_INSTALL_LIBSTDCPP
  154. depends on BR2_USE_MMU # qt
  155. depends on BR2_PACKAGE_OPENCV_LIB_HIGHGUI
  156. select BR2_PACKAGE_QT
  157. select BR2_PACKAGE_QT_STL
  158. select BR2_PACKAGE_QT_GUI_MODULE
  159. select BR2_PACKAGE_QT_TEST
  160. help
  161. Use Qt with QtTest module and STL support
  162. config BR2_PACKAGE_OPENCV_WITH_TIFF
  163. bool "tiff support"
  164. select BR2_PACKAGE_TIFF
  165. help
  166. Use shared libtiff from the target system.
  167. config BR2_PACKAGE_OPENCV_WITH_V4L
  168. bool "v4l support"
  169. help
  170. Enable Video 4 Linux support.
  171. If the package libv4l is enabled, its support is automatically enabled.
  172. comment "Install options"
  173. config BR2_PACKAGE_OPENCV_INSTALL_DATA
  174. bool "install extra data"
  175. help
  176. Install various data that is used by cv libraries and/or demo
  177. applications, specifically for haarcascades and lbpcascades
  178. features.
  179. For further information: see OpenCV documentation.
  180. endif # BR2_PACKAGE_OPENCV
  181. comment "opencv needs a toolchain w/ C++, NPTL, wchar"
  182. depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS_NPTL)