# US 2015/0146220 A1 · Image forming apparatus, text data embedding method, and recording medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0146220 A1
- Document ID: US20150146220A1
- Status: Published application
- Kind: A1
- Application number: 14/546,776
- Filed: 2014-11-18
- Published: 2015-05-28
- Earliest claimed: 2013-11-26
- Assignees: Konica Minolta, Inc.
- Applicants: Konica Minolta, Inc.
- Inventors: Makoto OKI
- Web page: https://patentgrep.com/patent/US20150146220A1

## CPC

- G06F 40/109: Font handling; Temporal or kinetic typography
- G06K 15/1827: {Accessing generic data, e.g. fonts}
- H04N 1/00331: {with an apparatus performing optical character recognition (character recognition G06V30/10)}
- H04N 1/32144: {embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp}
- G06V 30/414: Extracting the geometrical structure, e.g. layout tree; Block segmentation, e.g. bounding boxes for graphics or text
- H04N 2201/3266: of text or character information, e.g. text accompanying an image (H04N2201/3226 takes precedence)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

An image forming apparatus includes: a scanner that obtains an image file by document scanning; a character recognition processor that obtains a text string from each line of text by performing character recognition; a text string splitter that splits each the text string into a plurality of short text strings in accordance with a predetermined rule; a font size determining portion that determines a uniform font size for each the text string; a position determining portion that determines x-axis positions for the short text strings on the basis of the x-coordinates of the characters at the forefront in the respective short text strings, the short text strings each having its x-axis in the forward and backward reading directions; and an embedding portion that embeds text data of the short text strings in the image file at the respective x-axis positions in the uniform font size for the entire text string.

## Claims

### Claim 1

An image forming apparatus comprising:
a scanner that obtains an image file by document scanning;
a character recognition processor that obtains a text string from each line of text by performing character recognition on the image file, the image file being obtained by the scanner;
a text string splitter that splits each the text string into a plurality of short text strings in accordance with a predetermined rule, the each text string being obtained from each line of text by the character recognition processor;
a font size determining portion that determines a uniform font size for each the text string, the each text string being obtained from each line of text by the character recognition processor;
a position determining portion that determines x-axis positions for the short text strings to be embedded in the image file, on the basis of the x-coordinates of the characters at the forefront in the respective short text strings, the short text strings each having its x-axis in the forward and backward reading directions; and
an embedding portion that embeds text data of the short text strings in the image file at the respective x-axis positions in the uniform font size for the entire text string, the x-axis positions being determined by the position determining portion, the uniform font size being determined by the font size determining portion.

### Claim 2 (depends on 1)

The image forming apparatus as recited in claim 1, wherein:
the text string has its y-axis in perpendicular directions to the forward and backward reading directions;
the height of each short text string is defined as the greatest height among those of characters in each short text string; and
a common y-coordinate for the short text strings is determined on the basis of any one of the following: (1) the y-coordinate of the short text string having the greatest height among the short text strings; (2) the y-coordinate of the short text string having the smallest height among the short text strings; (3) an average value of the y-coordinates of the short text strings; and (4) the y-coordinate of the short text string at the forefront among the short text strings.

### Claim 3 (depends on 1)

The image forming apparatus as recited in claim 1, wherein the uniform font size for the entire text string is defined as any one of the following: (1) the greatest height among those of characters in the text string; (2) the smallest height among those of characters in the text string; and (3) an average height of characters in the text string.

### Claim 4 (depends on 1)

The image forming apparatus as recited in claim 1, wherein, upon a special character being detected from the text string, the special character being special for its significantly large or small size, the text string splitter counts the special character as one short text string when splitting the text string and the font size determining portion does not count the special character when determining a uniform font size for the entire text string, instead determines a font size for the special character by calculating the height of the special character.

### Claim 5 (depends on 1)

The image forming apparatus as recited in claim 1, wherein, upon a special character being detected from the text string, the special character being special for its significantly large or small size, the font size determining portion determines font sizes for the respective short text strings.

### Claim 6 (depends on 1)

The image forming apparatus as recited in claim 1, wherein the text string splitter splits each the text string into a plurality of short text strings at every comma, dot, space, or a combination of two or all the three of the foregoing.

### Claim 7 (depends on 1)

The image forming apparatus as recited in claim 1, wherein the text string splitter splits each the text string into a plurality of short text strings at every N number of characters, N being an integer greater than zero.

### Claim 8 (depends on 7)

The image forming apparatus as recited in claim 7, further comprising a value setting portion that sets N to a great value upon priority being given to small file size and that sets N to a small value upon priority being given to accuracy in position adjustment of the short text strings.

### Claim 9 (depends on 7)

The image forming apparatus as recited in claim 7, further comprising a value setting portion that sets N to a great value upon a low resolution being specified for document scanning by the scanner and that sets N to a small value upon a high resolution being specified for the same.

### Claim 10 (depends on 1)

The image forming apparatus as recited in claim 1, wherein the font size determining portion defines the font size for the text string as a common font size for the short text strings.

### Claim 11

A text data embedding method to be implemented by an image forming apparatus, the text data embedding method comprising:
obtaining an image file by document scanning;
obtaining a text string from each line of text by performing character recognition on the image file, the image file being obtained by document scanning;
splitting each the text string into a plurality of short text strings in accordance with a predetermined rule, the each text string being obtained from each line of text by character recognition;
determining a uniform font size for each the text string, the each text string being obtained from each line of text by character recognition;
determining x-axis positions for the short text strings to be embedded in the image file, on the basis of the x-coordinates of the characters at the forefront in the respective short text strings, the short text strings each having its x-axis in the forward and backward reading directions; and
embedding text data of the short text strings in the image file at the respective determined x-axis positions in the determined uniform font size for the entire text string.

### Claim 12 (depends on 11)

The text data embedding method as recited in claim 11, wherein:
the text string has its y-axis in perpendicular directions to the forward and backward reading directions;
the height of each short text string is defined as the greatest height among those of characters in each short text string; and
a common y-coordinate for the short text strings is determined on the basis of any one of the following: (1) the y-coordinate of the short text string having the greatest height among the short text strings; (2) the y-coordinate of the short text string having the smallest height among the short text strings; (3) an average value of the y-coordinates of the short text strings; and (4) the y-coordinate of the short text string at the forefront among the short text strings.

### Claim 13 (depends on 11)

The text data embedding method as recited in claim 11, wherein the uniform font size for the entire text string is defined as any one of the following: (1) the greatest height among those of characters in the text string; (2) the smallest height among those of characters in the text string; and (3) an average height of characters in the text string.

### Claim 14 (depends on 11)

The text data embedding method as recited in claim 11, wherein, upon a special character being detected from the text string, the special character being special for its significantly large or small size, the special character is counted as one short text string when the text string is split and the special character is not counted when a uniform font size for the entire text string is determined, instead a font size for the special character is determined by calculating the height of the special character.

### Claim 15 (depends on 11)

The text data embedding method as recited in claim 11, wherein, upon a special character being detected from the text string, the special character being special for its significantly large or small size, font sizes for the respective short text strings are determined.

### Claim 16 (depends on 11)

The text data embedding method as recited in claim 11, wherein each the text string is split into a plurality of short text strings at every comma, dot, space, or a combination of two or all the three of the foregoing.

### Claim 17 (depends on 11)

The text data embedding method as recited in claim 11, wherein each the text string is split into a plurality of short text strings at every N number of characters, N being an integer greater than zero.

### Claim 18 (depends on 17)

The text data embedding method as recited in claim 17, further comprising the step of setting N to a great value upon priority being given to small file size and setting N to a small value upon priority being given to accuracy in position adjustment of the short text strings.

### Claim 19 (depends on 17)

The text data embedding method as recited in claim 17, further comprising the step of setting N to a great value upon a low resolution being specified for document scanning and setting N to a small value upon a high resolution being specified for the same.

### Claim 20 (depends on 11)

The text data embedding method as recited in claim 11, wherein the font size for the text string is defined as a common font size for the short text strings.

### Claim 21

A non-transitory computer-readable recording medium storing a text data embedding program for making a computer of an image forming apparatus execute:
obtaining an image file by scanning a document;
obtaining a text string from each line of text by performing character recognition on the image file, the image file being obtained by document scanning;
splitting each the text string into a plurality of short text strings in accordance with a predetermined rule, the each text string being obtained from each line of text by character recognition;
determining a uniform font size for each the text string, the each text string being obtained from each line of text by character recognition;
determining x-axis positions for the short text strings to be embedded in the image file, on the basis of the x-coordinates of the characters at the forefront in the respective short text strings, the short text strings each having its x-axis in the forward and backward reading directions; and
embedding text data of the short text strings in the image file at the respective determined x-axis positions in the determined uniform font size for the entire text string.

### Claim 22 (depends on 21)

The non-transitory computer-readable recording medium storing the text data embedding program as recited in claim 21, wherein:
the text string has its y-axis in perpendicular directions to the forward and backward reading directions;
the height of each short text string is defined as the greatest height among those of characters in each short text string; and
a common y-coordinate for the short text strings is determined on the basis of any one of the following: (1) the y-coordinate of the short text string having the greatest height among the short text strings; (2) the y-coordinate of the short text string having the smallest height among the short text strings; (3) an average value of the y-coordinates of the short text strings; and (4) the y-coordinate of the short text string at the forefront among the short text strings.

### Claim 23 (depends on 21)

The non-transitory computer-readable recording medium storing the text data embedding program as recited in claim 21, wherein the uniform font size for the entire text string is defined as any one of the following: (1) the greatest height among those of characters in the text string; (2) the smallest height among those of characters in the text string; and (3) an average height of characters in the text string.

### Claim 24 (depends on 21)

The non-transitory computer-readable recording medium storing the text data embedding program as recited in claim 21, wherein, upon a special character being detected from the text string, the special character being special for its significantly large or small size, the special character is counted as one short text string when the text string is split and the special character is not counted when a uniform font size for the entire text string is determined, instead a font size for the special character is determined by calculating the height of the special character.

### Claim 25 (depends on 21)

The non-transitory computer-readable recording medium storing the text data embedding program as recited in claim 21, wherein, upon a special character being detected from the text string, the special character being special for its significantly large or small size, font sizes for the respective short text strings are determined.

### Claim 26 (depends on 21)

The non-transitory computer-readable recording medium storing the text data embedding program as recited in claim 21, wherein each the text string is split into a plurality of short text strings at every comma, dot, space, or a combination of two or all the three of the foregoing.

### Claim 27 (depends on 21)

The non-transitory computer-readable recording medium storing the text data embedding program as recited in claim 21, wherein each the text string is split into a plurality of short text strings at every N number of characters, N being an integer greater than zero.

### Claim 28 (depends on 27)

The non-transitory computer-readable recording medium storing the text data embedding program as recited in claim 27, further comprising the step of setting N to a great value upon priority being given to small file size and setting N to a small value upon priority being given to accuracy in position adjustment of the short text strings.

### Claim 29 (depends on 27)

The non-transitory computer-readable recording medium storing the text data embedding program as recited in claim 27, further comprising the step of setting N to a great value upon a low resolution being specified for document scanning and setting N to a small value upon a high resolution being specified for the same.

### Claim 30 (depends on 21)

The non-transitory computer-readable recording medium storing the text data embedding program as recited in claim 21, wherein the font size for the text string is defined as a common font size for the short text strings.
