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