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
CN112101355APending Publication Date: 2020-12-18BEIJING BAIDU NETCOM SCI & TECH CO LTD

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING BAIDU NETCOM SCI & TECH CO LTD
Publication Date
2020-12-18

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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