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 inaccurate detection results, achieve the effects of saving computing resources, reducing the amount of computing, and improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] 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:
[0029] Step S101 , perform feature extraction on the text image to be detected, and obtain a horizontal area probability map and a vertical area probability map corresponding to at least one text area in the text image to be detected.
[0030] 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 indicators for determining whether a certain text is a dense text can be appropriately set by those skilled in the art according to the actual situation, including bu...
Embodiment 2
[0041] Embodiment 2 of the present application is based on the solution of Embodiment 1. Optionally, in an embodiment of the present application, step S103 may be implemented as the following step S103a and step S103b.
[0042] Exemplarily, in step S103a, the connected domains are respectively calculated for the horizontal region binary graph and the vertical region binary graph, and corresponding at least one horizontal connected domain and at least one vertical connected domain are obtained; step S103b, according to at least one horizontal connected domain and at least A vertically connected domain to obtain the text detection results of the text image to be detected.
[0043] A text region corresponds to a horizontal connected domain and a vertical connected domain. For example, if a text image to be detected includes 100 text regions, after calculating the connected domains respectively for the horizontal region binary map and the vertical region binary map, 100 horizontal...
Embodiment 3
[0057] Embodiment 3 of the present application is based on the solutions of Embodiment 1 and Embodiment 2, wherein step S101 can also be implemented as the following steps S101a-step S101d.
[0058] Step S101a, performing first text feature extraction on the text image to be detected.
[0059] In the embodiment of the present application, when performing feature extraction on the text image to be detected, the text image to be detected can be input into the residual network part (such as the Resnet network) to extract the first text feature, such as extracting texture, edge, and corner points from the input image and semantic information, which are represented by 4 sets of feature maps of different sizes. Take the text image to be detected as the original image, and the Resnet network extracts the features of the original image as an example. The Resnet18 network is constructed by connecting four blocks in series. Each block includes several layers of convolution operations. T...
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