JPH01196686A - Format control information processor for character reader - Google Patents
Format control information processor for character readerInfo
- Publication number
- JPH01196686A JPH01196686A JP63020294A JP2029488A JPH01196686A JP H01196686 A JPH01196686 A JP H01196686A JP 63020294 A JP63020294 A JP 63020294A JP 2029488 A JP2029488 A JP 2029488A JP H01196686 A JPH01196686 A JP H01196686A
- Authority
- JP
- Japan
- Prior art keywords
- information
- detail
- header
- mode
- seq
- 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.)
- Pending
Links
Landscapes
- Character Input (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の目的ゴ
(産業上の利用分野)
本発明は、文字読取処理で必要なフォーマット制御情報
の登録処理を行なう文字読取装置のフォーマット制御情
報処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention (Field of Industrial Application) The present invention relates to a format control information processing device for a character reading device that performs registration processing of format control information necessary for character reading processing.
(従来の技術)
従来、光学的文字読取装置(OCR)では、フォーマッ
ト制御情報(FC情報)を予め登録し、このFC情報に
試づいて読取対象である帳票上に記録された文字の認識
処理がなされる。FC情報は、例えば帳票上の読取行位
置情報、帳票サイズ、記録された文字の文字種、文字ピ
ッチ、字体等の制御情報である。(Prior Art) Conventionally, in an optical character reader (OCR), format control information (FC information) is registered in advance, and based on this FC information, characters recorded on a form to be read are recognized. will be done. The FC information is, for example, control information such as reading line position information on a form, form size, type of recorded characters, character pitch, and font.
ところで、FC情報をOCRに予め登録する方式として
、制御シートに必要な情報を記録し、この制御シートを
OCRに読込ませる方式がある。By the way, as a method for previously registering FC information in OCR, there is a method in which necessary information is recorded on a control sheet and this control sheet is read into OCR.
制御シートは、読取処理モードに応じたヘッダ情報を記
録したヘッダシート及びディテール情報を記録したディ
テールシートからなる。通常では、1枚のヘッダシート
に対して、複数のディテールシートが組合わせになって
いる。ヘッダ情報は例えばジョブ全体及び処理モードに
関する情報であり、ディテール情報は所定のジョブ及び
処理モードにおける例えば帳票、印刷様式、CRT画面
、出力編集等に関する情報である。The control sheet consists of a header sheet recording header information according to the reading processing mode and a detail sheet recording detail information. Usually, one header sheet is combined with a plurality of detail sheets. The header information is, for example, information about the entire job and processing mode, and the detail information is information about, for example, a form, print style, CRT screen, output editing, etc. in a predetermined job and processing mode.
ここで、従来のOCRでは、1つのジョブ中には処理モ
ードが1つであり、このためヘッダ情報とディテール情
報との相関関係も1つの特定したものからなる。したが
って、ヘッダ情報とディテール情報との相関関係を可変
としたFC情報の登録を行なう場合には、その組合わせ
数に応じたジョブを複数本作成して登録処理する必要が
ある。Here, in conventional OCR, there is one processing mode in one job, and therefore the correlation between header information and detail information is also one specified one. Therefore, when registering FC information in which the correlation between header information and detail information is variable, it is necessary to create and register a plurality of jobs according to the number of combinations.
また、登録処理では前記のような制御シートからOCR
内部で処理可能なオブジェクト情報が作成されるが、登
録すべきジョブ数が増大すればオブジェクト情報口も増
大することになる。In addition, in the registration process, OCR is used from the control sheet as described above.
Object information that can be internally processed is created, but as the number of jobs to be registered increases, the number of object information ports also increases.
(発明が解決しようとする課題)
従来のFC情報の登録方式では、ジョブ、処理モード、
ヘッダ情報及びディテール情報の相関関係が固定的であ
るため、相関関係の可変なFC情報を登録する場合には
登録処理時間が多大となり、処理効率が低下する欠点が
ある。また、OCR内部で処理可能なオブジェクト情報
量が著しく増大する欠点がある。(Problem to be solved by the invention) In the conventional FC information registration method, job, processing mode,
Since the correlation between header information and detail information is fixed, when registering FC information whose correlation is variable, the registration process takes a lot of time, resulting in lower processing efficiency. Another drawback is that the amount of object information that can be processed within OCR increases significantly.
本発明の目的は、OCRにおいて、読取処理に必要なF
C情報を登録する際に、特にFC情報量が増大すること
なく、ジョブ、処理モード、ヘッダ情報及びディテール
情報の相関関係を可変可能に設定することを効率的に行
なうことができる文字読取装置のフォーマット制御情報
処理装置を提供することにある。The purpose of the present invention is to
A character reading device that can efficiently set the correlation between jobs, processing modes, header information, and detail information in a variable manner without particularly increasing the amount of FC information when registering C information. An object of the present invention is to provide a format control information processing device.
[発明の構成]
(課題を解決するための手段と作用)
本発明は、文字読取処理の各モード毎に設定されるヘッ
ダ情報及びディテール情報を何するフォーマット制御情
報の登録処理を行なう文字読取装置のフォーマット!制
御情報処理装置において、ディテール情報の種類に対応
するヘッダ情報群を各モード毎に格納したSEQテーブ
ル、各モードに応じてSEQテーブルを選択指定するた
めのモードテーブル、及びヘッダ情報及びディテール情
報の81D情報の有無を指示するフラグ及びヘッダ情報
及びディテール情報の相関関係をSEQテーブル上で指
示するための情報を有するIDテーブルとを備えた装置
である。[Structure of the Invention] (Means and Effects for Solving the Problems) The present invention provides a character reading device that performs a process of registering format control information for setting header information and detail information for each mode of character reading processing. format! In the control information processing device, a SEQ table stores a header information group corresponding to the type of detail information for each mode, a mode table for selecting and specifying the SEQ table according to each mode, and 81D of header information and detail information. This device includes a flag indicating the presence or absence of information and an ID table having information for indicating the correlation between header information and detail information on the SEQ table.
このような構成により、ジョブ、処理モード。Such configuration allows jobs, processing modes.
ヘッダ情報及びディテール情報の相関関係を確保すると
共に、その相関関係を可変したFC情報の登録処理を効
率的に行なうことが可能となる。It becomes possible to ensure the correlation between header information and detail information, and to efficiently register FC information in which the correlation is varied.
(実施例)
以下図面を参照して本発明の詳細な説明する。第1図及
び第2図はそれぞれ同実施例に係わるブロック図である
。先ず、OCR(文字読取装置)は、大別して第2図に
示すように、制御部20、走査系21認識部22及び辞
書メモリ23からなる。(Example) The present invention will be described in detail below with reference to the drawings. FIG. 1 and FIG. 2 are block diagrams relating to the same embodiment, respectively. First, an OCR (character reading device) is roughly divided into a control section 20, a scanning system 21, a recognition section 22, and a dictionary memory 23, as shown in FIG.
走査系21は、CCD等の光電変換素子を有し、読取対
象の帳票上を光学的に走査して文字パターンを出力する
。認識部22は、走査系2■により生成された文字パタ
ーンに対して、辞書メモリ23に予め格納された辞書情
報(標準パターン)とのマツチング処理を実行し、認識
結果(該当文字コード)を出力する。この場合、認識部
22は、制御部20から出力されるフォーマット制御情
報(FC情報)に基づいて文字認識処理を行なう。The scanning system 21 includes a photoelectric conversion element such as a CCD, and optically scans a form to be read to output a character pattern. The recognition unit 22 performs matching processing on the character pattern generated by the scanning system 2■ with dictionary information (standard pattern) stored in advance in the dictionary memory 23, and outputs the recognition result (corresponding character code). do. In this case, the recognition unit 22 performs character recognition processing based on format control information (FC information) output from the control unit 20.
制御部20は、OCR全体の動作制御を行なうと共に、
本発明の要旨であるFC情報の登録処理を行なう回路で
あり、マイクロプロセッサ(CP U)を備えている。The control unit 20 controls the operation of the entire OCR, and
This circuit performs FC information registration processing, which is the gist of the present invention, and includes a microprocessor (CPU).
第1図は、同実施例の制御部20のFC情報登録機能に
関係する概念的構成を示すブロック図である。CP U
10は、外部から制御シートにより与えられる各種制
御情報11〜I3に基づいて、OCRの読取処理に必要
なFC情報の登録処理を行なう。ここで、制御情報11
は例えば処理モードのモード名称及びモード毎に設定可
能な情報からなる。制御情報I2は例えばヘッダシート
のID番号、最大帳票読取枚数及びディテールシートの
ID番号である。さらに、制御情報I3は例えばID情
報である。このID情報は、帳票の読取処理における各
種情報であり、例えばデータのチエツク、編集9画面フ
ォーマット、出力フォーマット及び帳票読取モードであ
る。FIG. 1 is a block diagram showing a conceptual configuration related to the FC information registration function of the control unit 20 of the same embodiment. CPU
10 performs registration processing of FC information necessary for OCR reading processing based on various control information 11 to I3 given from the outside by a control sheet. Here, control information 11
consists of, for example, the mode name of the processing mode and information that can be set for each mode. The control information I2 is, for example, the ID number of the header sheet, the maximum number of forms read, and the ID number of the detail sheet. Furthermore, the control information I3 is, for example, ID information. This ID information is various information in the form reading process, such as data check, editing nine-screen format, output format, and form reading mode.
CPUl0は、外部から与えられた制御情報11により
、第3図に示すようなモードテーブル11を作成する。CPU10 creates a mode table 11 as shown in FIG. 3 using control information 11 given from the outside.
さらに、CPUl0は外部から与えられた制御情報!2
により、第4図に示すようなSEQ (シーケンス)テ
ーブルを12作成する。Furthermore, CPU10 receives control information from the outside! 2
Accordingly, 12 SEQ (sequence) tables as shown in FIG. 4 are created.
SEQテーブル12は、第3図の各モード名称毎に作成
される。第4図はモード名称1に対応するSEQテーブ
ル12を示している。The SEQ table 12 is created for each mode name shown in FIG. FIG. 4 shows the SEQ table 12 corresponding to mode name 1.
さらに、CP U 10は、制御情報I2.I3により
、第5図に示すようなIDテーブル13を作成する。こ
のIDテーブル13では、ID名称とSEQテーブル1
2のSEQ番号が対応している。例えばID名称(HO
looO)はヘッダ情報のID番号であり、SEQ番号
(01)に対応している。Furthermore, the CPU 10 receives control information I2. I3 creates an ID table 13 as shown in FIG. In this ID table 13, ID name and SEQ table 1
2 SEQ numbers correspond. For example, ID name (HO
looO) is the ID number of the header information, and corresponds to the SEQ number (01).
また、例えばID名称(DO1020)はディテール情
報のID番号であり、SEQ番号(05)に対応してい
る。CP U toは、外部からID情報(制御情報1
3)が与えられると、第5図のIDテーブル13におい
て該当するID名称のフラグを「1」にセットする。そ
して、CPUl0は与えられたID情報を実IDとして
、ID情報メモリ14に登録する。また、ID情報メモ
リ14からID情報を削除した場合にはた、CPUl0
は第5図のIDテーブルの該当ID名称のフラグを「0
」にセットする。このとき、ID名称は削除せずに、そ
のまま残すことになる。Further, for example, the ID name (DO1020) is the ID number of detail information and corresponds to the SEQ number (05). CPU to receives ID information (control information 1) from the outside.
3), the flag of the corresponding ID name is set to "1" in the ID table 13 of FIG. Then, the CPU 10 registers the given ID information in the ID information memory 14 as a real ID. Furthermore, when ID information is deleted from the ID information memory 14, CPU10
sets the flag of the corresponding ID name in the ID table in Figure 5 to "0".
”. At this time, the ID name will be left as is without being deleted.
次に、所定の読取対象の帳票に対する読取処理を行なう
場合には、所定のジョブにおける処理モードの指定がモ
ード名称によりなされる。モード名称の指定は、例えば
読取開始のCR7画面上において、処理モードに対応す
るモード名称を表示し、この画面上で選択指定すること
によりなされる。CPUl0は指定されたモード名称に
対応するSEQテーブル12を参照する。CP U 1
0は、SEQテーブル12によりヘッダIDのSEQ番
号(例えば01又は02)の範囲を限定する。次に、ヘ
ッダID名称(番号)が指定されると、CPU1Oは第
5図のIDテーブル13によりSEQ番号を求める。こ
の場合、有無フラグが「0」であれば、未定義IDとし
てエラー処理となる。また、求めたSEQ番号がSEQ
テーブル12で指定された範囲外であれば、同様に未定
義TDとしてエラー処理となる。Next, when performing a reading process on a predetermined document to be read, a processing mode for a predetermined job is specified using a mode name. The mode name is specified by, for example, displaying the mode name corresponding to the processing mode on the CR7 screen at the start of reading, and selecting and specifying it on this screen. CPU10 refers to the SEQ table 12 corresponding to the specified mode name. CPU 1
0 limits the range of the SEQ number (for example, 01 or 02) of the header ID by the SEQ table 12. Next, when the header ID name (number) is specified, the CPU 1O obtains the SEQ number using the ID table 13 shown in FIG. In this case, if the presence/absence flag is "0", an error process will be performed as an undefined ID. Also, the obtained SEQ number is SEQ
If it is outside the range specified in table 12, it will be treated as an undefined TD and an error will be processed.
CP U 10は、ヘッダID名称及び有無フラグの判
定においてID情報が存在していれば、第4図のSEQ
テーブル12により、ヘッダ!Dに対応するディテール
IDに対するチエツクを行なう。即ち、指定されるディ
テールIDに対応するSEQ番号が登録されているか否
かを判定する。登録されていなければ、未定義IDとし
てエラー処理となる。この場合、第4図のSEQテーブ
ル12において、最大読取枚数のチエツクを行なう。If ID information exists in determining the header ID name and presence/absence flag, the CPU 10 performs SEQ in FIG.
Header by table 12! Check the detail ID corresponding to D. That is, it is determined whether the SEQ number corresponding to the specified detail ID is registered. If it is not registered, an error will be processed as an undefined ID. In this case, the maximum number of sheets to be read is checked in the SEQ table 12 of FIG.
このようにして、所定のジョブにおける所定の処理モー
ド(モード名称で指定される)において、ヘッダID番
号に対応するヘッダID情報及びこのヘッダID情報と
相関関係にある複数のディテールID番号に対応するデ
ィテールID情報を登録することができる。即ち、各処
理モード毎に、相関関係にあるヘッダID情報とディテ
ールID情報との複数の組合わせからなるFC情報を容
易に登録することができる。したがって、OCRにおい
て、各処理モードに対応するFC情報に基づいて、各種
読取処理を行なうことができる。また、処理モード毎に
ヘッダID情報とディテールID情報との組合わせから
なるFC情報を作成する必要がないため、全体としてF
C情報二が著しく増大することはない。In this way, in a predetermined processing mode (specified by a mode name) in a predetermined job, header ID information corresponding to a header ID number and a plurality of detail ID numbers correlated with this header ID information are handled. Detail ID information can be registered. That is, for each processing mode, FC information consisting of a plurality of combinations of correlated header ID information and detail ID information can be easily registered. Therefore, in OCR, various reading processes can be performed based on FC information corresponding to each processing mode. In addition, since there is no need to create FC information consisting of a combination of header ID information and detail ID information for each processing mode, the overall
C information 2 will not increase significantly.
尚、前記実施例において、ヘッダID情報とディテール
ID情報との相関関係の自処理モードでは、第4図に示
すSEQテーブル12によりチエツクは不要となる。こ
の場合には、第5図のIDテーブル13によるID情報
の登録有無の判定を有無フラグにより行なうだけとなる
。In the above embodiment, in the self-processing mode of the correlation between the header ID information and the detail ID information, checking is not necessary due to the SEQ table 12 shown in FIG. In this case, the presence/absence of ID information registration in the ID table 13 of FIG. 5 is simply determined based on the presence/absence flag.
[発明の効果]
以上詳述したように本発明によれば、OCRのフォーマ
ット制御情報の登録方式において、読取処理に必要なF
C情報を登録する際に、特にFC情報口が増大すること
なく、ジョブ、処理モード。[Effects of the Invention] As detailed above, according to the present invention, in the OCR format control information registration method, F.
When registering C information, jobs and processing modes can be changed without increasing the number of FC information ports.
ヘッダ情報及びディテール情報の相関関係を可変可能に
設定することを効率的に行なうことができる。したがっ
て、各種の処理モードにおける文字読取処理を簡単かつ
確実に行なうことが可能となるものである。It is possible to efficiently set the correlation between header information and detail information in a variable manner. Therefore, it is possible to easily and reliably perform character reading processing in various processing modes.
第1図は本発明の実施例に係わる概念的ブロック図、第
2図は同実施例の文字読取装置の基本的構成を示すブロ
ック図、第3図乃至第5図はそれぞれ同実施例に係わる
各種テーブルの内容の一例を示す図である。
lO・・・CPU、11・・・モードテーブル、12・
・・SEQテーブル、+3・・・IDテーブル、14・
・・ID情報メモリ。
出願人代理人 弁理士 鈴 江 武 彦第1図
第2図FIG. 1 is a conceptual block diagram according to an embodiment of the present invention, FIG. 2 is a block diagram showing the basic configuration of a character reading device according to the same embodiment, and FIGS. 3 to 5 are respectively related to the same embodiment. It is a figure which shows an example of the content of various tables. lO...CPU, 11...Mode table, 12.
...SEQ table, +3...ID table, 14.
...ID information memory. Applicant's representative Patent attorney Takehiko Suzue Figure 1 Figure 2
Claims (1)
ディテール情報を有するフォーマット制御情報の登録処
理を行なう文字読取装置のフォーマット制御情報処理装
置において、 前記ディテール情報の種類に対応する前記ヘッダ情報群
を各モード毎に格納したSEQテーブルと、前記各モー
ドに応じて前記SEQテーブルを選択指定するためのモ
ードテーブルと、前記ヘッダ情報及びディテール情報の
各ID情報の有無を指示するフラグ及び前記ヘッダ情報
及びディテール情報の相関関係を前記SEQテーブル上
で指示するための情報を有するIDテーブルとを具備し
たことを特徴とする文字読取装置のフォーマット制御情
報処理装置。[Scope of Claim] In a format control information processing device for a character reading device that performs a process of registering format control information having header information and detail information set for each mode of character reading processing, the format control information processing device corresponds to the type of the detail information. a SEQ table storing the header information group for each mode, a mode table for selecting and specifying the SEQ table according to each mode, and indicating the presence or absence of each ID information of the header information and detail information. A format control information processing device for a character reading device, comprising a flag and an ID table having information for indicating the correlation between the header information and the detail information on the SEQ table.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63020294A JPH01196686A (en) | 1988-01-30 | 1988-01-30 | Format control information processor for character reader |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63020294A JPH01196686A (en) | 1988-01-30 | 1988-01-30 | Format control information processor for character reader |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01196686A true JPH01196686A (en) | 1989-08-08 |
Family
ID=12023143
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63020294A Pending JPH01196686A (en) | 1988-01-30 | 1988-01-30 | Format control information processor for character reader |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01196686A (en) |
-
1988
- 1988-01-30 JP JP63020294A patent/JPH01196686A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8282006B2 (en) | Imaging device operative for image processing | |
| EA004418B1 (en) | Automatic barcode creation for data transfer and retrieval | |
| JPS59125476A (en) | Cutting processor for image field | |
| JPH01196686A (en) | Format control information processor for character reader | |
| JP3725953B2 (en) | Character recognition device | |
| JPS6145325A (en) | Printer | |
| JPH08147329A (en) | Read image processor | |
| JPH04348475A (en) | Method and device for retrieving image information | |
| JPH0221029B2 (en) | ||
| JPH01282689A (en) | Optical character reader | |
| JPH05108794A (en) | Electronic filing device | |
| JPH10175385A (en) | Printed material with inspection characters | |
| JPH07304225A (en) | Address automatic layout printing method | |
| JPH01114932A (en) | Printer device | |
| JPS5850075A (en) | character recognition device | |
| JP2833040B2 (en) | Optical character reader | |
| JPH0765111A (en) | Optical character recognition device | |
| JPH02212990A (en) | Character reader | |
| JP2005115572A (en) | Form processing apparatus, form processing method, and form processing program | |
| JPH021354A (en) | Recording device | |
| JPH06251190A (en) | Optical character reader | |
| JPS60107977A (en) | Printer controller | |
| JPS6214274A (en) | Drawing input controller | |
| JPH0223491A (en) | Optical character reader | |
| JPH02268384A (en) | Optical character reader |