opencv/modules/objdetect/src
Dhanwanth1803 c04750ab57
Merge pull request #25091 from Dhanwanth1803:scoreThresh
Fixes #25056 : Optimising postProcess(const std::vector<Mat>& output_blobs) #25091

Like mentioned in the issue #25056 , I think checking the condition with `scoreThreshold` and then assigning the bounding boxes can optimize the function pretty well. By doing this, we prevent allocating boxes to faces with scores below the threshold. It also reduces the amount of data that needs to be processed during the subsequent NMS step. Builds and passed locally.

- [X] I agree to contribute to the project under Apache 2 License.
- [X] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [X] The PR is proposed to the proper branch
- [X] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake

Co-authored-by: Dhanwanth1803 <dhanwanthvarala@gmail,com>
2024-02-27 12:10:52 +03:00
..
aruco fix unnecessary copying 2024-02-18 23:45:49 +03:00
barcode_decoder Fixed barcode to be built without DNN 2023-06-16 15:12:49 +03:00
barcode_detector Merge pull request #23666 from mshabunin:barcode-move 2023-06-14 22:21:38 +03:00
opencl fix test failure on ODROID-N2 2020-04-28 21:46:31 +09:00
barcode.cpp Merge pull request #25035 from AleksandrPanov:fix_Barcode_detectAndDecode 2024-02-16 16:37:49 +03:00
cascadedetect_convert.cpp backport: checks and fixes from static code analyzers results 2020-09-02 19:05:47 +00:00
cascadedetect.cpp Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-12-03 12:32:49 +00:00
cascadedetect.hpp Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2019-07-25 19:21:47 +00:00
detection_based_tracker.cpp Merge pull request #21107 from take1014:remove_assert_21038 2021-11-27 18:34:52 +00:00
face_detect.cpp Merge pull request #25091 from Dhanwanth1803:scoreThresh 2024-02-27 12:10:52 +03:00
face_recognize.cpp Merge pull request #23109 from seanm:misc-warnings 2023-10-06 13:33:21 +03:00
graphical_code_detector_impl.hpp Merge pull request #24548 from dkurt:qrcode_struct_append_decode 2024-02-01 16:15:14 +03:00
graphical_code_detector.cpp added graphicalCodeDetector, remove QRCodeDetectorBase 2023-06-08 14:50:58 +03:00
hog.cpp Clean up the Universal Intrinsic API. 2023-10-13 19:23:30 +08:00
main.cpp IPPInitSingelton was added to contain IPP related global variables; 2015-10-01 09:58:48 +03:00
precomp.hpp Merge pull request #23736 from seanm:c++11-simplifications 2024-01-19 16:53:08 +03:00
qrcode_encoder_table.inl.hpp Merge pull request #24299 from dkurt:qrcode_decode 2023-11-24 11:35:36 +03:00
qrcode_encoder.cpp Merge pull request #24548 from dkurt:qrcode_struct_append_decode 2024-02-01 16:15:14 +03:00
qrcode.cpp fixed setArucoParameters/getArucoParameters 2024-02-19 00:12:36 +03:00