Method and device for detecting text in image, electronic equipment and computer medium

A technology of text detection and detection method, which is applied in the field of image processing, can solve the problems of few detection methods, and achieve the effects of high accuracy, improved efficiency, and accurate position

Pending Publication Date: 2020-12-18
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing image detection technology usually detects conventional Chinese characters such as horizontal or vertical in the image, and there are few detection methods for the position of complex text lines mixed with curved and non-curved in the bill image

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for detecting text in image, electronic equipment and computer medium
  • Method and device for detecting text in image, electronic equipment and computer medium
  • Method and device for detecting text in image, electronic equipment and computer medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0019] figure 1 A flow 100 of an embodiment of the method for detecting text in images according to the present application is shown. The above-mentioned text detection method in an image comprises the following steps:

[0020] Step 101, determine an annotation template in an annotation image and a text line in the annotation template.

[0021] In this embodiment,...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device for detecting a text in an image, and relates to the technical field of image processing. A specific embodiment of the method comprises the steps of determining a labeling template in a labeling image and a text line in the labeling template; based on the shape of the labeling template contour, labeling the characters in all the text lines by adoptingat least one polygonal labeling box to obtain a character labeling sample; training the text detection model based on the text annotation sample to obtain a trained text detection model, the input ofthe trained text detection model being an image, and the output being the position of the Chinese row of the image; and predicting the text lines in the image to be detected by adopting the trained text detection model to obtain the positions of the text lines output by the trained text detection model. According to the embodiment, the text detection efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of image processing, in particular to the technical field of computer vision, and in particular to a method, device, electronic device and computer-readable medium for detecting text in an image. Background technique [0002] In daily life, VAT invoices, medical bills and other bills need to be stamped before they can be used in the reimbursement process. The seal is generally engraved with information such as the company name, seal type, and stamp number, and generally contains two types of text lines: curved text lines and straight line text lines. [0003] The existing image detection technology usually detects conventional Chinese characters such as horizontal or vertical in the image, and there are few methods for detecting the position of complex character lines mixed with curved and non-curved in the bill image. Contents of the invention [0004] Provided are a text detection method in an...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06K9/32G06K9/62
CPCG06V20/62G06F18/214
Inventor 杜泓江庞敏辉谢国斌
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products