Form recognition method and device in image, electronic equipment and storage medium
A recognition method, a technology in an image, applied in the field of image recognition
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0082] Such as figure 1 As shown, the present invention provides a kind of form recognition method in the image, comprises the following steps:
[0083] S1. Obtain an image containing a table area to be identified;
[0084] In this embodiment, the image to be recognized includes a table area, and there may be one or more table areas, which is not limited in this embodiment. If the form is in paper format, you can scan the paper form with a scanner or use an electronic device such as a mobile phone with a scanning function to shoot and perform projection transformation correction to obtain an image to be recognized. Such as figure 2 shown.
[0085] S2. Use the deep learning model and the straight line detection method to perform cascade correction on the image; the implementation method is as follows:
[0086] S201. Use the deep learning model to classify the image horizontally and vertically, and adjust the image to be horizontal;
[0087] S202. Use the text detection me...
Embodiment 2
[0138] Based on the above method, the present invention also provides a recognition device for a form in an image, such as Figure 12 shown, including:
[0139] The image acquisition module is used to obtain the image containing the table area to be recognized; the image correction module is used to perform cascading correction on the image by using the deep learning model and the line detection method respectively; the table area detection module is used to use the deep learning model to detect The table area in the image after cascading correction is output; the table structure recognition module is used to detect row list grid lines from the table area image and reconstruct the table structure; the cell text recognition module is used to segment the text in the cell in the table structure Text, and use the text recognition model to recognize the text in the cell; the output module is used to format and output the recognition result, and complete the recognition of the table...
Embodiment 3
[0142] The present invention also provides an electronic device, including a processor, and a memory connected to the processor, the memory is used to store executable instructions of the processor; the executable instructions are loaded and executed by the processor, so as to realize the Operations performed in the table recognition method in images described above.
[0143] In this embodiment, the memory can be used to store software programs and various data. The memory can include a program storage area and a data storage area. The program storage area can store an operating system and an application program required by at least one function. The storage data area can store combined image information or target image information, etc. In addition, the memory may include high-speed random access memory or non-volatile memory, such as at least one magnetic disk storage device, flash memory device or other volatile solid-state storage devices.
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