From 5567b2e8c2d5c5101db5ceeb947b0dc6d17706c6 Mon Sep 17 00:00:00 2001 From: francois Date: Fri, 29 Apr 2022 09:25:37 +0900 Subject: [PATCH] solve bug in charuco board creation --- src/main_create_charuco.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main_create_charuco.cpp b/src/main_create_charuco.cpp index 2f54cc2c..9556f091 100644 --- a/src/main_create_charuco.cpp +++ b/src/main_create_charuco.cpp @@ -56,7 +56,7 @@ int main(int argc, char *argv[]) { // Create the charuco cv::Ptr dict = cv::aruco::getPredefinedDictionary(cv::aruco::DICT_6X6_1000); - std::vector> charucoBoards(NbBoard); + std::vector> charucoBoards; int offset_count = 0; for (int i = 0; i < NbBoard; i++) { // declare the board