I'm working on a project and I thought a nice addition would be able to detect these "dirty lines/borders" and alert the user if they have not properly dealt with them.
Example of these borders
I've been googling it this morning trying opencv, PIL, and numpy. I've been able to detect edges, but not quite what I want.
I've tried countless things, but none are what I wanted. This post came close. How to detect edge and crop an image in Python
Essentially I'd like detect these dirty lines somehow.