Detection model training method and device, single character detection method and device, equipment and medium
A detection model and training method technology, applied in the computer field, can solve the problems of personal privacy data leakage of certificate data, high data labeling costs, etc., and achieve the effect of reducing data labeling costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] Figure 1a It is a flowchart of a text word detection model training method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation when the text word detection model is trained. The method can be executed by a text word detection model training device, which can be implemented in software and / or hardware, for example, the text word detection model training device can be configured in a computer device. Such as Figure 1a As shown, the method includes:
[0040] S110. Acquire sample image data, wherein the sample image data includes sample position data marking the position of a single character and sample quantity data including the number of marked characters.
[0041] In this embodiment, in order to reduce the cost of data labeling during model training, part of the sample images can be marked with their word positions to obtain the sample position data marked with the word positions, and the number of characters in part of t...
Embodiment 2
[0059] figure 2 It is a flow chart of a text word detection method provided by Embodiment 2 of the present invention. This embodiment is applicable to the situation of detecting a single-character text box in an image. The method may be executed by a text word detection device, and the text word detection device may be implemented in software and / or hardware, for example, the text word detection device may be configured in a computer device. Such as figure 2 As shown, the method includes:
[0060] S210. Acquire an image to be detected.
[0061] In this embodiment, the image to be detected may be a single-line text image generated according to the image to be recognized requiring text recognition. Optionally, the image to be recognized may be detected by a text detector, and the image to be recognized may be preprocessed to obtain the image to be detected. The text detector can be detectors such as An Efficient and Accurate Scene Text Detector (EAST), natural scene text ...
Embodiment 3
[0068] An embodiment of the present invention provides a weakly supervised text word detection method based on deep learning, and this embodiment provides a preferred embodiment on the basis of the foregoing embodiments. This embodiment mainly includes two parts: model training and model prediction.
[0069] Figure 3a It is a flow chart of model training of a method for detecting single words in text with weak supervision based on deep learning provided by Embodiment 3 of the present invention. Such as Figure 3a As shown, the method includes:
[0070] S310. Generate training data with word positions.
[0071] In this embodiment, the training data includes image text data with word positions and weakly supervised image text data without word positions. Optionally, the form of the image text data is unnatural scene data including a single-line text image.
[0072] Optionally, the generation of text data with a single word position can be: collect corpus in the form of tex...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


