Open portgasray opened 4 years ago
I tried to uninstall OpenCV, my former version is 4.1.2
. I really put my foot in my mouth, I deleted all the relevant opencv files by a script from the internet, and this manner took me almost 3 hours to recover the environment, it's a profound lesson l learned. fortunately, I solved this problem by re-install opencv 3.4.2 (same as the document OPEN_SOURCE_CODE_README, recommend to use it!)
Yes, the aruco marker only works with OpenCV 3.x. Your OpenCV 4.x is installed from OpenVINO install. Next time you can change your CMakeLists.txt
to find_package(OpenCV 3.4 REQUIRED)
to avoid manually removing all the OpenCV binaries. Or use install commands in rdk to install all the connected components, regarding the recent pains in the installation process.
Good reminding to add support to OpenCV 4.x. Thanks for reporting the issue.
colcon build error:
cause by opencv, I am not sure.