JP6981140B2 - Image processing equipment, image processing methods, and programs - Google Patents

Image processing equipment, image processing methods, and programs Download PDF

Info

Publication number
JP6981140B2
JP6981140B2 JP2017185160A JP2017185160A JP6981140B2 JP 6981140 B2 JP6981140 B2 JP 6981140B2 JP 2017185160 A JP2017185160 A JP 2017185160A JP 2017185160 A JP2017185160 A JP 2017185160A JP 6981140 B2 JP6981140 B2 JP 6981140B2
Authority
JP
Japan
Prior art keywords
region
document
character recognition
control unit
reading
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.)
Active
Application number
JP2017185160A
Other languages
Japanese (ja)
Other versions
JP2019062380A (en
Inventor
剛 遠藤
元輝 楳泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2017185160A priority Critical patent/JP6981140B2/en
Publication of JP2019062380A publication Critical patent/JP2019062380A/en
Application granted granted Critical
Publication of JP6981140B2 publication Critical patent/JP6981140B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Input (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本発明は、画像処理装置、画像処理方法、およびプログラムに関する。 The present invention relates to an image processing apparatus, an image processing method, and a program.

スキャナによって読み取られた原稿を、光学的文字認識(OCR: Optical Character Recognition)処理により文字に変換する技術が知られている。また、MFP(Multifunction Peripheral/Printer/Product)などの画像処理装置において、文字認識処理によって認識された文字の向きに基づいて、原稿の天地(上下方向)を識別する技術が知られている。 A technique for converting a document read by a scanner into characters by optical character recognition (OCR) processing is known. Further, in an image processing device such as an MFP (Multifunction Peripheral / Printer / Product), a technique for identifying the top and bottom (vertical direction) of a document based on the orientation of characters recognized by character recognition processing is known.

特許文献1には、原稿を読み取って画像データを生成する画像読取手段と、画像データを複数の領域に分割する分割手段と、前記複数の領域のそれぞれについて、原稿の方向認識処理に用いる場合の信頼度を算出する信頼度算出手段と、信頼度が最も高い領域の画像データに基づいて読み取り対象の原稿の向きを判定する天地認識手段とを備える画像認識装置が開示されている。 Patent Document 1 describes an image reading means for reading a manuscript to generate image data, a dividing means for dividing the image data into a plurality of regions, and a case where each of the plurality of regions is used for direction recognition processing of a manuscript. An image recognition device including a reliability calculation means for calculating reliability and a top-bottom recognition means for determining the orientation of a document to be read based on image data in a region having the highest reliability is disclosed.

しかし、画像処理装置は、原稿のサイズを特定できない場合、文字認識する領域を特定できず、原稿の天地を識別できない。上記の先行技術では、読取開始時に原稿のサイズを特定できない場合について検討されていない。そのため、上記の先行技術では、読取開始時に原稿のサイズを特定できない場合では原稿の天地を識別できないという課題がある。 However, when the size of the original cannot be specified, the image processing device cannot specify the character recognition area and cannot identify the top and bottom of the original. In the above prior art, the case where the size of the original cannot be specified at the start of scanning has not been examined. Therefore, the above-mentioned prior art has a problem that the top and bottom of a document cannot be identified when the size of the document cannot be specified at the start of scanning.

請求項1に係る発明の画像処理装置は、搬送される原稿の画像を順次読み取る読取手段と、前記読取手段によって読み取られる原稿の長さを検知する検知手段と、前記読取手段によって読み取られる原稿における第1の領域、第2の領域、第3の領域、および第4の領域における一以上の領域に対し文字認識する文字認識手段と、前記第1の領域、前記第2の領域、前記第3の領域、または前記第4の領域に対する文字認識の結果に基づいて、前記原稿の方向を識別する識別手段と、前記読取手段によって読み取られる前記原稿を、画像情報として記憶手段に記憶しつつ更新する更新手段と、を有し、前記第3の領域および前記第4の領域それぞれの位置は、前記検知手段によって検知される前記原稿の長さに基づいて特定され、前記第1領域および前記第2領域は、原稿の幅に対応付けられた、前記原稿の先端付近の領域であり、前記第3領域および前記第4領域は、前記原稿の幅および前記原稿の長さに対応付けられた、前記原稿の終端付近の領域であり、前記文字認識手段は、前記記憶手段に記憶されている前記画像情報に基づいて文字認識する。 The image processing apparatus according to claim 1 is a reading means for sequentially reading images of a conveyed original, a detecting means for detecting the length of the original read by the reading means, and a document read by the reading means. A character recognition means for recognizing characters for one or more regions in a first region, a second region, a third region, and a fourth region, and the first region, the second region, and the third region. Based on the result of character recognition for the region or the fourth region, the identification means for identifying the direction of the document and the document read by the reading means are updated while being stored in the storage means as image information. comprising updating means, wherein the third region and the fourth region of each position is specified based on the length of the document sensed by said sensing means, said first region and said second 2 regions, associated with the width of the document, an area near the tip of the document, the third region and the fourth region corresponds with the length in the width and the original of the document This is an area near the end of the document, and the character recognition means recognizes characters based on the image information stored in the storage means.

本発明によると、画像形成装置において、読取開始時に原稿のサイズを特定できない場合でも、原稿の所定領域のOCR処理に基づいて、天地識別することが可能になるという効果を奏する。 According to the present invention, even if the size of the original cannot be specified at the start of scanning in the image forming apparatus, it is possible to identify the top and bottom based on the OCR processing of a predetermined area of the original.

図1は、一実施形態に係る画像形成装置のハードウェア構成図である。FIG. 1 is a hardware configuration diagram of an image forming apparatus according to an embodiment. 図2は、一実施形態に係る画像形成装置の機能ブロック図である。FIG. 2 is a functional block diagram of the image forming apparatus according to the embodiment. 図3は、広幅MFPで処理される図面の様式例である。FIG. 3 is a format example of a drawing processed by a wide-width MFP. 図4は、画像形成装置における処理の概要を示す。FIG. 4 shows an outline of processing in the image forming apparatus. 図5は、原稿のサイズが確定していないときの文字認識と天地識別との関係を説明するための図である。FIG. 5 is a diagram for explaining the relationship between character recognition and top-bottom identification when the size of the original is not fixed. 図6は、画像形成装置において原稿を読み取るときの基本動作の一例を示すシーケンス図である。FIG. 6 is a sequence diagram showing an example of a basic operation when reading a document in an image forming apparatus. 図7は、原稿の天地識別処理の一例を示すフローチャートである。FIG. 7 is a flowchart showing an example of the top-bottom identification process of the document. 図8は、原稿の天地識別処理の一例を示すフローチャートである。FIG. 8 is a flowchart showing an example of the top-bottom identification process of the document. 図9は、原稿の天地識別処理の一例を示すフローチャートである。FIG. 9 is a flowchart showing an example of the top-bottom identification process of the document. 図10は、原稿の天地識別処理の一例を示すフローチャートである。FIG. 10 is a flowchart showing an example of the top-bottom identification process of the document. 図11は、原稿の読み取り処理の一例を示すフローチャートである。FIG. 11 is a flowchart showing an example of the document reading process. 図12は、原稿の読み取り処理の一例を示すフローチャートである。FIG. 12 is a flowchart showing an example of the document reading process.

以下、図面を用いて、本発明の実施形態について説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<<画像形成装置のハードウェア構成>>
図1は、一実施形態に係る画像形成装置のハードウェア構成図である。図1を用いて、画像形成装置20のハードウェア構成について説明する。以下、画像形成装置20は、広幅の記録媒体を処理するMFP(Multifunction Peripheral/Printer/Product)である場合について説明する。
<< Hardware configuration of image forming device >>
FIG. 1 is a hardware configuration diagram of an image forming apparatus according to an embodiment. The hardware configuration of the image forming apparatus 20 will be described with reference to FIG. Hereinafter, the case where the image forming apparatus 20 is an MFP (Multifunction Peripheral / Printer / Product) that processes a wide recording medium will be described.

画像形成装置20は、システムコントローラ100と、操作パネル制御装置200と、画像入出力制御装置300と、画像データバス/制御コマンドバス400と、を有する。 The image forming apparatus 20 includes a system controller 100, an operation panel control device 200, an image input / output control device 300, and an image data bus / control command bus 400.

システムコントローラは、スキャナアプリケーション、コピーアプリケーション、FAXアプリケーション、またはプリンタプリケーションなどのアプリケーションが動作することで、画像形成装置20全体の制御を行う。以下、「アプリケーション」を単に「アプリ」と表す。操作パネル制御装置200は、画像形成装置20への設定などの入力、装置の状態の表示などの処理を実行する。画像入出力制御装置300は、原稿画像の読み取り、公知の電子写真技術による転写用紙への画像書き込みを行う。画像データバス/制御コマンドバス400は、システムコントローラ100と、操作パネル制御装置200と、画像入出力制御装置300と、を図1に記載されているように電気的に接続し、画像データと制御コマンドとを時分割で転送するためのバスである。 The system controller controls the entire image forming apparatus 20 by operating an application such as a scanner application, a copy application, a fax application, or a printer application. Hereinafter, the "application" is simply referred to as an "app". The operation panel control device 200 executes processing such as inputting settings to the image forming device 20 and displaying the state of the device. The image input / output control device 300 reads the original image and writes the image on the transfer paper by a known electrophotographic technique. The image data bus / control command bus 400 electrically connects the system controller 100, the operation panel control device 200, and the image input / output control device 300 as shown in FIG. 1, and controls the image data. It is a bus for transferring commands in a time-divided manner.

システムコントローラ100は、CPU101(Central Processing Unit)と、ROM102(Read Only Memory)と、RAM103(Random Access Memory)と、NVRAM104(Non-volatile RAM)と、システムI/F111(Interface)と、ネットワークI/Fコントローラ112と、ワークメモリ141およびフレームメモリ142を有するメモリ140と、FIFOバッファ143,144(First In, First Out)と、メモリコントローラ145と、HDDC146(Hard Disk Drive Controller)と、を有する。 The system controller 100 includes a CPU 101 (Central Processing Unit), a ROM 102 (Read Only Memory), a RAM 103 (Random Access Memory), an NVRAM 104 (Non-volatile RAM), a system I / F111 (Interface), and a network I /. It has an F controller 112, a memory 140 having a work memory 141 and a frame memory 142, a FIFO buffer 143 and 144 (First In, First Out), a memory controller 145, and an HDDC 146 (Hard Disk Drive Controller).

CPU101は、システムコントローラ100全体の制御を行う。ROM102は、システムコントローラ100の制御プログラムを記憶する。RAM103は、CPU101によって使用される作業用メモリである。NVRAM104は、システム全体の情報を保管する不揮発性メモリである。 The CPU 101 controls the entire system controller 100. The ROM 102 stores the control program of the system controller 100. The RAM 103 is a working memory used by the CPU 101. The NVRAM 104 is a non-volatile memory that stores information on the entire system.

システムI/F111は、CPU101の命令により画像形成装置20内で処理される、各種の転送制御を行う。ネットワークI/Fコントローラ112は、通信ネットワークとの接続制御を行う。 The system I / F 111 performs various transfer controls processed in the image forming apparatus 20 by the instruction of the CPU 101. The network I / F controller 112 controls the connection with the communication network.

ワークメモリ141は、画像形成装置20のプリンタやOCR判定用の画像が展開される作業用メモリである。フレームメモリ142は、読取画像や書込画像の画像データを蓄える作業用メモリである。画像データは、例えば、符号化されたドットイメージである。 The work memory 141 is a working memory in which the printer of the image forming apparatus 20 and the image for OCR determination are developed. The frame memory 142 is a working memory for storing image data of read images and written images. The image data is, for example, a coded dot image.

FIFOバッファ143は、入力画像をフレームメモリ142へ書き込む際のデータ転送速度変換を行う。同様にFIFOバッファ144は、フレームメモリ142の画像データを出力画像としてデータ転送する時の速度変換を行う。 The FIFO buffer 143 converts the data transfer rate when writing the input image to the frame memory 142. Similarly, the FIFO buffer 144 performs speed conversion when the image data of the frame memory 142 is transferred as an output image.

メモリコントローラ145は、CPU101の制御なしに、フレームメモリ142およびHDDC146と、バスと、の間の画像の入出力を制御する。また、メモリコントローラ145は、CPU101の制御によるシステムI/F111からの指示により、HDDC146のデータの入出力制御を行う。 The memory controller 145 controls the input / output of an image between the frame memory 142, the HDDC 146, and the bus without the control of the CPU 101. Further, the memory controller 145 controls the input / output of the data of the HDD C146 according to the instruction from the system I / F111 under the control of the CPU 101.

HDDC146は、内部に周知のHDD(Hard Disk Drive)を持ち、HDDに対する画像データの入出力制御を行う。HDDには画像読取ユニット312で読み取られた画像及び、ネットワーク経由で取得した画像が保存される。 The HDDC146 has a well-known HDD (Hard Disk Drive) inside, and controls input / output of image data to the HDD. The image read by the image reading unit 312 and the image acquired via the network are stored in the HDD.

操作パネル制御装置200は、CPU201と、ROM202と、RAM203と、入力装置211と、表示装置212と、を有する。 The operation panel control device 200 includes a CPU 201, a ROM 202, a RAM 203, an input device 211, and a display device 212.

CPU201は、操作パネル制御装置200全体の制御を行う。ROM202は、操作パネル制御装置200の制御プログラムを記憶する。RAM203は、CPU201によって使用される作業用メモリである。入力装置211は、ユーザがシステム設定の入力を行うための装置である。表示装置212は、システムの設定内容および状態を表示する装置である。入力装置211および表示装置212は、例えば、タッチパネル機能を搭載した液晶表示装置(LCD:Liquid Crystal Display)または有機EL(Electro Luminescence)表示装置であってもよい。 The CPU 201 controls the entire operation panel control device 200. The ROM 202 stores the control program of the operation panel control device 200. The RAM 203 is a working memory used by the CPU 201. The input device 211 is a device for the user to input the system settings. The display device 212 is a device that displays the setting contents and the status of the system. The input device 211 and the display device 212 may be, for example, a liquid crystal display (LCD) or an organic EL (Electro Luminescence) display device equipped with a touch panel function.

画像入出力制御装置300は、CPU301と、ROM302と、RAM303と、画像書込ユニット311と、画像読取ユニット312と、原稿搬送制御ユニット313と、電子写真プロセスユニット314と、転写紙搬送ユニット315と、を有する。 The image input / output control device 300 includes a CPU 301, a ROM 302, a RAM 303, an image writing unit 311, an image reading unit 312, a document transfer control unit 313, an electrophotographic process unit 314, and a transfer paper transfer unit 315. , Have.

CPU301は、画像入出力制御装置300全体の制御を行う。ROM302は、画像入出力制御装置300の制御プログラムを記憶する。RAM303は、CPU301によって使用される作業用メモリである。 The CPU 301 controls the entire image input / output control device 300. The ROM 302 stores the control program of the image input / output control device 300. The RAM 303 is a working memory used by the CPU 301.

画像書込ユニット311は、レーザー光を画素周波数で点灯しポリゴンスキャナでスキャンする公知の光学書き込み装置を制御するための制御ユニットである。画像読取ユニット312は、ランプ光を原稿で反射しCCD(Charge-Coupled Device)で読み取る公知の光学式スキャナを制御するための制御ユニットである。 The image writing unit 311 is a control unit for controlling a known optical writing device that lights a laser beam at a pixel frequency and scans it with a polygon scanner. The image reading unit 312 is a control unit for controlling a known optical scanner that reflects lamp light with a document and reads it with a CCD (Charge-Coupled Device).

原稿搬送制御ユニット313は、複数枚積載した原稿から、読み取り用の原稿を1枚ずつ画像読取ユニット312へ搬送する。また、原稿搬送制御ユニット313は、原稿の幅およびサイズの検出も行う。 The document transfer control unit 313 transports the documents to be read one by one to the image reading unit 312 from the documents loaded on a plurality of sheets. The document transfer control unit 313 also detects the width and size of the document.

電子写真プロセスユニット314は、感光体上にレーザー光で書き込まれた潜像画像をトナーで実像化し用紙に転写、定着する電子写真用の周知の制御ユニットである。転写紙搬送ユニット315は、電子写真プロセスユニット314で画像が転写された用紙の搬送制御を行う。 The electrophotographic process unit 314 is a well-known control unit for electrophotographs in which a latent image image written on a photoconductor by laser light is converted into a real image with toner, transferred to paper, and fixed. The transfer paper transport unit 315 controls the transfer of the paper on which the image is transferred by the electrophotographic process unit 314.

<<画像形成装置の機能構成>>
図2は、一実施形態に係る画像形成装置20の機能ブロック図である。図2の各部は、図1に示されている各構成要素のいずれかが、ROM102からRAM103上に展開されたプログラムに従ったCPU101からの命令、ROM202からRAM203上に展開されたプログラムに従ったCPU201からの命令、またはROM302からRAM303上に展開されたプログラムに従ったCPU301からの命令によって動作することで実現される機能である。また、画像形成装置20は、NVRAM104により構築される記憶部5000を有する。
<< Functional configuration of image forming device >>
FIG. 2 is a functional block diagram of the image forming apparatus 20 according to the embodiment. Each part of FIG. 2 follows an instruction from the CPU 101 according to a program expanded from the ROM 102 to the RAM 103, and a program expanded from the ROM 202 to the RAM 203 for any of the components shown in FIG. It is a function realized by operating by an instruction from the CPU 201 or an instruction from the CPU 301 according to a program developed on the RAM 303 from the ROM 302. Further, the image forming apparatus 20 has a storage unit 5000 constructed by the NVRAM 104.

記憶部5000には、複数の領域管理テーブルによって領域管理DB5001が構築されている。各領域管理テーブルには、原稿ごとに文字認識処理に用いる領域が記録されている。 In the storage unit 5000, an area management DB 5001 is constructed by a plurality of area management tables. In each area management table, an area used for character recognition processing is recorded for each manuscript.

図3は、広幅MFPで処理される図面の様式例である。広幅MFPとしての画像形成装置20は、例えば、A4からA0までの長尺の原稿を読み取る。図面などの原稿には、原稿の向きとは異なる角度で寸法表記などが記録されることがある。このため、画像形成装置20において、原稿の全体に対し文字認識処理して天地認識すると、誤った結果が得られることがある。このため、画像形成装置20は、原稿の所定位置に配置される表題欄600Tを文字認識して原稿の天地(上下)を識別する。図3の(A)は、A0〜A3サイズの原稿600における表題欄600Tの位置の一例を示す。図3の(B)は、A4サイズの原稿600における表題欄600Tの位置の一例を示す。図3の(C)は、表題欄の記載内容の一例を示す。図3において、表題欄600Tは、原稿600の端部に記録されている。 FIG. 3 is a format example of a drawing processed by a wide-width MFP. The image forming apparatus 20 as a wide-width MFP reads, for example, a long document from A4 to A0. On a manuscript such as a drawing, dimensional notation or the like may be recorded at an angle different from the orientation of the manuscript. Therefore, if the image forming apparatus 20 performs character recognition processing on the entire document and recognizes the top and bottom, an erroneous result may be obtained. Therefore, the image forming apparatus 20 recognizes the title column 600T arranged at a predetermined position of the document and identifies the top and bottom (upper and lower) of the document. FIG. 3A shows an example of the position of the title column 600T in the A0 to A3 size manuscript 600. FIG. 3B shows an example of the position of the title column 600T in the A4 size manuscript 600. (C) of FIG. 3 shows an example of the description contents of the title column. In FIG. 3, the title column 600T is recorded at the end of the manuscript 600.

表1は、領域管理DB5001に構築される第1の領域管理テーブルの一例を示す。第1の領域管理テーブルには、原稿の用紙サイズを示す情報に関連付けて、表題欄600Tが配置され得る領域を示す情報と、優先設定を示す情報と、が記録される。 Table 1 shows an example of a first area management table constructed in the area management DB 5001. In the first area management table, information indicating an area in which the title column 600T can be arranged and information indicating priority setting are recorded in association with information indicating the paper size of the original.

Figure 0006981140
Figure 0006981140

用紙サイズに併記されている「縦、横」の情報は、画像形成装置20に用紙を縦方向(短辺側)から給紙するか、横方向(長辺側)から給紙するかを示す。 The "vertical, horizontal" information written together with the paper size indicates whether the paper is fed to the image forming apparatus 20 from the vertical direction (short side) or from the horizontal direction (long side). ..

領域を示す情報には、領域の対角の頂点の座標が含まれている。座標は、原稿の先端の頂点の一つを基準(0,0)として、画素単位で表されている。例えば、「(798,0)-(841,183)」の領域は、原稿における4つの座標「(798,0),(841,0),(841,183),(0,183)」で囲まれる矩形を示す。表1において、レコードごとに、それぞれ用紙において対角となる位置の2つの領域が記録されている。これは、原稿をある方向から給紙したときと、ある方向の逆方向から給紙したときとで、表題の配置され得る位置が異なるためである。 The information indicating the region includes the coordinates of the diagonal vertices of the region. The coordinates are expressed in pixel units with one of the vertices at the tip of the document as a reference (0,0). For example, the region "(798,0)-(841,183)" indicates a rectangle surrounded by the four coordinates "(798,0), (841,0), (841,183), (0,183)" in the manuscript. In Table 1, for each record, two areas at diagonal positions on the paper are recorded. This is because the positions where the titles can be arranged differ between when the original is fed from a certain direction and when the original is fed from the opposite direction.

第1の領域管理テーブルにおいて、A0〜A3と、A4とで、領域の配置が異なるのは、本実施形態では、A0〜A3とA4とで、領域の配置が異なるように予め設定されているためである。 In the first area management table, the area arrangement is different between A0 to A3 and A4. In the present embodiment, the area arrangement is set to be different between A0 to A3 and A4. Because.

優先設定は、用紙ごとに、領域管理テーブルで定められている各領域の文字認識処理で原稿の天地を識別できなかった場合に、どの領域に基づいて原稿の天地を識別するか特定するための情報である。 The priority setting is for specifying which area is used to identify the top and bottom of the original when the character recognition process of each area defined in the area management table cannot identify the top and bottom of the original for each paper. Information.

図4は、画像形成装置20における処理の概要を示す。画像形成装置20は、給紙位置のサイドフェンスの幅を検知して、給紙方向603に給紙される原稿600の幅を確定する。続いて、画像形成装置20は、原稿600の搬送量に基づいて原稿600の長さを検知する。画像形成装置20、検知された長さに基づいて、例えば、原稿の先端から長さ600LTの領域、および原稿の終端から長さ600LTの領域に対し、OCR処理して、原稿600の天地を識別する。 FIG. 4 shows an outline of processing in the image forming apparatus 20. The image forming apparatus 20 detects the width of the side fence at the paper feed position and determines the width of the document 600 to be fed in the paper feed direction 603. Subsequently, the image forming apparatus 20 detects the length of the document 600 based on the amount of the document 600 conveyed. Based on the image forming apparatus 20, for example, a region having a length of 600 LT from the tip of the document and a region having a length of 600 LT from the end of the document are subjected to OCR processing to identify the top and bottom of the document 600 based on the detected length. do.

図5の(A)は、原稿のサイズが確定していないときの文字認識と天地識別との関係を説明するための図である。例えば、原稿600の読み込みを開始するときに、原稿幅が594mmであると確定した場合、原稿のサイズとしてA1サイズ(縦)、A2サイズ(横)、定型外サイズなどが想定される。画像形成装置20は、原稿のサイズを特定できない場合、給紙される原稿の縦横の向きを考慮して、表題欄が配置され得る原稿の先端付近の2か所の領域に対し文字認識処理を実行し、給紙される原稿の前後の向きを考慮して、先端付近の2か所の領域に対向する原稿の終端付近の2か所の領域に対し文字認識処理を実行する。 FIG. 5A is a diagram for explaining the relationship between character recognition and top-bottom identification when the size of the original is not fixed. For example, when it is determined that the original width is 594 mm when the reading of the original 600 is started, the size of the original is assumed to be A1 size (vertical), A2 size (horizontal), non-standard size, or the like. When the size of the original cannot be specified, the image forming apparatus 20 performs character recognition processing on two areas near the tip of the original in which the title column can be arranged in consideration of the vertical and horizontal orientation of the original to be fed. The character recognition process is executed for the two areas near the end of the document facing the two areas near the tip, considering the front-back orientation of the document to be fed.

表2は、領域管理DB5001に構築される第2の領域管理テーブルの一例を示す。第2の領域管理テーブルは、原稿の読み取り開始時に原稿600のサイズが特定されない場合に用いられる。第2の領域管理テーブルには、原稿幅に関連付けて、表題欄が配置され得る原稿の先端付近の2か所の領域T1,T2を示す情報と、表題欄が配置され得る原稿の終端付近の2か所の領域T3,T4を示す情報と、優先設定を示す情報と、が記録される。原稿の終端付近の2か所の領域T3,T4を示す情報におけるNは、原稿の長さである。すなわち、原稿の終端付近の2か所の領域T3,T4を示す情報は、原稿の長さが確定した時点で確定する。 Table 2 shows an example of a second area management table constructed in the area management DB 5001. The second area management table is used when the size of the document 600 is not specified at the start of scanning the document. In the second area management table, information indicating two areas T1 and T2 near the tip of the manuscript in which the title column can be arranged and information near the end of the manuscript in which the title column can be arranged are displayed in relation to the width of the manuscript. Information indicating the two areas T3 and T4 and information indicating the priority setting are recorded. N in the information indicating the two regions T3 and T4 near the end of the manuscript is the length of the manuscript. That is, the information indicating the two regions T3 and T4 near the end of the document is determined when the length of the document is determined.

Figure 0006981140
Figure 0006981140

図5の(B)は、各領域の画像データを示す概念図である。画像形成装置20は、読み取った画像のうち、領域T1,T2,T3,T4の画像データDT1,DT2,DT3,DT4を文字認識用のワークメモリ141に展開して、領域ごとに予め定められた方向で文字認識処理する。予め定められた方向は、領域管理テーブルにおける各領域のフィールドに記録されていてもよい。領域T3,T4は、原稿終端が検知されてから確定するので、画像形成装置20は、原稿の読み取り完了後に、バッファから画像データDT3,DT4から切り出して展開する。 FIG. 5B is a conceptual diagram showing image data of each region. The image forming apparatus 20 expands the image data DT1, DT2, DT3, DT4 of the areas T1, T2, T3, and T4 in the read image into the work memory 141 for character recognition, and predetermines each area. Character recognition processing is performed in the direction. The predetermined direction may be recorded in the field of each area in the area management table. Since the areas T3 and T4 are determined after the end of the document is detected, the image forming apparatus 20 cuts out the image data DT3 and DT4 from the buffer and develops them after the reading of the document is completed.

図5の(C)は、文字認識された画像データを示す概念図である。画像形成装置20は、ワークメモリ141に展開された画像データDT1,DT2,DT3,DT4に対し、文字認識処理を行い、ある領域(例えば、DT4)において、あらかじめ定められた方向で文字認識して文字が認識された場合、この領域(例えば、DT4)に表題欄が設けられていると判断し、あらかじめ定められた方向を天地(上下)方向する。どの文字領域でも文字識別できない場合は、優先設定により天地識別する。 FIG. 5C is a conceptual diagram showing character-recognized image data. The image forming apparatus 20 performs character recognition processing on the image data DT1, DT2, DT3, DT4 expanded in the work memory 141, and recognizes characters in a predetermined direction in a certain area (for example, DT4). When the character is recognized, it is determined that the title column is provided in this area (for example, DT4), and the predetermined direction is directed to the top and bottom (up and down). If the characters cannot be identified in any character area, the top and bottom are identified by the priority setting.

図2に戻って、画像形成装置20の各機能ブロックについて説明する。画像系装置20は、読取制御部501と、読取部502と、領域管理部503と、文字認識メモリ制御部504と、文字認識部505と、原稿搬送部506と、画像メモリ制御部507と、受付部508と、を有する。読取制御部501は、プログラムに従ったCPU101の処理によって実現され、原稿の読み取りを制御する。 Returning to FIG. 2, each functional block of the image forming apparatus 20 will be described. The image system device 20 includes a reading control unit 501, a reading unit 502, an area management unit 503, a character recognition memory control unit 504, a character recognition unit 505, a document transfer unit 506, an image memory control unit 507, and the like. It has a reception unit 508 and. The reading control unit 501 is realized by the processing of the CPU 101 according to the program, and controls the reading of the document.

読取部502は、画像読取ユニット312で実現され、読取制御部501からの指示により、原稿を読み取り、読み取られた画像データを、画像データバスを経由して、画像メモリ制御部507に送信する。なお、画像読取ユニット312は、画像を読み取るための線形のセンサであり、原稿の搬送経路に対し、直行して配置される。これにより、センサは、搬送される原稿を走査しつつ、原稿の一端から他端までの画像を順次読み取る。 The reading unit 502 is realized by the image reading unit 312, reads the original according to the instruction from the reading control unit 501, and transmits the read image data to the image memory control unit 507 via the image data bus. The image reading unit 312 is a linear sensor for reading an image, and is arranged perpendicular to the transport path of the document. As a result, the sensor sequentially reads the images from one end to the other end of the document while scanning the conveyed document.

領域管理部503は、CPU101の処理によって実現され、読取制御部501からの要求により、領域管理テーブルの情報を抽出して応答として返す。 The area management unit 503 is realized by the processing of the CPU 101, extracts the information of the area management table in response to the request from the read control unit 501, and returns it as a response.

文字認識メモリ制御部504は、CPU101またはメモリコントローラ145の処理によって実現され、読取制御部501からの要求により、画像メモリ制御部507から送られてくる画像を、ワークメモリ141に展開する。ワークメモリ141は、複数のメモリ領域で構成され、各メモリ領域において文字認識処理用の画像データが展開される。 The character recognition memory control unit 504 is realized by the processing of the CPU 101 or the memory controller 145, and expands the image sent from the image memory control unit 507 to the work memory 141 at the request of the read control unit 501. The work memory 141 is composed of a plurality of memory areas, and image data for character recognition processing is expanded in each memory area.

文字認識部505は、CPU101の処理によって実現され、読取制御部501からの要求により、文字認識メモリ制御部504によって展開された画像データの文字認識処理を実行し、その結果を応答として読取制御部501へ返す。 The character recognition unit 505 is realized by the processing of the CPU 101, executes the character recognition processing of the image data expanded by the character recognition memory control unit 504 in response to the request from the reading control unit 501, and uses the result as a response to the reading control unit. Return to 501.

原稿搬送部506は、原稿搬送制御ユニット313の処理によって実現され、読取制御部501からの要求により、原稿を搬送する。さらに、原稿搬送部506は、読取制御部501からの要求に基づいて、原稿の幅を検知し、かつ、原稿の搬送量に基づいて、原稿の先端からの長さ検知し、結果を応答として読取制御部501へ返す。 The document transfer unit 506 is realized by the processing of the document transfer control unit 313, and transfers the document at the request of the reading control unit 501. Further, the document transport unit 506 detects the width of the document based on the request from the reading control unit 501, and detects the length from the tip of the document based on the transport amount of the document, and uses the result as a response. Return to read control unit 501.

画像メモリ制御部507は、CPU101またはメモリコントローラ145の処理によって実現され、読取制御部501からの要求により、読取部502から送信された画像データを、出力用のデータとしてフレームメモリ142に転送する。 The image memory control unit 507 is realized by the processing of the CPU 101 or the memory controller 145, and transfers the image data transmitted from the reading unit 502 to the frame memory 142 as output data at the request of the reading control unit 501.

受付部508は、操作パネル制御装置200の入力装置211および表示装置212、ならびにCPU201の処理によって実現され、ユーザから原稿サイズの入力を受付けて、受け付けられた情報を、読取制御部501に伝える。 The reception unit 508 is realized by the processing of the input device 211 and the display device 212 of the operation panel control device 200, and the CPU 201, receives the input of the document size from the user, and transmits the received information to the reading control unit 501.

<<画像形成装置の処理、動作>>
続いて、画像形成装置20の基本動作について説明する。図6は、画像形成装置において原稿を読み取るときの基本動作の一例を示すシーケンス図である。
<< Processing and operation of the image forming apparatus >>
Subsequently, the basic operation of the image forming apparatus 20 will be described. FIG. 6 is a sequence diagram showing an example of a basic operation when reading a document in an image forming apparatus.

画像形成装置20において、長尺の原稿が給紙されると、読取制御部501は、原稿幅の検知の要求を原稿搬送部506へ送信する(ステップS1)。 When a long document is fed in the image forming apparatus 20, the reading control unit 501 transmits a request for detecting the document width to the document transport unit 506 (step S1).

原稿搬送部506は、原稿幅の検知の要求を受信すると、画像形成装置20に給紙された原稿幅を検知して、検知結果を応答として読取制御部501へ送信する(ステップS2)。原稿幅の検知方法は、特に限定されないが、給紙される原稿がサイドフェンスによって支持されている場合、サイドフェンスの設定位置を検知する方法が例示される。 When the document transport unit 506 receives the request for detecting the document width, the document transport unit 506 detects the document width fed to the image forming apparatus 20 and transmits the detection result as a response to the reading control unit 501 (step S2). The method for detecting the width of the original is not particularly limited, but when the original to be fed is supported by the side fence, a method for detecting the set position of the side fence is exemplified.

読取制御部501は、原稿幅を取得すると、取得した原稿幅を含み、対応する領域T1,T2,T3,T4を示す情報および優先設定の要求を領域管理部503へ送信する(ステップS3)。 When the reading control unit 501 acquires the document width, the reading control unit 501 transmits the information indicating the corresponding areas T1, T2, T3, and T4 and the request for priority setting to the area management unit 503, including the acquired document width (step S3).

領域管理部503は、領域T1,T2,T3,T4を示す情報の要求を受信すると、受信した原稿幅を検索キーとして、第2の領域管理テーブルを検索し、対応する領域T1,T2,T3,T4および優先設定を示す情報を読み出す。領域管理部503は、読み出された領域T1,T2,T3,T4および優先設定を示す情報を、応答として読取制御部501へ送信する(ステップS4)。 When the area management unit 503 receives a request for information indicating the areas T1, T2, T3, and T4, the area management unit 503 searches the second area management table using the received document width as a search key, and searches for the corresponding area T1, T2, T3. , T4 and the information indicating the priority setting is read. The area management unit 503 transmits the read areas T1, T2, T3, T4 and information indicating the priority setting to the read control unit 501 as a response (step S4).

読取制御部501は、領域T1,T2,T3,T4および優先設定を示す情報を受信する。読取制御部501は、受信した領域T1,T2を示す情報を含み、原稿における領域T1,T2の先端または終端が読取位置に到達したこと、すなわち領域T1,T2の読取開始または読取終了の通知の要求を、原稿搬送部506へ送信する(ステップS5)。なお、領域T3,T4は、原稿の終端の決定後に確定する。このため、読取制御部501は、領域T3,T4にかかる読取開始および読取終了の通知の要求を原稿搬送部506へ送信しない。 The read control unit 501 receives information indicating the regions T1, T2, T3, T4 and the priority setting. The reading control unit 501 includes information indicating the received areas T1 and T2, and notifies that the tip or end of the areas T1 and T2 in the document has reached the reading position, that is, notification of the start or end of reading of the areas T1 and T2. The request is transmitted to the document transfer unit 506 (step S5). The areas T3 and T4 are determined after the end of the document is determined. Therefore, the scanning control unit 501 does not transmit the request for notification of the scanning start and the scanning end related to the areas T3 and T4 to the document transport unit 506.

続いて、読取制御部501は、原稿搬送部506、読取部502、および画像メモリ制御部507へ、原稿の読取開始通知を送信する(ステップS6〜S8)。 Subsequently, the reading control unit 501 transmits a document reading start notification to the document transport unit 506, the scanning unit 502, and the image memory control unit 507 (steps S6 to S8).

原稿搬送部506は、原稿の読取開始通知を受信すると、搬送経路への原稿の搬送を開始する。読取部502は、読取位置を通過する原稿の読み取りを開始し、読み取られた画像の画像データを画像メモリ制御部507へ随時送信する。画像メモリ制御部507は、読取部502から送られてくる画像データを、随時、フレームメモリ142に記録する。 When the document transfer unit 506 receives the notification of the start of reading the document, the document transfer unit 506 starts transporting the document to the transfer path. The reading unit 502 starts reading the document passing through the reading position, and transmits the image data of the read image to the image memory control unit 507 at any time. The image memory control unit 507 records the image data sent from the reading unit 502 in the frame memory 142 at any time.

原稿搬送部506は、搬送量に基づいて、原稿のどの位置が読取部502による読取位置を通過しているか検知する。原稿搬送部506は、原稿における領域T1,T2の先端が読取位置に到達したことを検知すると、領域T1,T2にかかる読取開始通知を読取制御部501へ送信する(ステップS9)。 The document transfer unit 506 detects which position of the document passes through the reading position by the reading unit 502 based on the transfer amount. When the document transport unit 506 detects that the tips of the regions T1 and T2 in the document have reached the reading position, the document transport unit 506 transmits a scanning start notification for the regions T1 and T2 to the reading control unit 501 (step S9).

読取制御部501は、領域T1,T2にかかる読取開始通知を受信すると、領域T1,T2,T3,T4にかかる転送開始通知を、文字認識メモリ制御部504および画像メモリ制御部507へ送信する(ステップS10,S11)。転送開始通知には、ステップS4で取得された領域T1,T2,T3,T4を示す情報が含まれている。 When the read control unit 501 receives the read start notification for the areas T1 and T2, the read control unit 501 transmits the transfer start notification for the areas T1, T2, T3, and T4 to the character recognition memory control unit 504 and the image memory control unit 507. Steps S10, S11). The transfer start notification includes information indicating the areas T1, T2, T3, and T4 acquired in step S4.

画像メモリ制御部507は、領域T1,T2,T3,T4にかかる転送開始通知を受信すると、文字認識メモリ制御部504へ、読取部502から送られてきた画像データのうち領域T1,T2,T3,T4にかかる部分を、文字認識メモリ制御部504へ転送開始する(ステップS12)。 When the image memory control unit 507 receives the transfer start notification related to the areas T1, T2, T3, and T4, the image memory control unit 507 receives the transfer start notification, and the area T1, T2, T3 of the image data sent from the reading unit 502 to the character recognition memory control unit 504. , T4 is transferred to the character recognition memory control unit 504 (step S12).

なお、領域T3(例えば、(0,N-183)-(43,N))および領域T4(例えば、(658,N-43)-(641,N))について、幅は予め特定されているものの、長さは読取開始時に特定されていない。このため、画像メモリ制御部507は、領域T3,T4の画像データとして、領域T3の幅(例えば、0-43)およびT4の幅(658-641)の範囲の画像データを転送する。 The width of the region T3 (for example, (0, N-183)-(43, N)) and the region T4 (for example, (658, N-43)-(641, N)) is specified in advance. However, the length was not specified at the start of reading. Therefore, the image memory control unit 507 transfers the image data in the range of the width of the region T3 (for example, 0-43) and the width of the T4 (658-641) as the image data of the regions T3 and T4.

文字認識メモリ制御部504は、領域T1,T2,T3,T4にかかる画像データを受信すると、転送された画像データのワークメモリ141の各所定のメモリ領域への展開を開始し、展開開始通知を読取制御部501へ送信する(ステップS13)。 When the character recognition memory control unit 504 receives the image data related to the areas T1, T2, T3, and T4, the character recognition memory control unit 504 starts expanding the transferred image data to each predetermined memory area of the work memory 141, and notifies the expansion start. It is transmitted to the read control unit 501 (step S13).

文字認識メモリ制御部504は、領域T3,T4が確定するまで、ワークメモリ141の各所定のメモリ領域を上書き更新しながら領域T3,T4の画像データを展開する。ワークメモリの各所定のメモリ領域は、少なくとも領域T1,T2,T3,T4の面積の画像データを記憶可能な容量を有している。上記の更新処理が繰り返されても、原稿の読み取り完了後、各所定のメモリ領域には、確定後の領域T3,T4の画像データが記憶されている。 The character recognition memory control unit 504 expands the image data of the areas T3 and T4 while overwriting and updating each predetermined memory area of the work memory 141 until the areas T3 and T4 are determined. Each predetermined memory area of the work memory has a capacity capable of storing image data having an area of at least the areas T1, T2, T3, and T4. Even if the above update process is repeated, the image data of the determined areas T3 and T4 are stored in each predetermined memory area after the reading of the original is completed.

原稿搬送部506は、原稿における領域T1,T2の各終端が読取位置に到達したことを検知すると、領域T1,T2にかかる各終了通知を読取制御部501へ送信する(ステップS14−1)。 When the document transfer unit 506 detects that the ends of the areas T1 and T2 in the document have reached the reading position, the document transfer unit 506 transmits each end notification for the areas T1 and T2 to the reading control unit 501 (step S14-1).

読取制御部501は、領域T1,T2にかかる各読取終了通知を受信すると、領域T1,T2にかかる各転送終了通知を、文字認識メモリ制御部504および画像メモリ制御部507へ送信する(ステップS15,S16)。 When the read control unit 501 receives each read end notification related to the areas T1 and T2, the read control unit 501 transmits each transfer end notification related to the areas T1 and T2 to the character recognition memory control unit 504 and the image memory control unit 507 (step S15). , S16).

画像メモリ制御部507は、領域T1,T2にかかる各転送終了通知を受信すると、領域T1,T2にかかる画像データの文字認識メモリ制御部504への転送を停止する(ステップS17)。 When the image memory control unit 507 receives each transfer end notification related to the areas T1 and T2, the image memory control unit 507 stops the transfer of the image data related to the areas T1 and T2 to the character recognition memory control unit 504 (step S17).

文字認識メモリ制御部504は、領域T1,T2にかかる転送終了通知を受信すると、画像データの展開を停止し、展開終了通知を読取制御部501へ送信する(ステップS18)。 When the character recognition memory control unit 504 receives the transfer end notification related to the areas T1 and T2, the character recognition memory control unit 504 stops the expansion of the image data and transmits the expansion end notification to the reading control unit 501 (step S18).

原稿搬送部506は、原稿の終端が読取位置に到達したことを検知すると、原稿終端通知を読取制御部501へ送信する(ステップS14−2)。原稿終端通知には、原稿搬送部506によって測定された原稿の長さNが含まれている。 When the document transfer unit 506 detects that the end of the document has reached the reading position, the document transfer unit 506 transmits a document end notification to the reading control unit 501 (step S14-2). The document end notification includes the length N of the document measured by the document transfer unit 506.

読取制御部501は、取得した原稿の長さNを、領域T3,T4を示す情報に当てはめて、領域T3,T4を特定する。読取制御部501は、領域T3,T4にかかる各読取終了通知を受信すると、領域T3,T4にかかる各転送終了通知を、文字認識メモリ制御部504および画像メモリ制御部507へ送信する(ステップS15,S16)。各転送終了情報には、特定されたT3,T4を示す情報が含まれている。 The reading control unit 501 applies the length N of the acquired document to the information indicating the regions T3 and T4 to specify the regions T3 and T4. When the read control unit 501 receives each read end notification related to the areas T3 and T4, the read control unit 501 transmits each transfer end notification related to the areas T3 and T4 to the character recognition memory control unit 504 and the image memory control unit 507 (step S15). , S16). Each transfer end information includes information indicating the specified T3 and T4.

画像メモリ制御部507は、領域T3,T4にかかる各転送終了通知を受信すると、領域T3,T4にかかる画像データの文字認識メモリ制御部504への転送を停止する(ステップS17)。 When the image memory control unit 507 receives each transfer end notification related to the areas T3 and T4, the image memory control unit 507 stops the transfer of the image data related to the areas T3 and T4 to the character recognition memory control unit 504 (step S17).

文字認識メモリ制御部504は、領域T3,T4にかかる転送終了通知を受信すると、画像データの展開を停止し、展開終了通知を読取制御部501へ送信する(ステップS18)。 When the character recognition memory control unit 504 receives the transfer end notification related to the areas T3 and T4, the character recognition memory control unit 504 stops the expansion of the image data and transmits the expansion end notification to the reading control unit 501 (step S18).

読取制御部501は、領域T1,T2,T3,T4にかかる展開終了通知を受信すると、文字認識部505へ、領域T1,T2,T3,T4にかかる展開された画像データの文字認識要求を送信する(ステップS19) When the read control unit 501 receives the expansion end notification for the areas T1, T2, T3, and T4, it transmits a character recognition request for the expanded image data for the areas T1, T2, T3, and T4 to the character recognition unit 505. (Step S19)

文字認識部505は、領域T1,T2,T3,T4にかかる文字認識要求を受信すると、展開された領域T1,T2,T3,T4の画像データに基づいて文字の認識処理を行い、その結果を応答として読取制御部501へ送信する(ステップS20)。 When the character recognition unit 505 receives the character recognition request for the areas T1, T2, T3, and T4, the character recognition unit 505 performs character recognition processing based on the image data of the expanded areas T1, T2, T3, and T4, and obtains the result. It is transmitted to the read control unit 501 as a response (step S20).

領域T1,T2,T3,T4にかかる文字認識が終了すると、読取制御部501は、原稿搬送部506、読取部502、画像メモリ制御部507へ読取終了通知を送信する。 When the character recognition related to the areas T1, T2, T3, and T4 is completed, the reading control unit 501 transmits a reading end notification to the document transport unit 506, the reading unit 502, and the image memory control unit 507.

(原稿のサイズの指定されていない場合の処理)
図7および図8は、原稿の天地識別処理の一例を示すフローチャートである。図7,8を用いて、原稿のサイズが指定されていない場合の、原稿の天地識別処理について説明する。
(Processing when the size of the original is not specified)
7 and 8 are flowcharts showing an example of the top-bottom identification process of a document. The top-bottom identification process of the document will be described with reference to FIGS. 7 and 8 when the size of the document is not specified.

画像形成装置20の読取制御部501は、上記の基本動作におけるステップS1,S2の処理により、給紙された長尺の原稿の原稿幅を取得する。画像形成装置20の読取制御部501は、上記の基本動作におけるステップS3,S4の処理により、取得した原稿幅に対応する領域T1,T2,T3,T4を示す情報および優先設定を取得する。 The reading control unit 501 of the image forming apparatus 20 acquires the original width of the fed long original by the processing of steps S1 and S2 in the above basic operation. The reading control unit 501 of the image forming apparatus 20 acquires the information indicating the regions T1, T2, T3, and T4 corresponding to the acquired document width and the priority setting by the processing of steps S3 and S4 in the above basic operation.

続いて、基本動作のステップS5〜S8の処理により、搬送される原稿における領域T1の先端が読取部502による読取位置に到達すると、読取制御部501は、基本動作のステップS9〜13の処理により、領域T1,T2,T3,T4にかかる画像データの転送処理を開始させる(ステップSA1)。 Subsequently, when the tip of the region T1 in the conveyed document reaches the reading position by the reading unit 502 by the processing of steps S5 to S8 of the basic operation, the reading control unit 501 performs the processing of steps S9 to 13 of the basic operation. , The image data transfer process relating to the regions T1, T2, T3, and T4 is started (step SA1).

読取部502は、搬送される原稿の読取処理を継続する(ステップSA2)。 The reading unit 502 continues the scanning process of the conveyed original (step SA2).

読取制御部501は、領域T1にかかる終了通知(ステップS14−1)を受信したか基づいて、原稿における領域T1の終端が読取部502による読取位置に到達したか判断する(ステップSA3)。 The reading control unit 501 determines whether the end of the region T1 in the document has reached the reading position by the scanning unit 502 based on whether the end notification (step S14-1) related to the region T1 has been received (step SA3).

ステップSA3でYESと判断された場合、読取制御部501は、基本動作におけるステップS15〜S18に従い領域T1にかかる画像データの転送処理を終了させる(ステップSA4)。さらに、読取制御部501は、基本動作におけるステップS19〜S20に従い領域T1にかかる画像データの文字認識処理を実行する(ステップSA5)。 If YES is determined in step SA3, the read control unit 501 ends the image data transfer process in the region T1 according to steps S15 to S18 in the basic operation (step SA4). Further, the read control unit 501 executes the character recognition process of the image data related to the area T1 according to steps S19 to S20 in the basic operation (step SA5).

ステップSA3でNOと判断された場合、または、ステップSA5の処理が完了した場合、読取制御部501は、領域T2にかかる終了通知(ステップS14−1)を受信したか基づいて、原稿における領域T2の終端が読取部502による読取位置に到達したか判断する(ステップSA6)。 If NO is determined in step SA3, or if the process of step SA5 is completed, the read control unit 501 receives the end notification (step S14-1) related to the region T2, and the region T2 in the document. It is determined whether the end of the above reaches the reading position by the reading unit 502 (step SA6).

ステップSA6でYESと判断された場合、読取制御部501は、基本動作におけるステップS15〜S18に従い領域T2にかかる画像データの転送処理を終了させる(ステップSA7)。さらに、読取制御部501は、基本動作におけるステップS19〜S20に従い領域T2にかかる画像の文字認識処理を実行する(ステップSA8)。 If YES is determined in step SA6, the read control unit 501 ends the image data transfer process in the area T2 according to steps S15 to S18 in the basic operation (step SA7). Further, the read control unit 501 executes the character recognition process of the image applied to the region T2 according to steps S19 to S20 in the basic operation (step SA8).

ステップSA6でNOと判断された場合、またはステップSA8の処理が完了した場合、読取制御部501は、原稿終端通知(ステップS14−2)を受信したか基づいて、原稿の終端が読取部502による読取位置の終端に到達したか判断する(ステップSA9)。 If NO is determined in step SA6, or if the process of step SA8 is completed, the reading control unit 501 ends the document by the reading unit 502 based on whether the document end notification (step S14-2) has been received. It is determined whether the end of the reading position has been reached (step SA9).

ステップSA9でNOと判断された場合、画像形成装置20は、ステップSA2〜SA8の処理を繰り返す。 If NO is determined in step SA9, the image forming apparatus 20 repeats the processes of steps SA2 to SA8.

ステップSA9でYESと判断された場合、読取制御部501は、基本動作におけるステップS15〜S18に従い領域T3にかかる画像データの転送処理を終了させる(ステップSA10)。さらに、読取制御部501は、基本動作におけるステップS19〜S20に従い領域T3にかかる画像の文字認識処理を実行させる(ステップSA11)。 If YES is determined in step SA9, the read control unit 501 ends the image data transfer process in the area T3 according to steps S15 to S18 in the basic operation (step SA10). Further, the read control unit 501 executes the character recognition process of the image applied to the region T3 according to steps S19 to S20 in the basic operation (step SA11).

続いて、読取制御部501は、基本動作におけるステップS15〜S18に従い領域T4にかかる画像データの転送処理を終了させる(ステップSA12)。さらに、読取制御部501は、基本動作におけるステップS19〜S20に従い領域T4にかかる画像の文字認識処理を実行させる(ステップSA13)。 Subsequently, the read control unit 501 ends the image data transfer process in the area T4 according to steps S15 to S18 in the basic operation (step SA12). Further, the reading control unit 501 causes the character recognition process of the image applied to the region T4 to be executed according to steps S19 to S20 in the basic operation (step SA13).

読取制御部512は、領域T1に対して予め設定されている文字の向きと、領域T1の文字認識処理で特定される領域T1における文字の向きとが同じであるか判断する(ステップSA14)。この場合、文字認識部505が領域T1に対して予め設定されている向きで文字認識処理を実行し、文字が認識されればステップSA14でYESと判断される。ステップSA14でYESと判断された場合、読取制御部512は、領域T1の文字認識処理で特定される文字の向きに基づいて、原稿の天地(上下方向)を決定する(ステップSA15)。 The reading control unit 512 determines whether the character orientation preset for the region T1 and the character orientation in the region T1 specified by the character recognition process of the region T1 are the same (step SA14). In this case, the character recognition unit 505 executes the character recognition process in the direction preset for the area T1, and if the character is recognized, it is determined as YES in step SA14. If YES is determined in step SA14, the reading control unit 512 determines the top and bottom (vertical direction) of the document based on the orientation of the characters specified by the character recognition process in the area T1 (step SA15).

ステップSA14でNOと判断された場合、領域T2に対して予め設定されている文字の向きと、領域T2の文字認識処理で特定される領域T2における文字の向きとが同じであるか判断する(ステップSA16)。この場合、文字認識部505が領域T2に対して予め設定されている向きで文字認識処理を実行し、文字が認識されればステップSA16でYESと判断される。ステップSA16でYESと判断された場合、読取制御部512は、領域T2の文字認識処理で特定される文字の向きに基づいて、原稿の天地(上下方向)を決定する(ステップSA17)。 If NO is determined in step SA14, it is determined whether the character orientation preset for the region T2 and the character orientation in the region T2 specified by the character recognition process of the region T2 are the same (. Step SA16). In this case, the character recognition unit 505 executes the character recognition process in the direction preset for the area T2, and if the character is recognized, it is determined to be YES in step SA16. If YES is determined in step SA16, the reading control unit 512 determines the top and bottom (vertical direction) of the document based on the orientation of the characters specified by the character recognition process in the area T2 (step SA17).

ステップSA16でNOと判断された場合、領域T3に対して予め設定されている文字の向きと、領域T3の文字認識処理で特定される領域T3における文字の向きとが同じであるか判断する(ステップSA18)。この場合、文字認識部505が領域T3に対して予め設定されている向きで文字認識処理を実行し、文字が認識されればステップSA18でYESと判断される。ステップSA18でYESと判断された場合、読取制御部512は、領域T3の文字認識処理で特定される文字の向きに基づいて、原稿の天地(上下方向)を決定する(ステップSA19)。 If NO is determined in step SA16, it is determined whether the character orientation preset for the region T3 and the character orientation in the region T3 specified by the character recognition process of the region T3 are the same (. Step SA18). In this case, the character recognition unit 505 executes the character recognition process in the direction preset for the area T3, and if the character is recognized, it is determined as YES in step SA18. If YES is determined in step SA18, the reading control unit 512 determines the top and bottom (vertical direction) of the document based on the orientation of the characters specified by the character recognition process in the area T3 (step SA19).

ステップSA18で、NOと判断された場合、領域T4に対して予め設定されている文字の向きと、領域T4の文字認識処理で特定される領域T4における文字の向きとが同じであるか判断する(ステップSA20)。この場合、文字認識部505が領域T4に対して予め設定されている向きで文字認識処理を実行し、文字が認識されればステップSA20でYESと判断される。ステップSA20でYESと判断された場合、読取制御部512は、領域T4の文字認識処理で特定される文字の向きに基づいて、原稿の天地(上下方向)を決定する(ステップSA21)。 If NO is determined in step SA18, it is determined whether the character orientation preset for the region T4 and the character orientation in the region T4 specified by the character recognition process of the region T4 are the same. (Step SA20). In this case, the character recognition unit 505 executes the character recognition process in the direction preset for the area T4, and if the character is recognized, it is determined to be YES in step SA20. If YES is determined in step SA20, the reading control unit 512 determines the top and bottom (vertical direction) of the document based on the orientation of the characters specified by the character recognition process in the area T4 (step SA21).

ステップSA20で、NOと判断された場合、読取制御部512は、原稿幅に対応する優先設定の領域に表題欄が配置される場合の文字の向きに従い原稿の天地を決定する(ステップSA22)。 If NO is determined in step SA20, the reading control unit 512 determines the top and bottom of the document according to the orientation of the characters when the title column is arranged in the priority setting area corresponding to the document width (step SA22).

(原稿のサイズが指定された場合の処理)
図9および図10は、原稿の天地識別処理の一例を示すフローチャートである。続いて、画像形成装置20の受付部508において原稿のサイズの指定が受け付けられた場合の画像形成装置20における処理について説明する。
(Processing when the size of the original is specified)
9 and 10 are flowcharts showing an example of the top-bottom identification process of a document. Subsequently, processing in the image forming apparatus 20 when the designation of the size of the original is accepted by the receiving unit 508 of the image forming apparatus 20 will be described.

画像形成装置20の読取制御部501は、上記の基本動作におけるステップS1,S2の処理により、給紙された長尺の原稿の原稿幅を取得する。 The reading control unit 501 of the image forming apparatus 20 acquires the original width of the fed long original by the processing of steps S1 and S2 in the above basic operation.

画像形成装置20の読取制御部501は、上記の基本動作におけるステップS3,S4と同様の処理により、受付部508によって受け付けられたサイズに対応する領域T1,T3を示す情報、または領域T2,T4を示す情報ならびに優先設定を第1の領域管理テーブルから取得する。以下、領域T1,T3を示す情報が取得された場合について説明する。 The reading control unit 501 of the image forming apparatus 20 performs the same processing as steps S3 and S4 in the above basic operation, and the information indicating the areas T1 and T3 corresponding to the size accepted by the receiving unit 508, or the areas T2 and T4. The information indicating the above and the priority setting are acquired from the first area management table. Hereinafter, the case where the information indicating the regions T1 and T3 is acquired will be described.

原稿のサイズが指定されている場合、読取制御部501は、基本動作のステップS5において、領域T3,T4についても領域の開始または終了の通知を要求する。これにより、原稿搬送部506は、基本動作におけるステップS9,S14−1において、領域T3,T4についても領域の開始または終了の通知を送信する。 When the size of the document is specified, the reading control unit 501 requests the notification of the start or end of the area T3 and T4 in step S5 of the basic operation. As a result, the document transfer unit 506 transmits a notification of the start or end of the area T3 and T4 in steps S9 and S14-1 in the basic operation.

基本動作のステップS5〜S8の処理により、搬送される原稿における領域T1の先端が読取部502による読取位置に到達すると、読取制御部501は、基本動作のステップS9〜13の処理により、領域T1にかかる画像データの転送処理を開始する(ステップSB1)。 When the tip of the area T1 in the conveyed document reaches the reading position by the reading unit 502 by the processing of steps S5 to S8 of the basic operation, the reading control unit 501 processes the area T1 by the processing of steps S9 to 13 of the basic operation. The image data transfer process related to the above is started (step SB1).

読取部502は、搬送される原稿の読取処理を継続する(ステップSB2)。 The reading unit 502 continues the scanning process of the conveyed original (step SB2).

読取制御部501は、領域T1にかかる終了通知(ステップS14−1)を受信したかに基づいて、原稿における領域T1の終端が読取部502による読取位置に到達したか判断する(ステップSB3)。 The reading control unit 501 determines whether the end of the region T1 in the document has reached the reading position by the scanning unit 502 based on whether the end notification (step S14-1) related to the region T1 has been received (step SB3).

ステップSB3でNOと判断された場合、読取部502は、搬送される原稿の読取処理を継続する(ステップSB2)。 If NO is determined in step SB3, the reading unit 502 continues the scanning process of the conveyed document (step SB2).

ステップSB3でYESと判断された場合、読取制御部501は、基本動作におけるステップS15〜S18に従い領域T1にかかる画像データの転送処理を終了させる(ステップSB4)。さらに、読取制御部501は、基本動作におけるステップS19〜S20に従い領域T1にかかる画像データの文字認識処理を実行する(ステップSB5)。 If YES is determined in step SB3, the read control unit 501 ends the image data transfer process in the area T1 according to steps S15 to S18 in the basic operation (step SB4). Further, the read control unit 501 executes the character recognition process of the image data related to the area T1 according to steps S19 to S20 in the basic operation (step SB5).

読取部502は、読取制御部501によって、領域T3にかかる開始通知(ステップS9)を受信するまで、搬送される原稿の読取処理を継続する(ステップSB6,SB7)。 The scanning unit 502 continues the scanning process of the conveyed document until the scanning control unit 501 receives the start notification (step S9) related to the region T3 (steps SB6 and SB7).

領域T3の先端が読取部502による読取位置に到達すると、読取制御部501は、基本動作のステップS9〜13の処理により、領域T3にかかる画像データの転送処理を開始させる(ステップSB8)。 When the tip of the region T3 reaches the reading position by the reading unit 502, the reading control unit 501 starts the transfer processing of the image data related to the region T3 by the processing of steps S9 to 13 of the basic operation (step SB8).

読取部502は、搬送される原稿の読取処理を継続する(ステップSB9)。 The scanning unit 502 continues the scanning process of the conveyed document (step SB9).

読取制御部501は、領域T3にかかる終了通知(ステップS14−1)を受信したかに基づいて、原稿における領域T3の終端が読取部502による読取位置に到達したか判断する(ステップSB10)。 The reading control unit 501 determines whether the end of the region T3 in the document has reached the reading position by the scanning unit 502 based on whether the end notification (step S14-1) related to the region T3 has been received (step SB10).

ステップSB10でNOと判断された場合、読取部502は、搬送される原稿の読取処理を継続する(ステップSB9)。 If NO is determined in step SB10, the reading unit 502 continues the scanning process of the conveyed document (step SB9).

ステップSB10でYESと判断された場合、読取制御部501は、基本動作におけるステップS15〜S18に従い領域T3にかかる画像データの転送処理を終了させる(ステップSB11)。さらに、読取制御部501は、基本動作におけるステップS19〜S20に従い領域T3にかかる画像データの文字認識処理を実行する(ステップSB12)。 If YES is determined in step SB10, the read control unit 501 ends the image data transfer process in the area T3 according to steps S15 to S18 in the basic operation (step SB11). Further, the read control unit 501 executes the character recognition process of the image data related to the area T3 according to steps S19 to S20 in the basic operation (step SB12).

読取制御部512は、領域T1に対して予め設定されている文字の向きと、領域T1の文字認識処理で特定される領域T1における文字の向きとが同じであるか判断する(ステップSB13)。この場合、文字認識部505が領域T1に対して予め設定されている向きで文字認識処理を実行し、文字が認識されればステップSB13でYESと判断される。ステップSB13でYESと判断された場合、読取制御部512は、領域T1の文字認識処理で特定される文字の向きに基づいて、原稿の天地(上下方向)を決定する(ステップSB14)。 The reading control unit 512 determines whether the character orientation preset for the region T1 and the character orientation in the region T1 specified by the character recognition process of the region T1 are the same (step SB13). In this case, the character recognition unit 505 executes the character recognition process in the direction preset for the area T1, and if the character is recognized, it is determined to be YES in step SB13. If YES is determined in step SB 13, the reading control unit 512 determines the top and bottom (vertical direction) of the document based on the orientation of the characters specified by the character recognition process in the area T1 (step SB14).

ステップSB13でNOと判断された場合、読取制御部512は、領域T3に対して予め設定されている文字の向きと、領域T3の文字認識処理で特定される領域T3における文字の向きとが同じであるか判断する(ステップSB15)。この場合、文字認識部505が領域T3に対して予め設定されている向きで文字認識処理を実行し、文字が認識されればステップSB15でYESと判断される。ステップSB15でYESと判断された場合、読取制御部512は、領域T3の文字認識処理で特定される文字の向きに基づいて、原稿の天地(上下方向)を決定する(ステップSB16)。 If NO is determined in step SB13, the read control unit 512 has the same character orientation preset for the region T3 and the character orientation in the region T3 specified by the character recognition process of the region T3. (Step SB15). In this case, the character recognition unit 505 executes the character recognition process in the direction preset for the area T3, and if the character is recognized, it is determined to be YES in step SB15. If YES is determined in step SB15, the reading control unit 512 determines the top and bottom (vertical direction) of the document based on the orientation of the characters specified by the character recognition process in the area T3 (step SB16).

ステップSB15で、NOと判断された場合、読取制御部512は、原稿のサイズに対応する優先設定の領域に表題欄が配置される場合の文字の向きに従い原稿の天地を決定する(ステップSB17)。 If NO is determined in step SB15, the reading control unit 512 determines the top and bottom of the document according to the orientation of the characters when the title column is arranged in the priority setting area corresponding to the size of the document (step SB17). ..

(原稿のサイズの指定されていない場合の他の処理)
図11および図12は、原稿の読み取り処理を示すフローチャートである。図11および図12を用いて、原稿のサイズの指定が受け付けられていない場合の原稿の天地識別処理について説明する。
(Other processing when the size of the original is not specified)
11 and 12 are flowcharts showing a document reading process. The top-bottom identification process of the original document will be described with reference to FIGS. 11 and 12 when the specification of the size of the original document is not accepted.

画像形成装置20の読取制御部501は、上記の基本動作におけるステップS1,S2の処理により、給紙された長尺の原稿幅を取得する。画像形成装置20の読取制御部501は、上記の基本動作におけるステップS3,S4の処理により、取得した原稿幅に対応する領域T1,T2,T3,T4を示す情報および優先設定を取得する。 The reading control unit 501 of the image forming apparatus 20 acquires the width of the long document fed by the processing of steps S1 and S2 in the above basic operation. The reading control unit 501 of the image forming apparatus 20 acquires the information indicating the regions T1, T2, T3, and T4 corresponding to the acquired document width and the priority setting by the processing of steps S3 and S4 in the above basic operation.

続いて、基本動作のステップS5〜S8の処理により、搬送される原稿における領域T1の先端が読取部502による読取位置に到達すると、読取制御部501は、基本動作のステップS9〜13の処理により、領域T1,T2,T3,T4にかかる画像データの転送処理が開始させる(ステップSC1)。 Subsequently, when the tip of the region T1 in the conveyed document reaches the reading position by the reading unit 502 by the processing of steps S5 to S8 of the basic operation, the reading control unit 501 performs the processing of steps S9 to 13 of the basic operation. , The image data transfer process relating to the regions T1, T2, T3, and T4 is started (step SC1).

読取部502は、搬送される原稿の読取処理を継続する(ステップSC2)。 The reading unit 502 continues the scanning process of the conveyed original (step SC2).

読取制御部501は、領域T1にかかる終了通知(ステップS14−1)を受信したか基づいて、原稿における領域T1の終端が読取部502による読取位置に到達したか判断する(ステップSC3)。 The reading control unit 501 determines whether the end of the region T1 in the document has reached the reading position by the scanning unit 502 based on whether the end notification (step S14-1) related to the region T1 has been received (step SC3).

ステップSC3で、領域T1の終端が読取位置に到達した(YES)と判断された場合、読取制御部501は、基本動作におけるステップS15〜S18に従い領域T1にかかる画像データの転送処理を終了させる(ステップSC4)。さらに、読取制御部501は、基本動作におけるステップS19〜S20に従い領域T1にかかる画像データの文字認識処理を実行する(ステップSC5)。 If it is determined in step SC3 that the end of the area T1 has reached the reading position (YES), the reading control unit 501 ends the image data transfer process in the area T1 according to steps S15 to S18 in the basic operation (YES). Step SC4). Further, the read control unit 501 executes the character recognition process of the image data related to the area T1 according to steps S19 to S20 in the basic operation (step SC5).

読取制御部512は、領域T1に対して予め設定されている文字の向きと、領域T1の文字認識処理で特定される領域T1における文字の向きとが同じであるか判断する(ステップSC6)。この場合、文字認識部505が領域T1に対して予め設定されている向きで文字認識処理を実行し、文字が認識されればステップSC6でYESと判断される。ステップSC6でYESと判断された場合、読取制御部512は、領域T1の文字認識処理で特定される文字の向きに基づいて、原稿の天地(上下方向)を決定し、継続中の画像の読み込み、転送、展開処理を停止して、処理を終了する(ステップSC7)。 The reading control unit 512 determines whether the character orientation preset for the region T1 and the character orientation in the region T1 specified by the character recognition process of the region T1 are the same (step SC6). In this case, the character recognition unit 505 executes the character recognition process in the direction preset for the area T1, and if the character is recognized, it is determined to be YES in step SC6. If YES is determined in step SC6, the reading control unit 512 determines the top and bottom (vertical direction) of the document based on the orientation of the characters specified by the character recognition process in the area T1, and continuously reads the image. , The transfer and expansion processing is stopped, and the processing is terminated (step SC7).

ステップSC3でNOと判断された場合、または、ステップSC6でNOと判断された場合、読取制御部501は、領域T2にかかる領域終了通知(ステップS14−1)を受信したか基づいて、領域T2の終端が読取部502による読取位置に到達したか判断する(ステップSC8)。 If NO is determined in step SC3, or if NO is determined in step SC6, the read control unit 501 receives the region end notification (step S14-1) relating to the region T2, and the region T2 It is determined whether the end of the above reaches the reading position by the reading unit 502 (step SC8).

ステップSC8でYESと判断された場合、読取制御部501は、基本動作におけるステップS15〜S18に従い領域T2にかかる画像データの転送処理を終了させる(ステップSC9)。さらに、読取制御部501は、基本動作におけるステップS19〜S20に従い領域T2の読み取り画像の文字認識処理を実行させる(ステップSC10)。 If YES is determined in step SC8, the read control unit 501 ends the image data transfer process in the area T2 according to steps S15 to S18 in the basic operation (step SC9). Further, the reading control unit 501 executes character recognition processing of the read image in the region T2 according to steps S19 to S20 in the basic operation (step SC10).

読取制御部512は、領域T2に対して予め設定されている文字の向きと、領域T2の文字認識処理で特定される領域T2における文字の向きとが同じであるか判断する(ステップSC11)。この場合、文字認識部505が領域T2に対して予め設定されている向きで文字認識処理を実行し、文字が認識されればステップSC11でYESと判断される。ステップSC11でYESと判断された場合、読取制御部512は、領域T2の文字認識処理で特定される文字の向きに基づいて、原稿の天地(上下方向)を決定し、継続中の画像の読み込み、転送、展開処理を停止して、処理を終了する(ステップSC12)。 The reading control unit 512 determines whether the character orientation preset for the region T2 and the character orientation in the region T2 specified by the character recognition process of the region T2 are the same (step SC11). In this case, the character recognition unit 505 executes the character recognition process in the direction preset for the area T2, and if the character is recognized, it is determined as YES in step SC11. If YES is determined in step SC11, the reading control unit 512 determines the top and bottom (vertical direction) of the document based on the orientation of the characters specified by the character recognition process in the area T2, and continuously reads the image. , The transfer and expansion processing is stopped, and the processing is terminated (step SC12).

ステップSC8でNOと判断された場合、または、ステップSC11でNOと判断された場合、読取制御部501は、原稿搬送部506による原稿の搬送量に基づいて、原稿の先端から読取部502による読取位置、すなわち原稿の長さを取得し、原稿の長さが原稿の幅を超えたか判断する(ステップSC13)。 If NO is determined in step SC8, or if NO is determined in step SC11, the reading control unit 501 reads from the tip of the document by the reading unit 502 based on the amount of the document conveyed by the document transfer unit 506. The position, that is, the length of the document is acquired, and it is determined whether the length of the document exceeds the width of the document (step SC13).

ステップSC13でYESと判断された場合、画像形成装置20は、縦方向に原稿が給紙されていることを確認する。この場合、領域T4に表題欄は記録されないため、読取制御部501は、基本動作におけるステップS15〜S18に従い領域T4にかかる画像データの転送処理を終了させる(ステップSC14)。 If YES is determined in step SC13, the image forming apparatus 20 confirms that the original is fed in the vertical direction. In this case, since the title column is not recorded in the area T4, the read control unit 501 ends the image data transfer process in the area T4 according to steps S15 to S18 in the basic operation (step SC14).

ステップSC13でNOと判断された場合、または、ステップSC14の処理が完了した場合、読取制御部501は、原稿終端通知(ステップS14−2)を受信したか基づいて、原稿の終端が読取部502による読取位置に到達したか判断する(ステップSC15)。 If NO is determined in step SC13, or if the process of step SC14 is completed, the scanning control unit 501 has the document termination 502 based on whether the document termination notification (step S14-2) has been received. It is determined whether or not the reading position has been reached (step SC15).

ステップSC15でNOと判断された場合、画像形成装置20は、ステップSC2〜SC14の処理を繰り返す。 If NO is determined in step SC15, the image forming apparatus 20 repeats the processes of steps SC2 to SC14.

ステップSC15でYESと判断された場合、読取制御部501は、基本動作におけるステップS15〜S18に従い領域T3にかかる画像データの転送処理を終了させる(ステップSC16)。さらに、読取制御部501は、基本動作におけるステップS19〜S20に従い領域T3の読み取り画像の文字認識処理を実行させる(ステップSC17)。 If YES is determined in step SC15, the read control unit 501 ends the image data transfer process in the area T3 according to steps S15 to S18 in the basic operation (step SC16). Further, the reading control unit 501 executes character recognition processing of the read image in the region T3 according to steps S19 to S20 in the basic operation (step SC17).

読取制御部501は、領域T3に対して予め設定されている文字の向きと、領域T3の文字認識処理で特定される領域T3における文字の向きとが同じであるか判断する(ステップSC18)。この場合、文字認識部505が領域T3に対して予め設定されている向きで文字認識処理を実行し、文字が認識されればステップSC18でYESと判断される。ステップSC18でYESと判断された場合、読取制御部501は、領域T3の文字認識処理で特定される文字の向きに基づいて、原稿の天地(上下方向)を決定し、処理を終了する(ステップSC19)。 The read control unit 501 determines whether the character orientation preset for the region T3 and the character orientation in the region T3 specified by the character recognition process of the region T3 are the same (step SC18). In this case, the character recognition unit 505 executes the character recognition process in the direction preset for the area T3, and if the character is recognized, it is determined as YES in step SC18. If YES is determined in step SC18, the reading control unit 501 determines the top and bottom (vertical direction) of the document based on the orientation of the characters specified by the character recognition process in the area T3, and ends the process (step). SC19).

ステップSC18でNOと判断された場合、読取制御部501は、領域T4にかかる画像データを転送中であるか判断する(ステップSC20)。 If NO is determined in step SC18, the read control unit 501 determines whether the image data related to the area T4 is being transferred (step SC20).

ステップSC20で、領域T4にかかる画像データを転送中である(YES)と判断された場合、読取制御部501は、基本動作におけるステップS15〜S18に従い領域T4にかかる画像データの転送処理を終了させる(ステップSC21)。さらに、読取制御部501は、基本動作におけるステップS19〜S20に従い領域T4の読み取り画像の文字認識処理を実行させる(ステップSC22)。 If it is determined in step SC20 that the image data related to the area T4 is being transferred (YES), the read control unit 501 ends the transfer process of the image data related to the area T4 according to steps S15 to S18 in the basic operation. (Step SC21). Further, the reading control unit 501 executes character recognition processing of the read image in the region T4 according to steps S19 to S20 in the basic operation (step SC22).

読取制御部501は、領域T4に対して予め設定されている文字の向きと、領域T4の文字認識処理で特定される領域T4における文字の向きとが同じであるか判断する(ステップSC23)。この場合、文字認識部505が領域T4に対して予め設定されている向きで文字認識処理を実行し、文字が認識されればステップSC23でYESと判断される。ステップSC23でYESと判断された場合、読取制御部512は、領域T4の文字認識処理で特定される文字の向きに基づいて、原稿の天地(上下方向)を決定し、処理を終了する(ステップSC24)。 The read control unit 501 determines whether the character orientation preset for the region T4 and the character orientation in the region T4 specified by the character recognition process of the region T4 are the same (step SC23). In this case, the character recognition unit 505 executes the character recognition process in the direction preset for the area T4, and if the character is recognized, it is determined as YES in step SC23. If YES is determined in step SC23, the reading control unit 512 determines the top and bottom (vertical direction) of the document based on the orientation of the characters specified in the character recognition process in the area T4, and ends the process (step). SC24).

ステップSC20でNOと判断された場合、またはステップSC23でNOと判断された場合、読取制御部501は、原稿のサイズに対応する優先設定に表題欄が配置されたときの文字の向きに従い原稿の天地を決定する(ステップSC25)。 If NO is determined in step SC20, or if NO is determined in step SC23, the reading control unit 501 will follow the orientation of the characters when the title column is placed in the priority setting corresponding to the size of the document. Determine the top and bottom (step SC25).

<<実施形態の主な効果>>
上記実施形態の画像処理方法によると、画像形成装置20(画像処理装置の一例)の読取部502(読取手段の一例)は、原稿の読み取り処理を実行する(読取処理の一例)。画像形成装置20の原稿搬送部506(検知手段の一例)は、読取部502によって読み取られる原稿の長さを検知する(検知処理の一例)。画像形成装置20の文字認識部505(文字認識手段の一例)は、読取部502によって読み取られる原稿における第1の領域T1、第2の領域T2、第3の領域T3、および第4の領域T4における一以上の領域に対し文字認識する(文字認識処理の一例)。画像形成装置20の文字認識部505(識別手段の一例)は、第1の領域T1、第2の領域T2、第3の領域T3、または第4の領域T4に対する文字認識の結果に基づいて、原稿の方向を識別する(識別処理の一例)。上記の第3の領域T3および第4の領域T4は、原稿搬送部506によって検知される原稿の長さに基づいて特定される。これにより、画像形成装置20は、原稿のサイズが確定していない場合でも、表題欄などの領域の文字認識の結果に応じて、原稿の天地を識別できる。
<< Main effects of the embodiment >>
According to the image processing method of the above embodiment, the reading unit 502 (an example of the reading means) of the image forming apparatus 20 (an example of the image processing apparatus) executes the reading process of the document (an example of the reading process). The document transport unit 506 (an example of the detection means) of the image forming apparatus 20 detects the length of the document read by the reading unit 502 (an example of the detection process). The character recognition unit 505 (an example of character recognition means) of the image forming apparatus 20 is a first region T1, a second region T2, a third region T3, and a fourth region T4 in the document read by the reading unit 502. Character recognition for one or more areas in (an example of character recognition processing). The character recognition unit 505 (an example of the identification means) of the image forming apparatus 20 is based on the result of character recognition for the first region T1, the second region T2, the third region T3, or the fourth region T4. Identify the orientation of the document (an example of identification processing). The third region T3 and the fourth region T4 are specified based on the length of the document detected by the document transport unit 506. As a result, the image forming apparatus 20 can identify the top and bottom of the document according to the result of character recognition in the area such as the title column even when the size of the document is not fixed.

画像形成装置20の文字認識メモリ制御部504(更新手段の一例)は、読取部502によって読み取られる原稿の画像データ(画像情報の一例)を、ワークメモリ141(記憶手段の一例)の記憶領域に記憶しつつ更新する。画像形成装置20の文字認識部505は、ワークメモリ141に記憶されている画像データに基づいて文字認識する。ワークメモリ141を更新しながら使用することで、画像形成装置20にワークメモリ141の容量を低減できる。 The character recognition memory control unit 504 (an example of the updating means) of the image forming apparatus 20 stores the image data (an example of the image information) of the document read by the reading unit 502 in the storage area of the work memory 141 (an example of the storage means). Update while remembering. The character recognition unit 505 of the image forming apparatus 20 recognizes characters based on the image data stored in the work memory 141. By using the work memory 141 while updating it, the capacity of the work memory 141 can be reduced in the image forming apparatus 20.

画像形成装置20の文字認識部505は、第2の領域管理テーブルにおいて、原稿の幅に対応付けられた第1の領域T1および第2の領域T2、ならびに原稿の幅および長さNに対応付けられた第3の領域T3および第4の領域T4に対し文字認識する。これにより、画像形成装置20は、原稿のサイズが指定されていない場合でも、原稿幅および長さに応じた領域を文字認識処理することにより、原稿の天地を識別できる。 In the second area management table, the character recognition unit 505 of the image forming apparatus 20 corresponds to the first area T1 and the second area T2 associated with the width of the document, and the width and length N of the document. Character recognition is performed for the third region T3 and the fourth region T4. As a result, the image forming apparatus 20 can identify the top and bottom of the document by performing character recognition processing on the area corresponding to the width and length of the document even when the size of the document is not specified.

文字認識部505によって、第1の領域T1または第2の領域T2に対する文字認識の結果に基づいて原稿の方向が特定された場合に、文字認識メモリ制御部504は、画像データの更新を停止する。これにより、記憶領域のリソースを節約できるので、画像形成装置20の処理のパフォーマンスが向上する。 When the character recognition unit 505 specifies the direction of the document based on the result of character recognition for the first area T1 or the second area T2, the character recognition memory control unit 504 stops updating the image data. .. As a result, resources in the storage area can be saved, so that the processing performance of the image forming apparatus 20 is improved.

原稿搬送部506によって原稿の長さが原稿の幅(所定の閾値の一例)を超えると検知された場合に、文字認識部505は、第4の領域T4に対し文字認識を実行しない。これにより、記憶領域のリソースを節約できるので、画像形成装置20の処理のパフォーマンスが向上する。 When the document transfer unit 506 detects that the length of the document exceeds the width of the document (an example of a predetermined threshold value), the character recognition unit 505 does not perform character recognition on the fourth region T4. As a result, resources in the storage area can be saved, so that the processing performance of the image forming apparatus 20 is improved.

<<実施形態の補足>>
画像形成装置20用のプログラムは、インストール可能な形式又は実行可能な形式のファイルによって、コンピュータで読み取り可能な記録媒体に記録されて流通されるようにしてもよい。また、上記記録媒体の他の例として、CD−R(Compact Disc Recordable)、DVD(Digital Versatile Disk)、ブルーレイディスク等が挙げられる。また、上記記録媒体、あるいは、これらプログラムが記憶されたHD(Hard Disk)は、プログラム製品(Program Product)として、国内又は国外へ提供できる。
<< Supplement to the embodiment >>
The program for the image forming apparatus 20 may be recorded and distributed on a computer-readable recording medium by a file in an installable format or an executable format. Further, as another example of the above-mentioned recording medium, a CD-R (Compact Disc Recordable), a DVD (Digital Versatile Disk), a Blu-ray Disc, and the like can be mentioned. Further, the above-mentioned recording medium or HD (Hard Disk) in which these programs are stored can be provided domestically or internationally as a program product.

また、上記実施形態における画像形成装置20は、単一の装置によって構築されてもよいし、各部(機能又は手段)を分割して任意に割り当てられた複数の装置によって構築されていてもよい。 Further, the image forming apparatus 20 in the above embodiment may be constructed by a single apparatus, or may be constructed by a plurality of devices arbitrarily assigned by dividing each part (function or means).

上記で説明した実施形態の各機能は、一又は複数の処理回路によって実現することが可能である。ここで、本明細書における「処理回路」とは、電子回路を含むプロセッサのようにソフトウェアによって各機能を実行するようプログラミングされたプロセッサや、上記で説明した各機能を実行するよう設計されたASIC(Application Specific Integrated Circuit)や従来の回路モジュール等のデバイスを含むものとする。 Each function of the embodiment described above can be realized by one or more processing circuits. Here, the "processing circuit" in the present specification is a processor programmed to execute each function by software such as a processor including an electronic circuit, or an ASIC designed to execute each function described above. It shall include devices such as (Application Specific Integrated Circuit) and conventional circuit modules.

20 画像形成装置
501 読取制御部
502 読取部
503 領域管理部
504 文字認識メモリ制御部
505 文字認識部
506 原稿搬送部
507 画像メモリ制御部
508 受付部
5000 記憶部
5001 領域管理DB
20 Image forming device 501 Reading control unit 502 Reading unit 503 Area management unit 504 Character recognition memory control unit 505 Character recognition unit 506 Document transfer unit 507 Image memory control unit 508 Reception unit 5000 Storage unit 5001 Area management DB

特開2000−32247号公報Japanese Unexamined Patent Publication No. 2000-32247

Claims (5)

搬送される原稿の画像を順次読み取る読取手段と、
前記読取手段によって読み取られる原稿の長さを検知する検知手段と、
前記読取手段によって読み取られる原稿における第1の領域、第2の領域、第3の領域、および第4の領域における一以上の領域に対し文字認識する文字認識手段と、
前記第1の領域、前記第2の領域、前記第3の領域、または前記第4の領域に対する文字認識の結果に基づいて、前記原稿の方向を識別する識別手段と、
前記読取手段によって読み取られる前記原稿を、画像情報として記憶手段に記憶しつつ更新する更新手段と、を有し、
前記第3の領域および前記第4の領域それぞれの位置は、前記検知手段によって検知される前記原稿の長さに基づいて特定され、
前記第1領域および前記第2領域は、原稿の幅に対応付けられた、前記原稿の先端付近の領域であり、
前記第3領域および前記第4領域は、前記原稿の幅および前記原稿の長さに対応付けられた、前記原稿の終端付近の領域であり、
前記文字認識手段は、前記記憶手段に記憶されている前記画像情報に基づいて文字認識する
画像処理装置。
A reading means that sequentially reads the images of the conveyed original,
A detection means that detects the length of the document read by the reading means, and
A character recognition means for recognizing characters for one or more areas in a first region, a second region, a third region, and a fourth region in a document read by the reading means.
An identification means for identifying the direction of the manuscript based on the result of character recognition for the first region, the second region, the third region, or the fourth region.
It has an updating means for updating the original document read by the reading means while storing it in the storage means as image information.
The positions of the third region and the fourth region are each specified based on the length of the document detected by the detection means.
The first region and the second region associated with the width of the document, an area near the tip of the document,
The third region and the fourth region, the width and the original document associated with the length, a region near the end of the document,
The character recognition means is an image processing device that recognizes characters based on the image information stored in the storage means.
前記識別手段によって、前記第1の領域または前記第2の領域に対する文字認識の結果に基づいて前記原稿の方向が特定された場合に、前記更新手段は、前記画像情報の更新を停止する請求項1に記載の画像処理装置。 A claim that the updating means stops updating the image information when the direction of the document is specified by the identification means based on the result of character recognition for the first area or the second area. The image processing apparatus according to 1. 前記検知手段によって前記原稿の長さが所定の閾値を超えると検知された場合に、前記文字認識手段は、前記第4の領域に対し文字認識を実行しない請求項1又は2に記載の画像処理装置。 The image processing according to claim 1 or 2, wherein when the detection means detects that the length of the document exceeds a predetermined threshold value, the character recognition means does not perform character recognition on the fourth region. Device. 画像処理装置に、
搬送される原稿の画像を順次読み取る読取処理と、
前記読取処理によって読み取られる原稿の長さを検知する検知処理と、
前記読取処理によって読み取られる原稿における第1の領域、第2の領域、第3の領域、および第4の領域における一以上の領域に対し文字認識する文字認識処理と、
前記第1の領域、前記第2の領域、前記第3の領域、または前記第4の領域に対する文字認識の結果に基づいて、前記原稿の方向を識別する識別処理と、
前記読取処理によって読み取られる前記原稿を、画像情報として記憶手段に記憶しつつ更新する更新処理と、を含み、
前記第3の領域および前記第4の領域それぞれの位置は、前記検知処理によって検知される前記原稿の長さに基づいて特定され、
前記第1領域および前記第2領域は、原稿の幅に対応付けられた、前記原稿の先端付近の領域であり、
前記第3領域および前記第4領域は、前記原稿の幅および前記原稿の長さに対応付けられた、前記原稿の終端付近の領域であり、
前記文字認識処理は、前記記憶手段に記憶されている前記画像情報に基づいて文字認識する
画像処理方法。
For image processing equipment
Scanning process to sequentially read the images of the transmitted original,
The detection process that detects the length of the document scanned by the scanning process, and the detection process.
Character recognition processing for recognizing characters for one or more areas in the first region, the second region, the third region, and the fourth region in the document scanned by the scanning process.
Identification processing for identifying the direction of the document based on the result of character recognition for the first region, the second region, the third region, or the fourth region.
It includes an update process of updating the original document read by the scanning process while storing it as image information in a storage means.
The positions of the third region and the fourth region are each specified based on the length of the document detected by the detection process.
The first region and the second region associated with the width of the document, an area near the tip of the document,
The third region and the fourth region, the width and the original document associated with the length, a region near the end of the document,
The character recognition process is an image processing method for recognizing characters based on the image information stored in the storage means.
画像処理装置に、
搬送される原稿の画像を順次読み取る読取処理と、
前記読取処理によって読み取られる原稿の長さを検知する検知処理と、
前記読取処理によって読み取られる原稿における第1の領域、第2の領域、第3の領域、および第4の領域における一以上の領域に対し文字認識する文字認識処理と、
前記第1の領域、前記第2の領域、前記第3の領域、または前記第4の領域に対する文字認識の結果に基づいて、前記原稿の方向を識別する識別処理と、
前記読取処理によって読み取られる前記原稿を、画像情報として記憶手段に記憶しつつ更新する更新処理と、を含み、
前記第3の領域および前記第4の領域それぞれの位置は、前記検知処理によって検知される前記原稿の長さに基づいて特定され、
前記第1領域および前記第2領域は、原稿の幅に対応付けられた、前記原稿の先端付近の領域であり、
前記第3領域および前記第4領域は、前記原稿の幅および前記原稿の長さに対応付けられた、前記原稿の終端付近の領域であり、
前記文字認識処理は、前記記憶手段に記憶されている前記画像情報に基づいて文字認識する
プログラム。
For image processing equipment
Scanning process to sequentially read the images of the transmitted original,
The detection process that detects the length of the document scanned by the scanning process, and the detection process.
Character recognition processing for recognizing characters for one or more areas in the first region, the second region, the third region, and the fourth region in the document scanned by the scanning process.
Identification processing for identifying the direction of the document based on the result of character recognition for the first region, the second region, the third region, or the fourth region.
It includes an update process of updating the original document read by the scanning process while storing it as image information in a storage means.
The positions of the third region and the fourth region are each specified based on the length of the document detected by the detection process.
The first region and the second region associated with the width of the document, an area near the tip of the document,
The third region and the fourth region, the width and the original document associated with the length, a region near the end of the document,
The character recognition process is a program that recognizes characters based on the image information stored in the storage means.
JP2017185160A 2017-09-26 2017-09-26 Image processing equipment, image processing methods, and programs Active JP6981140B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017185160A JP6981140B2 (en) 2017-09-26 2017-09-26 Image processing equipment, image processing methods, and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017185160A JP6981140B2 (en) 2017-09-26 2017-09-26 Image processing equipment, image processing methods, and programs

Publications (2)

Publication Number Publication Date
JP2019062380A JP2019062380A (en) 2019-04-18
JP6981140B2 true JP6981140B2 (en) 2021-12-15

Family

ID=66178276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017185160A Active JP6981140B2 (en) 2017-09-26 2017-09-26 Image processing equipment, image processing methods, and programs

Country Status (1)

Country Link
JP (1) JP6981140B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0228785A (en) * 1988-07-18 1990-01-30 Toshiba Corp Optical character reading device
JPH03182981A (en) * 1989-12-12 1991-08-08 Toshiba Corp Address reading and classifying machine
JPH11164102A (en) * 1997-11-27 1999-06-18 Ricoh Co Ltd Image reader
JP4194301B2 (en) * 2002-05-31 2008-12-10 富士通株式会社 Character recognition system and character recognition program
JP5924175B2 (en) * 2012-07-20 2016-05-25 富士ゼロックス株式会社 Image processing apparatus and image processing program
JP2017151493A (en) * 2016-02-22 2017-08-31 富士ゼロックス株式会社 Image processing device, image reading device, and program

Also Published As

Publication number Publication date
JP2019062380A (en) 2019-04-18

Similar Documents

Publication Publication Date Title
JP4789516B2 (en) Document conversion apparatus, document conversion method, and storage medium
US20110085205A1 (en) Image forming apparatus and processing control method
EP2575343A1 (en) Image reading apparatus and image reading system
JP2002305617A (en) Method and apparatus for automatically detecting paper user interface
JP4810380B2 (en) Program starting device, control method thereof, and program
JP2006211261A (en) Image reader and image read program
JP2009055406A (en) Multifunctional i/o device, its control method, multifunctional i/o device control program, and recording medium
JP6981140B2 (en) Image processing equipment, image processing methods, and programs
US10171688B2 (en) Management server to receive scanned images and align the scanned images based on page numbers included in the scanned images
CN109151241B (en) Printing system, display device, control method for display device, and recording medium
JP4826481B2 (en) Image processing apparatus and image forming apparatus
US11108924B2 (en) Image forming apparatus
JP6354619B2 (en) Image processing apparatus and computer program
US20210006676A1 (en) Image forming apparatus and image forming method
JP4455358B2 (en) Image processing apparatus and method
JP6728672B2 (en) Image processing apparatus, image processing program, and image processing method
JP2008085824A (en) Image processing system, image processing apparatus, server device, image processing method, and program
JP4471812B2 (en) Image forming apparatus and printing system
US11523007B2 (en) Image reading system, image reading device, and server device
JP4860347B2 (en) Copy photographing apparatus, ID card issuing system, and ID card issuing method
JP5460109B2 (en) Image generating apparatus, control method therefor, and program
KR20110104030A (en) Image forming apparatus, control method for image forming apparatus, and storage medium
JP2007036554A (en) Image processor, image forming apparatus, image processing method, image forming method, and program
JP6981137B2 (en) Information processing equipment, image processing systems, image processing methods, and programs
JP2010109653A (en) Image reader, image forming apparatus, image reading method, and image reading program

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20180209

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200707

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210525

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210716

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210824

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210930

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20211019

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211101

R151 Written notification of patent or utility model registration

Ref document number: 6981140

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151