How to select version OpenCV in ROS ?
Hi,
My name is Junifer. I am a student at a university. I am working with ROS and OpenCV. I installed 2 version of OpenCV and Python in my computer.
OpenCV 3.4.3 - Python 3
OpenCV 2.4.8 - Python 2
And I realize that ROS is working with "OpenCV 2.4.8 - Python 2 ".
I want to use "OpenCV 3.4.3 - Python 3 " for ROS. What should i do now ?
Help me...Thank you so much !
Edit: Hi @l4ncelot, I tried but it's not working.
Question 1: Before run this code:
export PYTHONPATH=$PYTHONPATH:/opt/ros/indigo/lib/python3.5/dist-packages
Do i need to copy python3.4/dis-package folder to /opt/ros/indigo/lib/ ?
Case 1: I just run this code with without moving any file. Fisrt line is okay. Second line give an error:
sed: -e expression #1, char 12: unknown option to `s'
Case 2: I try to copy dist-package from python 3.4 folder (I using python 3.4). But i realized that content of python3.4/dist-package is different with python2.7/dist-package.
Particularly, python2.7/dist-package have files of ROS but python3.4/dist-package haven't them. Can you explain for me ?