A positioning method and device for image text
A positioning method and positioning device technology, applied in the field of image processing, can solve problems such as difficult models, low accuracy, and insufficient application scenarios, and achieve the effect of overcoming technical problems and improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0070] see figure 1 , figure 1 It is a schematic flowchart of a method for locating image characters disclosed in an embodiment of the present invention. Among them, the method shown in the embodiment of the present invention is applicable to electronic devices, such as smart phones, tablet computers, and desktop computers, etc., to quickly and accurately locate the position of each character from the captured character image, so as to facilitate subsequent character recognition To achieve the purpose of extracting text information from text images, the method and device for locating text in images provided in the embodiments of the present invention may be the above-mentioned electronic equipment. Such as figure 1 As shown, the positioning method of the image text may include the following steps:
[0071] 101. Perform connected domain marking on a text image to obtain at least one text connected domain.
[0072] In the embodiment of the present invention, before step 101 ...
Embodiment 2
[0082] see figure 2 , figure 2 It is a schematic flow chart of another image text positioning method disclosed in the embodiment of the present invention. Such as figure 2 As shown, the positioning method of the image text may include the following steps:
[0083] 201. Perform connected domain marking on the text image to obtain at least one text connected domain.
[0084] 202. Calculate an area corresponding to at least one text-connected domain, and filter out text-connected domains whose area exceeds a preset area threshold, to obtain at least one target text-connected domain.
[0085] In the embodiment of the present invention, text connected domains whose area exceeds the preset area threshold can be preliminarily determined as connected domains of non-text content, and can be connected domains corresponding to icons in the image, so these text connected domains with too large areas need to be filter processing.
[0086]203. Sorting at least one target text connec...
Embodiment 3
[0103] see image 3 , image 3 It is a schematic flow chart of another image text positioning method disclosed in the embodiment of the present invention. Such as image 3 As shown, the positioning method of the image text may include the following steps:
[0104] 301-306. Wherein, steps 301-306 are the same as steps 201-206 described in Embodiment 2, and the present invention is not limited here.
[0105] 307. Merge row units having a coordinate inclusion relationship in at least one row unit to obtain at least one target row unit.
[0106] In the embodiment of the present invention, if the distance between two target line units is too large, it can be preliminarily determined that the two target line units belong to the content of the upper and lower paragraphs of text, and then segment division can be performed according to the distance between the target line units. Specifically, as an optional implementation, it may be judged whether the distance between any two targ...
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