JPH0245228B2 - - Google Patents
Info
- Publication number
- JPH0245228B2 JPH0245228B2 JP57044704A JP4470482A JPH0245228B2 JP H0245228 B2 JPH0245228 B2 JP H0245228B2 JP 57044704 A JP57044704 A JP 57044704A JP 4470482 A JP4470482 A JP 4470482A JP H0245228 B2 JPH0245228 B2 JP H0245228B2
- Authority
- JP
- Japan
- Prior art keywords
- mark
- character
- line
- image sensor
- character area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/10—Image acquisition
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Character Input (AREA)
Description
【発明の詳細な説明】
(技術分野)
本発明は、光学文字読取装置において、原稿の
所望の文字領域のみを読み取るように制御するフ
オーマツト制御方式に関する。TECHNICAL FIELD The present invention relates to a format control method for controlling an optical character reading device to read only a desired character area of a document.
(背景技術)
従来、文字の大きさ、行間ピツチ、行数などの
書式が特定された原稿を対象とするものにおい
て、それらをフオーマツト情報として光学文字読
取装置に与えておくことにより、文字行の読取制
御が行なわれている。(Background Art) Conventionally, when dealing with manuscripts in which formats such as character size, line spacing, and number of lines are specified, character lines can be determined by providing these as format information to an optical character reader. Reading control is being performed.
また、所望の文字領域の文字行数が特定されて
いる場合においては、各文字行にラインマークを
付し、それをカウントすることによつて、所望の
文字領域の読取を制御することができる。 Furthermore, when the number of character lines in a desired character area is specified, reading of the desired character area can be controlled by adding line marks to each character line and counting them. .
(発明の課題)
しかし、例えば学術論文を対象として、その名
称と要約との2つの文字領域を読み取りたい場
合、文字の大きさや行間ピツチはそれぞれの文字
領域毎に予め決められている場合が多いが、各文
字領域における行数は一般に不定であり、例えば
名称は1行だつたり、2行だつたりする。(Problem to be solved by the invention) However, for example, when you want to read two character areas for the name and abstract of an academic paper, the font size and line spacing are often predetermined for each character area. However, the number of lines in each character area is generally undefined; for example, a name may have one line or two lines.
本発明は、このような行数不定の各文字領域を
特定するために、各文字領域の少なくとも先頭文
字行の一端に第1マークを付しておき、また各文
字領域の最終文字行の他端に第2マークを付して
おいた原稿を対象とするものである。 In order to specify each character area with an undefined number of lines, the present invention attaches a first mark to at least one end of the first character line of each character area, and also attaches a first mark to one end of the first character line of each character area. This is intended for documents with a second mark attached to the edge.
そして、本発明は、第1マーク用の読取手段と
文字及び第2マーク読取用のイメージセンサとを
設け、走査方向に関して前者を後者の手前に配置
し、各文字領域の先頭文字行の第1マークを検出
した後、イメージセンサの出力のメモリへの書込
みを開始させ、またイメージセンサの出力に基づ
いて第2マークの存在を検出することによつて各
文字領域の最終行を判定し、次の文字領域の先頭
文字行の検出に移るようにし、これによつて所望
の文字領域のみを読取るように制御するものであ
る。 Further, the present invention provides a reading means for the first mark and an image sensor for reading characters and the second mark, and arranges the former in front of the latter with respect to the scanning direction. After detecting the mark, the last line of each character area is determined by starting writing the output of the image sensor into the memory and detecting the presence of a second mark based on the output of the image sensor, and then determining the last line of each character area. The first character line of the character area is detected, thereby controlling to read only the desired character area.
(発明の構成と作用)
第1図は、本発明の一実施例を示すブロツク図
であり、ここでは、文字領域毎の行ピツチが予め
知られており、各文字領域の先頭文字行の先端位
置に対応した原稿の左端に一つのラインマークを
付し、且つ各文字領域の最終文字行に対応した原
稿の右端に一つのラインマークを付した原稿を対
象とし、原稿台を黒地として任意の大きさの原稿
のフオーマツト制御が行なえるようにしたもので
ある。(Structure and operation of the invention) FIG. 1 is a block diagram showing an embodiment of the present invention. Here, the line pitch for each character area is known in advance, and the leading edge of the first character line of each character area is The target is a document with one line mark attached to the left edge of the document corresponding to the position, and one line mark attached to the right edge of the document corresponding to the last character line of each character area. This allows format control of the original size.
第1図はにおいて、イメージセンサ100は左
端ラインマークを読取るべく原稿台の左端部を視
野として設けられ、イメージセンサ101は予定
された最大の原稿の文字行と右端ラインマークを
読取るべく、ほぼ原稿台の横幅いつぱいを視野と
して設けられていて、文字行の読取りに先立つて
左端ラインマークを検出できるように、原稿の走
査方向に関してイメージセンサ100をイメージ
センサ101の手前に配置して、イメージセンサ
100と101との原稿の送り方向の視野は最大
の予定された行ピツチ相当の差を持たせてあり、
イメージセンサ100と101は共に画素ライン
を読取るものである。 In FIG. 1, an image sensor 100 is provided with the left end of the document table as a field of view in order to read the left end line mark, and an image sensor 101 is provided with a field of view of the left end of the document table in order to read the left end line mark. The image sensor 100 is placed in front of the image sensor 101 in the scanning direction of the document so that the left edge line mark can be detected before reading the character line. The field of view in the document feed direction between 100 and 101 is made to have a difference equivalent to the maximum scheduled line pitch,
Image sensors 100 and 101 both read pixel lines.
イメージセンサ100の光電変換出力は左端マ
ーク検出部103へ与えられ、左端マーク検出部
103が左端マークを検出すると、その左端マー
ク検出信号はフオーマツト制御部104へ送ら
れ、フオーマツト制御部104は予定された最大
行間ピツチ相当の原稿送りを検出して書込カウン
タコントロール部105へ書込開始の指示を与
え、且つさらに予め定められた行ピツチの原稿送
りを検出して書込みカウントコントロール部10
5へ書込終了の指示を与えると共に、原稿送りを
一時中止させる。 The photoelectric conversion output of the image sensor 100 is given to the left end mark detection section 103, and when the left end mark detection section 103 detects the left end mark, the left end mark detection signal is sent to the format control section 104, and the format control section 104 detects the scheduled end mark. It detects the document feed corresponding to the maximum line spacing and gives an instruction to the write counter control section 105 to start writing, and further detects the document feed corresponding to the predetermined line pitch and instructs the write counter control section 105 to start writing.
5 to end the writing, and temporarily halts document feeding.
書込カウントコントロール部105は、イメー
ジセンサ101の各光電セルの読出しと同期して
ラインメモリ106の行方向の書込みを制御し、
また、原稿の縦方向の送りと同期して列方向の書
込みを制御するものであり、これによつて1文字
行の送りを終了する毎に1文字行分の像がライン
メモリ106へ記憶され、また、右端ラインマー
クが付されていればそれも同時に記憶される。 The write count control unit 105 controls writing in the row direction of the line memory 106 in synchronization with reading of each photoelectric cell of the image sensor 101,
Furthermore, writing in the column direction is controlled in synchronization with the vertical feeding of the document, so that an image for one character line is stored in the line memory 106 each time the feeding of one character line is completed. , and if a right end line mark is attached, that is also stored at the same time.
読出カウンタコントロール部107は、ライン
メモリ106のアドレスを列方向に走査し、且つ
一つの列方向の走査が終る毎に行方向に走査して
ラインメモリ106から文字パターン信号を読出
し、文字認識部へ与える。1文字行分の文字認識
が終了すると、その終了信号を文字認識部から受
けて、フオーマツト制御部104は再び予定され
た行ピツチだけ原稿を送り、且つラインメモリ1
06の記憶情報は更新される。 The read counter control unit 107 scans the address of the line memory 106 in the column direction, and reads the character pattern signal from the line memory 106 by scanning in the row direction every time one column scan is completed, and sends it to the character recognition unit. give. When the character recognition for one character line is completed, the format control unit 104 receives the completion signal from the character recognition unit, and sends the document again by the scheduled line pitch, and also stores the document in the line memory 1.
The stored information of 06 is updated.
右端マーク検出部108は、ラインメモリ10
6の読出出力から右端ラインマークを検出するも
のであり、原稿端検出部109は、黒地が一定領
域以上継続することを調べて原稿左端を検出する
ものである。右端マーク検出部108が右端ライ
ンマークを検出すると、その検出信号はフオーマ
ツト制御部104へ送られ、フオーマツト制御部
104はその文字領域の最終文字行と判定し、引
き続いて原稿端が検出されたことを確認してその
文字領域の終了を確認した後、文字認識の終了を
待つて、再び次の文字領域の左端ラインマークの
検出へ移る。 The right end mark detection unit 108 detects the line memory 10.
The right edge line mark is detected from the read output of No. 6, and the document edge detection unit 109 detects the left edge of the document by checking whether the black background continues for a certain area or more. When the right end mark detection section 108 detects the right end line mark, the detection signal is sent to the format control section 104, and the format control section 104 determines that it is the last character line in the character area, and subsequently determines that the edge of the document has been detected. After confirming that the character area has ended, the process waits for the end of character recognition and then moves on to detecting the left end line mark of the next character area.
この実施例においては、右端のラインマークの
位置は可変であり(左端のラインマークは原稿台
の左端に揃えるので固定的)、結局、原稿の大き
さに依存しない制御が可能である。 In this embodiment, the position of the right-most line mark is variable (the left-most line mark is fixed because it is aligned with the left end of the document table), and as a result, control that does not depend on the size of the document is possible.
なお、行間ピツチが不定の原稿を対象とする場
合においても、左端ラインマークは先頭文字行だ
けでなく全ての文字行に付しておき、その左端ラ
インマークを検出する毎に逐次イメージセンサ1
01の出力の書込みを制御し、また原稿端からの
最初の左端ラインマークの検出並びに右端ライン
マーク検出後の最初の左端ラインマークの検出を
各文字領域の先頭文字行と判定することによつ
て、前記実施例と同様に、所望の文字領域のみ読
取りを行なうことができる。 Note that even when the target is a document with an undefined line spacing, the left edge line mark is attached not only to the first character line but to all character lines, and the image sensor 1 is sequentially attached each time the left edge line mark is detected.
By controlling the writing of the output of 01 and determining the detection of the first left end line mark from the edge of the document and the detection of the first left end line mark after the right end line mark is detected as the first character line of each character area. , it is possible to read only a desired character area, as in the previous embodiment.
(発明の効果)
本発明では、各文字領域の最終文字行を示すマ
ークは文字を読取るイメージセンサで読取るよう
にしているため、そのマークを原稿の端に固定的
に付す必要はなく、あるいは原稿の大きさが異な
つてもよい利点がある。(Effects of the Invention) In the present invention, since the mark indicating the last character line of each character area is read by an image sensor that reads characters, there is no need to attach the mark fixedly to the edge of the document or There is an advantage that the sizes of the two can be different.
また、文字の読取りに先立つて先頭文字行を検
出し、その後でメモリへ格納するようにしている
ため、不要部分のイメージの読取を回避できる利
点がある。 Furthermore, since the first character line is detected before reading the characters and then stored in the memory, there is an advantage that reading unnecessary portions of the image can be avoided.
さらに、前記左端マークは1種類でよいため、
前記イメージセンサはホトカプラのように分解能
の低い簡単な手段でよい利点がある。 Furthermore, since only one type of left end mark is required,
The image sensor has the advantage of being a simple means with low resolution, such as a photocoupler.
第1図は本発明の一実施例を示すブロツク図で
ある。
100,101……イメージセンサ、103…
…左端マーク検出部、104……フオーマツト制
御部、105……書込カウントコントロール部、
106……ラインメモリ、107……読出しカウ
ントコントロール部、108……右端マーク検出
部。
FIG. 1 is a block diagram showing one embodiment of the present invention. 100, 101...image sensor, 103...
...Left end mark detection section, 104...Format control section, 105...Write count control section,
106...Line memory, 107...Reading count control unit, 108...Right end mark detection unit.
Claims (1)
行の一端に第1マークが記載され、且つ前記各文
字領域の最終文字行の他端に第2マークが記載さ
れた原稿を対象として、所望の前記各文字領域の
みを読み取るように制御するフオーマツト制御方
式において、 予定された最大の文字行幅よりも広い視野を有
して文字と前記第2マークとを読み取るイメージ
センサ101と、 該イメージセンサの光電変換出力を格納するメ
モリ106と、 前記第1マークに予定された視野を有して前記
第1マークを読み取る第1マーク読取手段100
とを備え、 原稿の走査方向に関して、前記第1マーク読取
手段を前記イメージセンサの手前には配置してお
き、前記第1マーク読取手段の光電変換出力に基
づいて各文字領域の先頭文字行の前記第1マーク
を検出した後、前記メモリへの前記イメージセン
サの出力の書込みを開始させ、 前記イメージセンサの出力に基づいて前記第2
マークを検出することによつて各文字領域の終了
を判定し、次の文字領域の先頭文字行の前記第1
マークの検出に移ることを特徴とするフオーマツ
ト制御方式。[Scope of Claims] 1. A manuscript in which a first mark is written on at least one end of the first character line of each character area with an undefined number of lines, and a second mark is written on the other end of the last character line of each character area. An image sensor 101 that reads characters and the second mark with a field of view wider than a predetermined maximum character line width in a format control method that controls to read only desired character areas. a memory 106 for storing the photoelectric conversion output of the image sensor; and a first mark reading means 100 for reading the first mark with a predetermined field of view for the first mark.
The first mark reading means is arranged in front of the image sensor with respect to the scanning direction of the document, and the first character line of each character area is read based on the photoelectric conversion output of the first mark reading means. After detecting the first mark, start writing the output of the image sensor to the memory, and start writing the output of the image sensor to the memory, and write the output of the image sensor to the memory.
The end of each character area is determined by detecting the mark, and the first character line of the first character line of the next character area is determined.
A format control method characterized by moving to mark detection.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57044704A JPS58163074A (en) | 1982-03-23 | 1982-03-23 | Format control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57044704A JPS58163074A (en) | 1982-03-23 | 1982-03-23 | Format control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58163074A JPS58163074A (en) | 1983-09-27 |
| JPH0245228B2 true JPH0245228B2 (en) | 1990-10-08 |
Family
ID=12698799
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57044704A Granted JPS58163074A (en) | 1982-03-23 | 1982-03-23 | Format control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58163074A (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5725075A (en) * | 1980-07-23 | 1982-02-09 | Toshiba Corp | Optical character read device |
-
1982
- 1982-03-23 JP JP57044704A patent/JPS58163074A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58163074A (en) | 1983-09-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH04503292A (en) | Copier with automatic standardization, automatic paper selection, and window standardization | |
| JPH0761121B2 (en) | Equipment | |
| US5157417A (en) | Printing apparatus | |
| JPH0245228B2 (en) | ||
| JP2730495B2 (en) | Scanner device | |
| JP3386280B2 (en) | Book document image reading device | |
| JP2003234858A (en) | Image forming device | |
| JP2720433B2 (en) | Image data storage device | |
| JP3463300B2 (en) | Mark sheet and mark sheet direction detecting method and apparatus | |
| JPH0515551B2 (en) | ||
| JPS61286983A (en) | System for correcting inclination of character pattern data | |
| JPS6356576B2 (en) | ||
| JPS5979378A (en) | Optical character reader | |
| JPH0570876B2 (en) | ||
| JPH0238547Y2 (en) | ||
| JPH04314258A (en) | Image scanner | |
| JPH0546143B2 (en) | ||
| JPS60150122A (en) | Character pattern input device | |
| JPH01181370A (en) | Facsimile machines and computer systems | |
| JPH01166278A (en) | Image processor | |
| JPH02216587A (en) | Image file device | |
| JPH03101373A (en) | Printer with routine format attaching function | |
| JPH05174139A (en) | Image input device | |
| JPH0496568A (en) | image forming device | |
| JPS59112761A (en) | Facsimile reading and editing system |