mirror of
https://github.com/opencv/opencv.git
synced 2025-06-08 01:53:19 +08:00
Merge pull request #24807 from vrabaud:aruco_fix
Fix aruco detector thread safety.
This commit is contained in:
commit
b8f2d58f5b
@ -780,7 +780,7 @@ struct ArucoDetector::ArucoDetectorImpl {
|
|||||||
vector<int> idsTmp(ncandidates, -1);
|
vector<int> idsTmp(ncandidates, -1);
|
||||||
vector<int> rotated(ncandidates, 0);
|
vector<int> rotated(ncandidates, 0);
|
||||||
vector<uint8_t> validCandidates(ncandidates, 0);
|
vector<uint8_t> validCandidates(ncandidates, 0);
|
||||||
vector<bool> was(ncandidates, false);
|
vector<uint8_t> was(ncandidates, false);
|
||||||
bool checkCloseContours = true;
|
bool checkCloseContours = true;
|
||||||
|
|
||||||
int maxDepth = 0;
|
int maxDepth = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user