UbiquityRobotics / fiducials

Simultaneous localization and mapping using fiducial markers.
BSD 3-Clause "New" or "Revised" License
265 stars 135 forks source link

Aruco unit tests do not compile under OpenCV 4.2 (noetic) #255

Closed rohbotics closed 3 years ago

rohbotics commented 3 years ago
/home/rohan/noetic_catkin/src/fiducials/aruco_detect/test/aruco_images_test.cpp: In member function ‘void ArucoImagesTest::publish_image(std::string)’:
/home/rohan/noetic_catkin/src/fiducials/aruco_detect/test/aruco_images_test.cpp:44:54: error: ‘CV_LOAD_IMAGE_COLOR’ was not declared in this scope
   44 |     cv::Mat image = cv::imread(image_directory+file, CV_LOAD_IMAGE_COLOR);