package/opencv4-contrib: properly note dependencies between modules

Also, add myself to the DEVELOPERS file

Signed-off-by: Woodrow Douglass <wdouglass@carnegierobotics.com>
[Arnout: fix typo BR2_PACKAGE_OPENCV4_LIB_OBJDETECCT]
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
Woodrow Douglass 2022-11-25 07:38:01 -05:00 committed by Arnout Vandecappelle
parent 0aaeae26f6
commit a7736afaca
3 changed files with 30 additions and 3 deletions

View File

@ -3101,6 +3101,10 @@ F: package/python-pyusb/
N: Wojciech Niziński <niziak@spox.org> N: Wojciech Niziński <niziak@spox.org>
F: package/fwup/ F: package/fwup/
N: Woodrow Douglass <wdouglass@carnegierobotics.com>
F: package/opencv4
F: package/opencv4-contrib
N: Xuanhao Shi <X15000177@gmail.com> N: Xuanhao Shi <X15000177@gmail.com>
F: board/ti/am62x-sk/ F: board/ti/am62x-sk/
F: board/ti/am64x-sk/ F: board/ti/am64x-sk/

View File

@ -17,6 +17,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_ALPHAMAT
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_ARUCO config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_ARUCO
bool "aruco" bool "aruco"
select BR2_PACKAGE_OPENCV4_LIB_CALIB3D
help help
ArUco and ChArUco Markers -- Augmented reality ArUco marker ArUco and ChArUco Markers -- Augmented reality ArUco marker
and "ChARUco" markers where ArUco markers embedded inside the and "ChARUco" markers where ArUco markers embedded inside the
@ -29,6 +30,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_BARCODE
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_BGSEGM config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_BGSEGM
bool "bgsegm" bool "bgsegm"
select BR2_PACKAGE_OPENCV4_LIB_VIDEO
help help
Background segmentation algorithm combining statistical Background segmentation algorithm combining statistical
background image estimation and per-pixel Bayesian background image estimation and per-pixel Bayesian
@ -43,6 +45,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_BIOINSPIRED
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_CCALIB config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_CCALIB
bool "ccalib" bool "ccalib"
select BR2_PACKAGE_OPENCV4_LIB_HIGHGUI
help help
Custom Calibration -- Patterns for 3D reconstruction, Custom Calibration -- Patterns for 3D reconstruction,
omnidirectional camera calibration, random pattern calibration omnidirectional camera calibration, random pattern calibration
@ -71,6 +74,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DATASETS
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_OBJDETECT config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_OBJDETECT
bool "dnn_objdetect" bool "dnn_objdetect"
select BR2_PACKAGE_OPENCV4_LIB_DNN
help help
Object Detection using CNNs -- Implements compact CNN Model Object Detection using CNNs -- Implements compact CNN Model
for object detection. Trained using Caffe but uses for object detection. Trained using Caffe but uses
@ -78,6 +82,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_OBJDETECT
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_SUPERRES config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_SUPERRES
bool "dnn_superres" bool "dnn_superres"
select BR2_PACKAGE_OPENCV4_LIB_DNN
help help
Superresolution using CNNs -- Contains four trained Superresolution using CNNs -- Contains four trained
convolutional neural networks to upscale images. convolutional neural networks to upscale images.
@ -90,12 +95,14 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNNS_EASILY_FOOLED
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DPM config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DPM
bool "dpm" bool "dpm"
select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT
help help
Deformable Part Model -- Felzenszwalb's Cascade with Deformable Part Model -- Felzenszwalb's Cascade with
deformable parts object recognition code. deformable parts object recognition code.
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_FACE config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_FACE
bool "face" bool "face"
select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT
help help
Face Recognition -- Face recognition techniques: Eigen, Fisher Face Recognition -- Face recognition techniques: Eigen, Fisher
and Local Binary Pattern Histograms LBPH methods. and Local Binary Pattern Histograms LBPH methods.
@ -165,6 +172,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_MCC
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_OPTFLOW config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_OPTFLOW
bool "optflow" bool "optflow"
select BR2_PACKAGE_OPENCV4_LIB_VIDEO
help help
Optical Flow -- Algorithms for running and evaluating Optical Flow -- Algorithms for running and evaluating
deepflow, simpleflow, sparsetodenseflow and motion deepflow, simpleflow, sparsetodenseflow and motion
@ -219,6 +227,11 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_SALIENCY
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_SFM config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_SFM
bool "sfm" bool "sfm"
select BR2_PACKAGE_OPENCV4_LIB_IMGPROC
select BR2_PACKAGE_OPENCV4_LIB_IMGCODECS
select BR2_PACKAGE_EIGEN
select BR2_PACKAGE_GLOG
select BR2_PACKAGE_GFLAGS
help help
Structure from Motion -- This module contains algorithms Structure from Motion -- This module contains algorithms
to perform 3d reconstruction from 2d images. The core of to perform 3d reconstruction from 2d images. The core of
@ -231,6 +244,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_SHAPE
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_STEREO config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_STEREO
bool "stereo" bool "stereo"
select BR2_PACKAGE_OPENCV4_CONTRIB_LIB_TRACKING
help help
Stereo Correspondence -- Stereo matching done with different Stereo Correspondence -- Stereo matching done with different
descriptors: Census / CS-Census / MCT / BRIEF / MV and dense descriptors: Census / CS-Census / MCT / BRIEF / MV and dense
@ -244,6 +258,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_STRUCTURED_LIGHT
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_SUPERRES config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_SUPERRES
bool "superres" bool "superres"
select BR2_PACKAGE_OPENCV4_LIB_VIDEO
help help
Super Resolution Super Resolution
@ -262,12 +277,15 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_TEXT
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_TRACKING config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_TRACKING
bool "tracking" bool "tracking"
select BR2_PACKAGE_OPENCV4_LIB_VIDEO
help help
Vision Based Object Tracking -- Use and/or evaluate different Vision Based Object Tracking -- Use and/or evaluate different
visual object tracking techniques. visual object tracking techniques.
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_VIDEOSTAB config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_VIDEOSTAB
bool "videostab" bool "videostab"
select BR2_PACKAGE_OPENCV4_LIB_VIDEO
select BR2_PACKAGE_OPENCV4_LIB_PHOTO
help help
Video Stabilization Video Stabilization
@ -299,6 +317,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XIMGPROC
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XOBJDETECT config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XOBJDETECT
bool "xobjdetect" bool "xobjdetect"
select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT
help help
Boosted 2D Object Detection -- Uses a Waldboost cascade and Boosted 2D Object Detection -- Uses a Waldboost cascade and
local binary patterns computed as integral features for 2D local binary patterns computed as integral features for 2D
@ -306,6 +325,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XOBJDETECT
config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XPHOTO config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XPHOTO
bool "xphoto" bool "xphoto"
select BR2_PACKAGE_OPENCV4_LIB_PHOTO
help help
Extra Computational Photography -- Additional photo processing Extra Computational Photography -- Additional photo processing
algorithms: Color balance / Denoising / Inpainting. algorithms: Color balance / Denoising / Inpainting.

View File

@ -203,12 +203,10 @@ OPENCV4_CONF_OPTS += \
-DINSTALL_PYTHON_EXAMPLES=OFF \ -DINSTALL_PYTHON_EXAMPLES=OFF \
-DINSTALL_TO_MANGLED_PATHS=OFF -DINSTALL_TO_MANGLED_PATHS=OFF
# Disabled features (mostly because they are not available in Buildroot), but # Disabled features (mostly because they are not available in Buildroot)
# - eigen: OpenCV does not use it, not take any benefit from it.
OPENCV4_CONF_OPTS += \ OPENCV4_CONF_OPTS += \
-DWITH_1394=OFF \ -DWITH_1394=OFF \
-DWITH_CLP=OFF \ -DWITH_CLP=OFF \
-DWITH_EIGEN=OFF \
-DWITH_GDAL=OFF \ -DWITH_GDAL=OFF \
-DWITH_GPHOTO2=OFF \ -DWITH_GPHOTO2=OFF \
-DWITH_GSTREAMER_0_10=OFF \ -DWITH_GSTREAMER_0_10=OFF \
@ -284,6 +282,11 @@ OPENCV4_CONF_OPTS += \
-DBUILD_opencv_xphoto=$(if $(BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XPHOTO),ON,OFF) -DBUILD_opencv_xphoto=$(if $(BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XPHOTO),ON,OFF)
endif endif
ifeq ($(BR2_PACKAGE_OPENCV4_CONTRIB_LIB_SFM),y)
OPENCV4_DEPENDENCIES += eigen glog gflags
OPENCV4_CONF_OPTS += -DWITH_EIGEN=ON
endif
ifeq ($(BR2_PACKAGE_OPENCV4_JPEG2000_WITH_JASPER),y) ifeq ($(BR2_PACKAGE_OPENCV4_JPEG2000_WITH_JASPER),y)
OPENCV4_CONF_OPTS += -DWITH_JASPER=ON OPENCV4_CONF_OPTS += -DWITH_JASPER=ON
OPENCV4_DEPENDENCIES += jasper OPENCV4_DEPENDENCIES += jasper