Character detection method and apparatus

US10769484B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10769484-B2
Application numberUS-201715419958-A
CountryUS
Kind codeB2
Filing dateJan 30, 2017
Priority dateDec 30, 2016
Publication dateSep 8, 2020
Grant dateSep 8, 2020

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Disclosed embodiments relate to a character detection method and apparatus. In some embodiments, the method includes: using an image including an annotated word as an input to a machine learning model; selecting, based on a predicted result of characters inside an annotation region of the annotated word predicted and annotation information of the annotated word, characters for training the machine learning model from the characters inside the annotation region of the annotated word predicted; and training the machine learning model based on features of the selected characters. This implementation manner implements the full training of a machine learning model by using existing word level annotated images, to obtain a machine learning model capable of detecting characters in images, thereby reducing the costs for the training of a machine learning model capable of detecting characters in images.

First claim

Opening claim text (preview).

What is claimed is: 1. A character detection method, comprising: using an image including an annotated word as an input to a machine learning model, comprising: using a word level annotated image in a word level annotated dataset as the image including the annotated word, the word level annotated image comprising an annotation box surrounding the word for annotating the position of the word; selecting, based on a predicted result for characters being inside an annotation region of the annotated word and predicted by the machine learning model and annotation information of the annotated word, characters for training the machine learning model from the characters being inside the annotation region of the annotated word and predicted by the machine learning model, wherein the predicted result comprises: bounding boxes corresponding to the characters being inside the annotation region of the annotated word and confidence levels corresponding to the characters being inside the annotation region of the annotated word, and the annotation information comprises a bounding box corresponding to the annotated word; training the machine learning model based on features of the selected characters; and detecting characters in an image by using the trained machine learning model, wherein the selecting characters for training the machine learning model from the characters being inside the annotation region of the annotated word and predicted by the machine learning model comprises: calculating k neighbors for the bounding boxes corresponding to the characters being inside the annotation region of the annotated word and predicted by the machine learning model, to obtain a connection relationship between the characters, wherein each of the characters is connected to k other characters; calculating a weight w ij between two connected characters by using the following formula: w ij = exp ⁡ ( - d ⁡ ( i , j ) d _ ) · ( t i + t j ) wherein the two connected characters constitute a character connection pair, d(i, j) represents a distance between the two connected characters, d represents an average distance between characters in all character connection pairs, and t i and t j represent respective confidence levels corresponding to the two connected characters; finding a maximum spanning tree, wherein the maximum spanning tree comprises sequentially connected characters predicted by the machine learning model, and the sum of the weights between the characters is the greatest; executing the following selection operation: pruning each character connection pair in a current tree to obtain multiple subtrees, wherein when the selection operation is executed for the first time, the current tree is the maximum spanning tree; calculating a score s of a subtree or the current tree by using the following formula: s = w · s ⁢ ⁢ 1 + ( 1 - w ) · s ⁢ ⁢ 2 s ⁢ ⁢ 1 = area ⁡ ( B chars ) area ⁡ ( B anno ) s ⁢ ⁢ 2 = 1 - λ 2 λ 1 wherein B chars represents a bounding box corresponding to a character in the subtree or the current tree, B anno represents the bounding box corresponding to the annotated word, area(B chars ) represents the area of the bounding boxes corresponding to the characters in the subtree or the current tree, area(B anno ) represents the area of the bounding box corresponding to the annotated word, λ 1 and λ 2 respectively represent the greatest feature value and the second greatest feature value of a covariance matrix of the center coordinates of B chars , w is a preset weight when the selection operation is executed for the first time, and w is the weight between the two characters in the character connection pair corresponding to the subtree when the selection operation is not executed for the first time; determining whether the greatest of the scores of the subtrees is greater than the score of the current tree; and if yes, using the subtree with the greatest score as the current tree, and executing the selection operation again; or if not, using the characters in the current tree as the characters for training the machine learning model. 2. The method according to claim 1 , wherein the machine learning model comprises a convolutional neural network. 3. The method according to claim 1 , wherein after the using the image including the annotated word as input to

Assignees

Inventors

Classifications

  • Validation; Performance evaluation · CPC title

  • Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN] · CPC title

  • Graphical representation, e.g. directed attributed graph · CPC title

  • Cutting or merging image elements, e.g. region growing, watershed or clustering-based techniques · CPC title

  • Classification techniques · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10769484B2 cover?
Disclosed embodiments relate to a character detection method and apparatus. In some embodiments, the method includes: using an image including an annotated word as an input to a machine learning model; selecting, based on a predicted result of characters inside an annotation region of the annotated word predicted and annotation information of the annotated word, characters for training the mach…
Who is the assignee on this patent?
Baidu online network technology beijing co ltd
What technology area does this patent fall under?
Primary CPC classification G06V30/153. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 08 2020 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).