I need to get an image before the scratch is made. One possible technique is to compare the value of the pixels at both the boundaries of the scratch. Also, how do I identify this scratch and draw a line over it in python using OpenCV? I have tried the Hough's method but no luck.