Workpiece counting method and device based on visual identification and storage medium

The invention discloses a workpiece counting method and device based on visual recognition and a storage medium. The method comprises the steps of acquiring a workpiece image; extracting to obtain image features; converting the image features according to a self-attention mechanism to obtain query d...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WANG TIANLEI, ZHAI YIKUI, JIANG ZIYI, LIAO JINRUI, YAO JIAYAO, ZHOU WENLUE, LIANG YAQI, LIANG YANYANG
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 invention discloses a workpiece counting method and device based on visual recognition and a storage medium. The method comprises the steps of acquiring a workpiece image; extracting to obtain image features; converting the image features according to a self-attention mechanism to obtain query data, key value data and value data; performing spatial position coding and decoding on the image features; performing classification prediction on the decoding output to obtain prediction frame data; carrying out positioning processing based on target contour offset learning on the prediction frame data, and obtaining the number of workpieces; in order to solve the problems that the workpiece surface contour is irregular, the category is uncertain, the placing form has high randomness, and the background is complicated and messy, so that the visual identification workpiece counting difficulty is high, the rapid, accurate and stable workpiece counting work is realized. 本发明公开了一种基于视觉识别的计件方法、装置及存储介质,其中方法包括获取工件图像;提取得到图像