diff --git a/arucoDetector.cpp b/arucoDetector.cpp index cc7f577..c854f67 100644 --- a/arucoDetector.cpp +++ b/arucoDetector.cpp @@ -62,7 +62,7 @@ int main(int argc, char *argv[]) while (true) { - std::pair>>> r; + std::pair>>> r = std::make_pair(-1, std::vector>>()); try { r = detector.detectArucoTags({whiteFlower, purpleFlower, solarPanel});