mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
have two detectMarkers functions for python backwards compatibility
using multiple dictionaries for refinement (function split not necessary as it's backwards compatible)
This commit is contained in:
@@ -142,6 +142,9 @@ class CV_ArucoRefine : public cvtest::BaseTest {
|
||||
params.useAruco3Detection = true;
|
||||
aruco::RefineParameters refineParams(10.f, 3.f, true);
|
||||
detector = aruco::ArucoDetector(dictionary, params, refineParams);
|
||||
detector.addDictionary(aruco::getPredefinedDictionary(aruco::DICT_5X5_250));
|
||||
detector.addDictionary(aruco::getPredefinedDictionary(aruco::DICT_4X4_250));
|
||||
detector.addDictionary(aruco::getPredefinedDictionary(aruco::DICT_7X7_250));
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user