Face comparison method and device, computer equipment and storage medium

The invention discloses a face comparison method and device, computer equipment and a storage medium. The method comprises the steps: training a first comparison model based on a preset color image through a deep neural network, and building a twin network according to the first comparison model; re...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HOU FANGCHAO, DAI ZHAOHUI, FANG LIHONG
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 face comparison method and device, computer equipment and a storage medium. The method comprises the steps: training a first comparison model based on a preset color image through a deep neural network, and building a twin network according to the first comparison model; respectively inputting the positive sample and the negative sample into a twin network to obtain feature vectors of the user color image and the user infrared image in the same sample; calculating a cosine similarity distance and KL divergence between the feature vectors of the two images, substituting the cosine similarity distance into a preset comparison loss function to obtain a comparison loss value, training a twin network according to the comparison loss value and the KL divergence, and obtaining a second comparison model after sample data iteration; inputting the target color image and the target infrared image into a second comparison model, and calculating and outputting a face comparison result according t