Visual detection method for defect screening of cinnamon sticks
The invention relates to the technical field of defect screening of cinnamon sticks, and discloses a defect screening visual detection method of cinnamon sticks, which comprises the following steps: S101, acquiring an image by using an industrial camera, graying the acquired original image according...
Gespeichert in:
Hauptverfasser: | , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to the technical field of defect screening of cinnamon sticks, and discloses a defect screening visual detection method of cinnamon sticks, which comprises the following steps: S101, acquiring an image by using an industrial camera, graying the acquired original image according to a certain method, and performing gray screening on the grayed image to obtain a screened image; using a gray scale screening method to obtain an area where the cinnamon sticks are located; s102, carrying out regional differencing on the region where the original image is located and the region where the cinnamon stick is located to obtain the region where the background is located; s103, performing region segmentation on the region where the background is located to obtain the background and some small noise points, and selecting the background by using area feature selection; s104, obtaining a difference between the background and the original image to obtain a cinnamon stick region without noise points and wi |
---|