andrewdcampbell / OpenCV-Document-Scanner

An interactive document scanner built in Python using OpenCV featuring automatic corner detection, image sharpening, and color thresholding.
479 stars 144 forks source link

dist_point_to_segment is removed in new version of matplotlib.mlab #9

Closed darshan-at closed 3 years ago

darshan-at commented 3 years ago

I am getting this error and when i checked from below this i found that it is removed. from matplotlib.mlab import dist_point_to_segment ImportError: cannot import name 'dist_point_to_segment' from 'matplotlib.mlab

https://matplotlib.org/3.1.0/api/api_changes.html

Pfed-prog commented 3 years ago

check the pull requests https://github.com/andrewdcampbell/OpenCV-Document-Scanner/pulls . After taking into account these edits the program works very well.

darshan-at commented 3 years ago

oh yeah thanks ,mine worked