Text detection method, device, electronic device and computer storage medium
A text detection and text technology, applied in the computer field, can solve problems such as time-consuming, large computing resources, and consumption.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] Embodiment 1 of the present application provides a text detection method, such as figure 1 as shown, figure 1 It is a flow chart of a text detection method provided in the embodiment of the present application, and the text detection method includes the following steps:
[0030] Step 101, perform feature extraction on the text image to be detected and the gradient image of the text image to be detected to obtain text features, and obtain the text area threshold value map of the text image to be detected, the central area map of the text area, and the vertex offset of the central area according to the text feature prediction Quantitative feature map.
[0031] First of all, it should be noted that the text detection method in the embodiment of the present application is applicable to text detection with various text densities, including but not limited to regular density text, dense density text, sparse density text, especially dense density text. Among them, specific i...
Embodiment 2
[0059] like figure 2 As shown, the second embodiment of the present application is based on the solution of the first embodiment, and step 101 can also be implemented as the following steps 101a-101e.
[0060] Step 101a, acquiring the text image to be detected and the gradient image of the text image to be detected.
[0061] Step 101b, input the text image to be detected and the gradient image into the text detection model.
[0062] In this embodiment, the text detection model includes a first branch and a second branch. Wherein, the first branch includes a first residual network and a first attention layer, and the second branch includes a second residual network and a second attention layer. The first branch is used for feature extraction of the text image to be detected, and the second branch is used for feature extraction of the gradient image. The text detection model also includes a post-processing part, which performs subsequent processing based on the extracted fea...
Embodiment 3
[0079] In this embodiment, based on the text detection method provided in Embodiment 2, before inputting the text image and the gradient image to be detected into the text detection model, the text detection method further includes a process of training the text detection model. Optionally, the text image samples and the gradient image samples corresponding to the text image samples can be obtained; the text detection model is trained by using the text image samples and the gradient image samples.
[0080] When training the text detection model based on text image samples and gradient image samples, the text image samples and gradient image samples are input into the text detection model, and feature extraction and fusion are performed on the text image samples and gradient image samples through the text detection model to obtain the same The text region prediction probability map corresponding to the text image sample, the text region prediction threshold map, the prediction c...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com