You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that the edged image has edges bigger than the original document boundary.
It happens because of dilation. It would be better to replace it to closing or opening.
On my tests closing works a bit greater score. cv2.morphologyEx(gray, cv2.MORPH_CLOSE, kernel)
Hi!
I noticed that the edged image has edges bigger than the original document boundary.
It happens because of dilation. It would be better to replace it to closing or opening.
On my tests closing works a bit greater score.
cv2.morphologyEx(gray, cv2.MORPH_CLOSE, kernel)
OpenCV-Document-Scanner/scan.py
Line 194 in 412fbd2
The text was updated successfully, but these errors were encountered: