opencv/modules
Daniel Cauchi 9d37cdaa66
Merge pull request #18891 from CowKeyMan:NMS_boxes_with_different_labels
Add option for NMS for boxes with different labels

* DetectionModel impl

* Add option for NMS for boxes with different labels

In the detect function in modules/dnn/include/opencv2/dnn/dnn.hpp, whose implementation can be found at modules/dnn/src/model.cpp, the Non Max Suppression (NMS) is applied only for objects of the same label. Thus, a flag
was added with the purpose to allow developers to choose if they want to keep the default implementation or wether they would like NMS to be applied to all the boxes, regardless of label.

The flag is called nmsDifferentLabels, and is given a default value of false, which applies the current default implementation, thus allowing existing projects to update opencv without disruption

Solves issue opencv#18832

* Change return type of set & Add default constr

* Add assertions due to default constructor
2020-12-01 13:50:24 +00:00
..
calib3d calib3d: eliminate 'register' build warning 2020-11-20 20:32:59 +00:00
core Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-11-27 14:08:06 +00:00
dnn Merge pull request #18891 from CowKeyMan:NMS_boxes_with_different_labels 2020-12-01 13:50:24 +00:00
features2d Merge pull request #18924 from alalek:4.x-xcode12 2020-11-26 22:56:59 +00:00
flann Merge pull request #18243 from alalek:static_code_fixes 2020-09-02 22:50:00 +00:00
gapi Merge pull request #18967 from anton-potapov:reuse_move_through_copy 2020-12-01 12:57:06 +00:00
highgui Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-11-20 20:32:00 +00:00
imgcodecs Merge pull request #18826 from Rightpoint:feature/colejd/build-catalyst-xcframework 2020-11-24 21:54:54 +00:00
imgproc objc: rework headers import 2020-11-15 05:24:01 +00:00
java java: workaround handling of base class 2020-11-16 06:03:30 +00:00
js Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-10-26 20:07:47 +00:00
ml Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-09-28 21:33:29 +00:00
objc Merge pull request #18826 from Rightpoint:feature/colejd/build-catalyst-xcframework 2020-11-24 21:54:54 +00:00
objdetect Fix issues found by static analysis 2020-11-11 13:59:01 +03:00
photo Add Objective-C/Swift wrappers for opencv_contrib modules 2020-07-21 19:19:08 +09:00
python pre: OpenCV 4.5.1 (version++) 2020-11-18 11:04:54 +00:00
stitching Merge pull request #18335 from chargerKong:master 2020-11-19 16:59:33 +00:00
ts Merge pull request #18924 from alalek:4.x-xcode12 2020-11-26 22:56:59 +00:00
video Merge pull request #18838 from alalek:video_tracking_api 2020-11-18 11:04:15 +00:00
videoio Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-11-27 14:08:06 +00:00
world Merge pull request #13422 from mshabunin:split-videoio-cmake 2018-12-26 15:50:20 +03:00
CMakeLists.txt