Ask Your Question

detect scratches in images of glass and calculate length, number, and other characteristics

asked 2018-01-02 18:34:08 -0600

dkeidel gravatar image

I am new to this field of image processing, but have been reading that openCV might be a good candidate library to use to solve my problem. I have images of cell phone cover glass with scratches in them. I want to not only detect the scratches in the image, but I also want to characterize those scratches. I want to find the total number of scratches, length, width, area, etc.

Can anyone point me in the right direction? Is openCV a good candidate library to solve problems such as these? If openCV is a good choice, what algorithms I should focus on?

Thank you in advance for all your help.

edit retag flag offensive close merge delete


It's an interesting question, but do you have a few example photos to go on? I'd rather have the accompanying code, in C++ and Python, running successfully before I answer a question.

sjhalayka gravatar imagesjhalayka ( 2018-01-02 19:44:15 -0600 )edit

hey @dkeidel did you find your answer? I too have the same question and was hoping if you had any progress?

hxn23 gravatar imagehxn23 ( 2020-03-21 23:30:54 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2018-01-02 20:32:20 -0600

supra56 gravatar image

updated 2018-01-02 20:32:46 -0600

This would give you a nice example: crack-detect

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-01-02 18:34:08 -0600

Seen: 3,052 times

Last updated: Jan 02 '18