Merge pull request #24807 from vrabaud:aruco_fix

Fix aruco detector thread safety.
pull/24819/head
Alexander Smorkalov 1 year ago committed by GitHub
commit b8f2d58f5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/objdetect/src/aruco/aruco_detector.cpp

@ -780,7 +780,7 @@ struct ArucoDetector::ArucoDetectorImpl {
vector<int> idsTmp(ncandidates, -1);
vector<int> rotated(ncandidates, 0);
vector<uint8_t> validCandidates(ncandidates, 0);
vector<bool> was(ncandidates, false);
vector<uint8_t> was(ncandidates, false);
bool checkCloseContours = true;
int maxDepth = 0;

Loading…
Cancel
Save