0

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

[1]: https://i.stack.imgur.com/gVUve.png

enter image description here

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.

Example of dirty border/clean border enter image description here Clean enter image description here

Jessie Wilson
  • 69
  • 2
  • 7

0 Answers0