Apparatus and method for recognition of text information
AssigneeLG Electronics Inc.
InventorsYoungho SOHN, Young Yeon SEO, Changjun YEO
Life of this patent
Estimating the term…
Abstract
A text recognition method and apparatus is disclosed. A text recognition method includes detecting the width and the location of a digit through segmentation using a grid having a variable width. According to the present disclosure, it is possible to distinguish an embossing text and a printing text through a 5G network service and a neural network (CNN) performing deep learning, and to recognize a card number through different methods for each card type.
Claims20
A text recognition method, comprising:
- recognizing a card number from a card image by performing vertical segmentation and horizontal segmentation,
- wherein the horizontal segmentation comprises detecting a width and a location of a digit of the card number through a segmentation using a grid having a variable width based on a configuration pattern of the card number including a size and a number of digits of the card number.
A text recognition method, comprising:
- detecting a card area in a card image,
- wherein the detecting the card area comprises
- recognizing an edge of the card;
- and
- extracting the card area based on the recognized edge,
- wherein the recognizing the edge of the card comprises:
- analyzing a relationship between an upper edge and a lower edge of the card and a relationship between a left edge and a right edge of the card based on the card image;
- and
- determining the edge of the card based on the relationship analysis.
A text recognition method, comprising:
- determining a text display method of a card from a card image,
- wherein the determining the text display method of the card comprises:
- determining at least whether the card image is of a front side or a rear side of the card according to presence of a card magnet in the card image, or whether the card image corresponds to a landscape or portrait orientation of the card based on a text array direction using a margin space calculation between texts;
- and
- predicting the text display method of the card based on the determination.
A text recognition apparatus, comprising:
- a camera;
- a display;
- and
- a processor configured to:
- capture a card image of a card via the camera and display the card image via the display;
- recognizing a card number of the card based on the card image, wherein the card number is recognized by performing vertical segmentation and horizontal segmentation,
- wherein the processor is further configured to detect a width and a location of a digit of the card number through vertical segmentation using a grid having a variable width based on a configuration pattern of the card number including a size and a number of digits of the card number.
A text recognition apparatus, comprising:
- a camera;
- a display;
- and
- a processor configured to:
- capture a card image of a card via the camera and display the card image via the display;
- detect a card area using the card image by recognizing an edge of the card and extracting the card area based on the recognized edge;
- and
- wherein the processor is configured to recognize the edge of the card by analyzing a relationship between an upper edge and a lower edge of the card and a relationship between a left edge and a right edge of the card based on the card image, and
- wherein the processor is further configured to determine the edge of the card based on the relationship analysis.
A text recognition apparatus, comprising:
- a camera;
- a display;
- and
- a processor configured to:
- capture a card image of a card via the camera and display the card image via the display;
- determine at least whether the card image is of a front side or a rear side of the card according to presence of a card magnet in the card image, or whether the card image corresponds to a landscape or portrait orientation of the card based on a text array direction using a margin space calculation between texts;
- and
- predict a text display method of a card based on the determination.
A text recognition apparatus, comprising:
- a camera;
- a display;
- and
- a processor configured to:
- display a menu via the display for selecting a portrait type card or a landscape type card for processing the card image;
- and
- receiving an input card image captured via the camera according to the portrait type card or the landscape type card according to a user selection on the displayed menu.
Dependencies are inferred from the claim text.