diff --git a/arucoDetector.cpp b/arucoDetector.cpp index d302324..cc7f577 100644 --- a/arucoDetector.cpp +++ b/arucoDetector.cpp @@ -62,8 +62,10 @@ int main(int argc, char *argv[]) while (true) { + std::pair>>> r; + try { - auto r = detector.detectArucoTags({whiteFlower, purpleFlower, solarPanel}); + r = detector.detectArucoTags({whiteFlower, purpleFlower, solarPanel}); } catch (const std::exception& ex) { std::cerr << "Error: " << ex.what() << std::endl; return -1;