I ran this command to find out if my OpenCV version was 4:
kg-config --modversion opencv4
The outcome was:
I also tried importing it after calling python3 on the lxterminal, verifying that the version I'm using is 4.
My ROS distro is Noetic, would that version of OpenCV work here? Should I install OpenCV2? If the answer is affirmative, would that cause any conflict of interest with OpenCV4?
Thanks in advance for any input.
Post score: 0
Comment by Solrac3589 on 2020-09-24:
i could guess between opencv3 and opencv4, but opencv2 i think is so old, isn't?
from http://wiki.ros.org/vision_opencv Seems like the standard is opencv3 (at the end it says that). In melodic i had issues with 4.2 but nevertheless is possible to work with 4.2 if you search through internet, and personally seems to be much better in performance the 4.2, so, up to you