Skip to content

Add perf test for popular models#28945

Open
varun-jaiswal17 wants to merge 7 commits into
opencv:5.xfrom
varun-jaiswal17:add-perf-test
Open

Add perf test for popular models#28945
varun-jaiswal17 wants to merge 7 commits into
opencv:5.xfrom
varun-jaiswal17:add-perf-test

Conversation

@varun-jaiswal17
Copy link
Copy Markdown
Contributor

@varun-jaiswal17 varun-jaiswal17 commented May 6, 2026

requires (YOLO26n , RetinaFace model download) : opencv/opencv_extra#1357

added performance tests for 14 modern deep learning models to modules/dnn/perf/perf_net.cpp.

Tests added

  • RT_DETR_L
  • RF_DETR
  • Grounding_DINO
  • BlazeFace
  • RetinaFace
  • YOLO26n
  • YOLO26m_Seg
  • SegFormer_B2_Clothes
  • Depth_Anything_V2
  • SigLIP
  • OWLv2
  • RAFT
  • SAM2_Encoder
  • SAM2_Decoder

Models are available at: https://drive.google.com/drive/folders/1lpYAWSLMtxcmfDtYjiw0qwzZX0bCH-i4

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • 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
  • The PR is proposed to the proper branch
  • 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

Comment thread modules/dnn/perf/perf_net.cpp Outdated
@asmorkalov
Copy link
Copy Markdown
Contributor

Generic comments about the PR:

  1. Please replace the URLs with the original urls, where it's possible.
  2. It makes sense to enable the tests by default. For now the tests are guarded by CV_TEST_TAG_DEBUG_LONG and the tests are not executed by default and in CI.

Comment thread modules/dnn/perf/perf_net.cpp
@asmorkalov
Copy link
Copy Markdown
Contributor

BlaseFace model was added with block layout support PR #28839

@asmorkalov
Copy link
Copy Markdown
Contributor

@varun-jaiswal17 Please rebase and fix conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants