Label image generation method and apparatus

The invention provides a label image generation method and apparatus. The method comprises the following steps: if the quantity of effective labels in an effective label image set is smaller than a first preset quantity, randomly generating a first label image; calculating a distance between the fir...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Jiang Huabing, Li Xiaoshan, Zhao Liang, Luo Xuan, Li Lan, Sun Bin, Xu Haoming, Ji Pengju, Zou Wulin, Guan Wei, Zhang Gan, Wu Kun, Mi Wanzhu, Wu Liyin, Kang Lifang, Luo Chengxiong, Liao Kai, Fang Yuan, Zhang Haijian, Shu Jian
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 provides a label image generation method and apparatus. The method comprises the following steps: if the quantity of effective labels in an effective label image set is smaller than a first preset quantity, randomly generating a first label image; calculating a distance between the first label image and the effective label image set; and if the distance between the first label image and the effective label image set is greater than a preset distance threshold, determining that the first label image is an effective label image, and adding the first label image to the effective label image set. Therefore, there are certain distances between label images in the effective label image set, and there are quite large differences between the label images. 本发明提供种标签图像生成方法和装置,该方法包括:若有效标签图像集合中的有效标签数量小于第预设数量,则随机生成第标签图像;计算第标签图像与有效标签图像集合的距离;若第标签图像与有效标签图像集合的距离大于预设距离阈值,则确定第标签图像为有效标签图像,将第标签图像添加到有效标签图像集合中,因而,有效标签图像集合中的各标签图像之间都具有定的距离,各标签图像间存在较大差异性。