tests: enable disabled perf tests, remove orphaned ml perf files and unused test data generators (#30935)

* tests: re-enable and fix disabled perf tests, remove dead test code

Signed-off-by: abhishek-gola <abhishek@opencv.org>

* tests: drop OpticalFlowPyrLK_ovx, check RANSAC and multi-encode results, remove stale UPDATE_* hints

Signed-off-by: Abhishek Gola <abhishek.gola@bigvisionllc.com>

---------

Signed-off-by: abhishek-gola <abhishek@opencv.org>
Signed-off-by: Abhishek Gola <abhishek.gola@bigvisionllc.com>
This commit is contained in:
Abhishek Gola
2026-11-26 16:34:33 +05:30
committed by GitHub
parent 1a4423909c
commit 371782f3c4
13 changed files with 23 additions and 576 deletions

View File

@@ -209,10 +209,10 @@ PERF_TEST_P(Encode, multi, testing::ValuesIn(exts_multi))
vec.push_back(vec.back().clone());
circle(vec.back(), Point(100, 100), 45, Scalar(0, 0, 255, 0), 2, LINE_AA);
vector<uchar> buf;
EXPECT_TRUE(imwrite("test" + GetParam(), vec));
TEST_CYCLE() imencode(GetParam(), vec, buf);
EXPECT_FALSE(buf.empty());
std::cout << " Encoded buffer size: " << buf.size()
<< " bytes, Compression ratio: " << std::fixed << std::setprecision(2)
<< (static_cast<double>(buf.size()) / (vec[0].total() * vec[0].channels())) * 100.0 << "%" << std::endl;