Text detection method, device, electronic device and computer storage medium
A text detection and text technology, applied in the computer field, can solve the problems of reducing text detection speed, consuming large computing resources, and large amount of calculation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] 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:
[0034] Step S101 , perform feature extraction on the text image to be detected, and obtain a text region threshold map corresponding to the text image to be detected, a text region boundary point probability map, and coordinate offsets between text region boundary points and adjacent boundary points.
[0035] 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...
Embodiment 2
[0046] 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.
[0047] Exemplarily, in step S103a, an AND operation is performed on the binary image of the text frame and the binary image of the boundary points of the text region to obtain the boundary image of the text region.
[0048] Wherein, the text area boundary map is used to represent the boundary points located on the frame of the text area. Through the AND operation, effective pixels in the binary image of the boundary points of the text region can be retained, or noise pixels in the binary image of the boundary points of the text region can be filtered out.
[0049] Optionally, in one embodiment of the present application, step S103a is implemented in the following manner: determine the pixel points corresponding to the pixel points representing the text frame i...
Embodiment 3
[0070] 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.
[0071] Step S101a, performing first text feature extraction on the text image to be detected.
[0072] In the embodiment of the present application, when feature extraction is performed on the text image to be detected, the text image to be detected is input into the residual network part (such as the Resnet network), and the first text feature is extracted, and the texture, edge, corner and Features such as 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 output of the firs...
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