Scratch detection method, device and electronic equipment

The embodiment of the invention provides a scratch detection method, a scratch detection device and electronic equipment. The method comprises the following steps of acquiring an original image of a to-be-detected workpiece and a binarization threshold value corresponding to the to-be-detected workp...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: BAN YONGJIE, MA LI, YAN XIUYING, LIU JINYU, WANG JIANLONG, LIU WENWEN, CHEN ZHUO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention provides a scratch detection method, a scratch detection device and electronic equipment. The method comprises the following steps of acquiring an original image of a to-be-detected workpiece and a binarization threshold value corresponding to the to-be-detected workpiece; carrying out binarization treatment on the original image according to the binarization threshold value; carrying out skeleton extracting treatment on the image after being subjected to binarization treatment; determining whether the image contains scratches or not after the skeleton extracting treatment of the image. According to the embodiment of the scheme, the scratch detection efficiency can be improved. 本发明实施例提供了种划痕检测方法、装置和电子设备,所述方法包括:获取待检测工件的原始图像以及与所述待检测工件对应的二值化阈值;根据所述二值化阈值对所述原始图像进行二值化处理;对二值化处理后的图像进行骨架提取处理;确定骨架提取处理后的图像中是否含有划痕。通过实施本方案的实施例,可以提高划痕检测效率。