Commit Graph

6 Commits

Author SHA1 Message Date
Abhishek Gola
8073491846 features: tag DISK LightGlue regression test as memory-heavy
The test runs DISK plus LightGlue over 1024 keypoints and needs more
memory than the 32-bit Windows x86 build can hand out, so it died with
an OutOfMemoryError on a 512 MB allocation. Every other DNN-backed test
in the module already carries CV_TEST_TAG_MEMORY_2GB; this one was
missing it.
2026-10-07 13:01:40 +05:30
Abhishek Gola
019fe979b7 features: fix LightGlue test namespace guards and dedupe variant clone() 2026-10-05 13:55:45 +05:30
Yang Guanyuhan
cbdb91c237 features: use logger in DISK LightGlue test 2026-09-06 12:10:03 +08:00
Yang Guanyuhan
af8c72f022 features: flatten LightGlueMatcher::Type to namespace-scoped LightGlueType
Move the model-variant enum out of the class so it follows the same
namespace-scoped style as dnn::EngineType. Also relax the DISK LightGlue
test tolerance.
2026-09-06 12:10:03 +08:00
Yang Guanyuhan
30f950e2e4 features(test): relax DISK LightGlue regression with ±2 tolerance window
ONNX Runtime version differences in floating-point can shift match
indices. Replace exact-match assertions with ±2 tolerance on both
match count and per-match index comparison.
2026-09-06 12:10:03 +08:00
Yang Guanyuhan
d3249f7455 features: unify LightGlueMatcher with Type enum for ALIKED/DISK variants
Keep the single LightGlueMatcher public API from PR #28986. Add a Type
enum (ALIKED/DISK) to create() so users can select the model variant.
Internally, LightGlueMatcherImpl base class with two CV_FINAL subclasses
handles the variant-specific matching via pure virtual dispatch.
2026-09-06 12:10:03 +08:00