Patent ID: 11908219
Assignee: BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method for processing information, including:
recognizing text items in an image through an optical character recognition (OCR) technology or through a text recognition model based on a convolutional neural network;
classifying the text items into a first set of name text items and a second set of content text items based on semantics of the text items;
performing a matching operation between the first set and the second set based on a layout of the text items in the image, and determining matched name-content text items, wherein the matched name-content text items comprise a name text item in the first set and a content text item matching the name text item and in the second set; and
outputting the matched name-content text items;
wherein performing the matching operation between the first set and the second set comprises:
determining a candidate set comprising content text items to be matched with a name text item to be matched in the first set;
determining a candidate content text item nearest the name text item to be matched from the candidate set; and
determining that the candidate content text item satisfying a matching condition matches the name text item to be matched;
wherein the matching condition comprises at least one of:
a positional relationship between the candidate content text item and the name text item to be matched conforming to an information arrangement of the image;
a distance between the candidate content text item and the name text item to be matched being less than a distance threshold; or
a difference between a reference angle and an intersection angle between a reference direction and a line connecting center points of the candidate content text item and the name text item to be matched being less than an angle threshold.