object has no attribute 'DIST_L2'
When I run the example of Image Segmentation with Watershed Algorithm(link is listed below), this has error "object has no attribute 'DIST_L2'" dist_transform = cv2.distanceTransform(opening, cv2.DIST_L2, 5)
What's wrong with it? Thanks
I see same issue with OpenCV version 2.4.8 distributed with ROS Jade.
Did you find a solution?