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 large amount of calculation, time-consuming, and large consumption of computing resources, and achieve the effects of improving efficiency and speed, reducing calculation amount, and saving computing resources
- 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 text region probability map and a text region number probability map corresponding to 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 but not limited to: accordi...
Embodiment 2
[0043] Embodiment 2 of the present application is based on the solution of Embodiment 1. Optionally, in an embodiment of the present application, step S102 may be implemented as step 102a and step 102b.
[0044] Exemplarily, in step 102a, binarize the text region probability map to obtain a text region binary map; in step 102b, perform an AND operation on the text region binary map and the text region number probability map to obtain a text region number map.
[0045] Wherein, through the AND operation, valid pixels in the text area number probability map can be retained, or noise pixels in the text area number probability map can be filtered out.
[0046] Optionally, in one embodiment of the present application, step 102b is implemented in the following manner: determining the pixel point corresponding to the pixel point representing the text in the text region number probability map and the text region binary map as an effective pixel point, the text area number probability ...
Embodiment 3
[0059] 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 101a-101d.
[0060] Step 101a, performing first text feature extraction on the text image to be detected.
[0061] 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. The outpu...
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