diff --git a/arucoDetector.cpp b/arucoDetector.cpp index 58731df..9d62040 100644 --- a/arucoDetector.cpp +++ b/arucoDetector.cpp @@ -55,7 +55,7 @@ int main() std::vector markerIds; std::vector> markerCorners; - cv::aruco::detectMarkers(frame, dictionary, markerCorners, markerIds, detectorParams); + cv::aruco::detectMarkers(frame, &dictionary, markerCorners, markerIds, &detectorParams); // 4.9 // detector.detectMarkers(frame, markerCorners, markerIds);