Text recognition method and device, storage medium and electronic equipment

The invention relates to a text recognition method and device, a storage medium and electronic equipment, and relates to the technical field of image processing, and the method comprises the steps: obtaining a to-be-recognized text image; taking the text image as input of a pre-trained text recognit...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: YIN CHENGHAO
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 relates to a text recognition method and device, a storage medium and electronic equipment, and relates to the technical field of image processing, and the method comprises the steps: obtaining a to-be-recognized text image; taking the text image as input of a pre-trained text recognition model to obtain a target recognition text corresponding to the text image output by the text recognition model; wherein the text recognition model is obtained by training a preset training model through a first target loss function and a second target loss function, and the first target loss function is obtained according to a target sample image corresponding to the sample image and a first sample recognition text corresponding to the target sample image; the second target loss function is obtained according to the sample image, a second sample recognition text corresponding to the sample image and a weight coefficient of each character in the second sample recognition text, and the target sample image is an i