Method and apparatus for determining an orientation of a document including Korean characters
AssigneeSharp Laboratories of America, Inc.
InventorLawrence Shao-hsien Chen
Life of this patent
Estimating the term…
Abstract
A method and apparatus for determining an orientation of a document including Korean text are presented. A binarized pixel image is created from the document image. Contiguous pixels are grouped and labeled using a bounding box. A spanning stroke may be detected from a group of the contiguous pixels. The orientation of the document is determined by comparing counts associated with spanning strokes in the left, right, top, and bottom halves of the bounding boxes.
Claims15
A method of determining an orientation of a document image including Korean text, comprising the steps of:
- creating a binarized pixel image from the document image;
- grouping and labeling contiguous pixels using a bounding box that has a predetermined size, shape and aspect ratio to bound a group of the contiguous pixels;
- detecting the location of a stroke that spans the width or height of the bounding box, wherein the spanning stroke includes the group of contiguous pixels that is a part of a character;
- counting the spanning strokes located in each of the left, right, top, and bottom halves of the bounding boxes;
- and
- determining the orientation of the document by comparing the counts associated with the spanning strokes detected in the left (CL), right (CR), top (CT), and bottom (CB) halves of the bounding boxes.
An apparatus for scanning, copying, and/or printing documents, adapted to determine an orientation of a document image that includes Korean text, comprising:
- means for creating a binarized pixel image from the document image;
- means for grouping and labeling contiguous pixels using a bounding box that has a predetermined size, shape and aspect ratio to bound a group of the contiguous pixels;
- means for detecting the location of a stroke that spans the width or height of the bounding box, wherein the spanning stroke includes the group of contiguous pixels that is a part of a character;
- means for counting the spanning strokes located in each of the left, right, top, and bottom halves of the bounding boxes;
- and
- means for determining the orientation of the document by comparing the counts associated with the spanning strokes detected in the left (CL), right (CR), top (CT), and bottom (CB) halves of the bounding boxes.
A method of determining an orientation of a document image including Korean text, comprising the steps of:
- creating a binarized pixel image from the document image;
- detecting a text line and breaking the line into individual characters by estimating the character widths;
- generating a bounding box around a character;
- detecting the location of a stroke that spans the width or height of the bounding box, wherein the spanning stroke includes the group of contiguous pixels that is a part of the character;
- counting the spanning strokes located in each of the left, right, top, and bottom halves of the bounding boxes;
- and
- determining the orientation of the document by comparing the counts associated with the spanning strokes detected in the left (CL), right (CR), top (CT), and bottom (CB) halves of the bounding boxes.
Dependencies are inferred from the claim text.