Hi everybody,
I’m sorry to bother you, but I’d like to know if someone has managed to change the opencv version while using ROS in Ros Development Studio.
I’m writing a python node where I need to call the cv2.connectedComponentsWithStats function, but I get the error "AttributeError: ‘module’ object has no attribute ‘connectedComponents’ ". After some researches, I’ve found out that this issue might be caused by the OpenCV version that I’m using (I checked it and it’s 2.4.9.1 currently). Thus, I’d like to update it at OpenCV 3.1.0, that I read should solve this issue.
I’ve already seen that another guy asked a tutorial about the same topic more or less (Tutorial on installing OpenCv).
Thank you for your time.