mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +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:
@@ -708,7 +708,7 @@ TEST(CV_ArucoMultiDict, multiMarkerDetection)
|
||||
vector<int> markerIds;
|
||||
vector<vector<Point2f> > rejectedImgPts;
|
||||
vector<int> dictIds;
|
||||
detector.detectMarkers(img, markerCorners, markerIds, rejectedImgPts, dictIds);
|
||||
detector.detectMarkersMultiDict(img, markerCorners, markerIds, rejectedImgPts, dictIds);
|
||||
ASSERT_EQ(markerIds.size(), 4u);
|
||||
ASSERT_EQ(dictIds.size(), 4u);
|
||||
for (size_t i = 0; i < dictIds.size(); ++i) {
|
||||
|
||||
Reference in New Issue
Block a user