CN1205485A - 用于校正文件图像方向的方法 - Google Patents
用于校正文件图像方向的方法 Download PDFInfo
- Publication number
- CN1205485A CN1205485A CN98105597A CN98105597A CN1205485A CN 1205485 A CN1205485 A CN 1205485A CN 98105597 A CN98105597 A CN 98105597A CN 98105597 A CN98105597 A CN 98105597A CN 1205485 A CN1205485 A CN 1205485A
- Authority
- CN
- China
- Prior art keywords
- document image
- angle
- predetermined portions
- character
- file
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/24—Aligning, centring, orientation detection or correction of the image
- G06V10/242—Aligning, centring, orientation detection or correction of the image by image rotation, e.g. by 90 degrees
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Character Input (AREA)
Abstract
本发明提供了一种用于自动校正文件图像方向错误的方法,该方法包括以下步骤:检测文件图像内部一个字符区域的预定部分,按照预定部分的字符识别可靠性来确定文件的倾斜角,以及按照确定的倾斜角来转动文件,从而识别一个字符。可以自动地处理大量文件,利用文件识别器的自动方向校正特点甚至存在视觉障碍的也能扫描文件。
Description
本发明涉及用于校正文件图像的方向的一种方法,特别是涉及一种依靠字符识别来自动校正方向不正确的文件图像的方法。
一般的字符识别是通过例如扫描器或是摄像机一类的图像输入设备读出文件图像的方式来获得文本信息的,利用计算机从一个字符区域内提取字符,并且识别提取的字符。然而,在识别文件图像的字符时,读出的文件图像有时是颠倒的,或是被顺时针或逆时针转动了90°。在这种情况下,使用者通常是用手工来校正文件的方向,然后重新进行字符识别。另外,在自动处理大量的文件时,如果其中所包括的图像文件处在错误的方向,没有按照正确方向读出的文件图像是无法识别的。
为了解决上述问题,本发明的目的是提供一种方法,用于自动地处理大量文件,并且通过文件图像的自动校正来识别按照错误方向读出的文件。
为了实现上述目的,本发明提供了一种用于自动校正文件图像角度的文件图像方向校正方法,该方法包括以下步骤:(a)检测文件图像内部一个字符区域的预定部分;(b)按照步骤(a)的字符区域内预定部分的字符识别可靠性来确定文件的倾斜角;以及(c)按照步骤(b)中确定的倾斜角来转动文件,从而识别一个字符。
通过以下参照附图对最佳实施例的详细说明本发明的上述目的及其优点会更明显,在附图中:
图1是按照本发明的文件图像方向校正装置的框图;以及
图2是按照本发明的文件图像方向校正方法的流程图。
本发明的文件图像方向校正装置包括一个用于接收文件图像的扫描器110,用于存储接收的文件图像的第一存储器120,用于分析文件结构的文件结构分析器124,用于识别文件图像相对于基准所处的角度的文件角度识别器130,以及用于存储识别出的文件图像的第二存储器140。
图2是按照本发明文件图像方向校正方法的流程图。
以下要参照图1和2说明本发明的原理和效果。
扫描器110读出整个文件图像,第一存储器120存储从扫描器接收到的文件图像。文件结构分析器124在从第一存储器120读出的整个图像中分析文本区域和非文本区域。文件角度识别器130识别一个文本或是字符区域R的一个预定的文本部分R',例如是至少两行字符,并且根据识别可靠性来自动地识别方向,也就是文件所处的角度,识别可靠性是一个代表识别精度的值。也就是说,在步骤210从文件图像中检测出字符区域的预定部分R'。这种识别可靠性通常是用每个字符的数字排列(numerical rank)来表示的。在步骤212中确定被测的文本区域R'的平均识别可靠性C1是否相当于一个参考的识别可靠性C。在步骤212中,如果C1等于或大于C,就在步骤214中将文件图像的倾斜角d确定为0,并且在步骤230中按照图像当前的方向来识别整个图像。此处的平均识别可靠性C1是文本部分R'中所包括的所有字符的可靠性值之和除以该文本部分R'中所包括的所有字符数。文件角度识别器130通过试验来设定一个参考识别可靠性。在步骤216中,如果C1小于C,就将旋转90°后的文本部分R'的平均识别可靠性C2与C相比较。在步骤216中,如果C2等于或是大于C,就在步骤218中将文件图像的倾斜角d确定为90°,并且在步骤230中将整个图像旋转90°后进行识别。此外,在步骤216中,如果C2小于C,就在步骤220中将旋转180°的文本部分R'的平均识别可靠性C3与C相比较。在步骤220中,如果C3等于或是大于C,就在步骤222中将文件图像的倾斜角确定为180°,然后在步骤230中将整个图像旋转180°进行识别。如果步骤220中的C3小于C,在步骤224中将旋转270°的文本部分R'的平均识别可靠性C4与C相比较。如果步骤224中的C4等于或是大于C,就在步骤226中将文件图像的倾斜角d确定为270°,并且在步骤230中将整个图像旋转270°后进行识别。然后,如果步骤224中的C4小于C,就在C1,C2,C3和C4中间选择一个最佳的平均可靠性,在步骤228中将整个图像旋转一个相应的角度,并且在步骤230中将这一角度作为文件图像的识别角度。在文件角度识别器130中经过方向校正的文件图像被存储在第二存储器140中,将其作为最终的文件进行识别。
如上所述,本发明可以自动地处理大量文件,利用文件识别器的自动方向校正特点甚至存在视觉障碍的也能扫描文件。
尽管本发明的是参照特定实施例来描述的,本领域的技术人员在本发明的精神和范围之内仍然可以实现进一步的修改和变更。
Claims (4)
1.一种用于自动校正文件图像角度的文件图像方向校正方法,该方法包括以下步骤:
(a)检测文件图像内部一个字符区域的预定部分;
(b)按照步骤(a)的预定部分的字符识别可靠性来确定文件的倾斜角;以及
(c)按照步骤(b)中确定的倾斜角来转动文件,从而识别一个字符。
2.按照权利要求1的文件图像方向校正方法,其中,该步骤(b)包括以下子步骤:
如果平均字符识别可靠性大于一个参考识别可靠性,就将文件的当前角度确定为一个倾斜角,否则就按照预定的角度来旋转文本区域的一个预定部分,并且确定这一预定部分的平均字符识别可靠性是否大于该参考识别可靠性,并且将该角度确定为倾斜角。
3.按照权利要求2的文件图像方向校正方法,其中,该平均识别可靠性是该预定部分中所包括的所有字符的可靠性值之和除以文本区域的该预定部分中所包括的字符总数。
4.按照权利要求2的文件图像方向校正方法,其中,进一步包括以下子步骤:如果该预定部分的平均字符识别可靠性小于参考识别可靠性,就将多个倾斜角中具有最大平均识别可靠性的角度确定为一个倾斜角。
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR32913/97 | 1997-07-15 | ||
KR32913/1997 | 1997-07-15 | ||
KR1019970032913A KR100247970B1 (ko) | 1997-07-15 | 1997-07-15 | 문서 영상의 방향 교정방법 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1205485A true CN1205485A (zh) | 1999-01-20 |
CN1108582C CN1108582C (zh) | 2003-05-14 |
Family
ID=19514563
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN98105597A Expired - Fee Related CN1108582C (zh) | 1997-07-15 | 1998-03-16 | 用于校正文件图像方向的方法 |
Country Status (4)
Country | Link |
---|---|
US (1) | US6169822B1 (zh) |
JP (1) | JPH1139428A (zh) |
KR (1) | KR100247970B1 (zh) |
CN (1) | CN1108582C (zh) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100338618C (zh) * | 2004-09-30 | 2007-09-19 | 致伸科技股份有限公司 | 一种倾斜图像自动校正方法 |
CN100361140C (zh) * | 2005-12-14 | 2008-01-09 | 北京北大方正电子有限公司 | 一种检测文档扫描图像旋转角度和缩放比例的方法 |
CN100382097C (zh) * | 2004-08-10 | 2008-04-16 | 明基电通股份有限公司 | 文件倾斜角度的估算方法及其装置 |
US7382939B2 (en) | 2003-04-30 | 2008-06-03 | Canon Kabushiki Kaisha | Information processing apparatus, method, storage medium and program |
CN100409654C (zh) * | 2004-04-22 | 2008-08-06 | 富士施乐株式会社 | 图像读取装置 |
CN101847209A (zh) * | 2010-06-01 | 2010-09-29 | 福建新大陆电脑股份有限公司 | 一种字符图像校正方法 |
CN102902947A (zh) * | 2011-07-27 | 2013-01-30 | 阿里巴巴集团控股有限公司 | 一种图像识别显示方法、装置及用户设备 |
CN103793903A (zh) * | 2012-10-29 | 2014-05-14 | 方正国际软件(北京)有限公司 | 一种利用条形码识别的图像分割方法及系统 |
CN104915648A (zh) * | 2015-06-02 | 2015-09-16 | 北京天创征腾信息科技有限公司 | 文档/单证方向检测方法和检测装置 |
CN105894526A (zh) * | 2016-04-29 | 2016-08-24 | 广东小天才科技有限公司 | 图片的校正方法及装置 |
WO2018205789A1 (zh) * | 2017-05-09 | 2018-11-15 | 珠海赛纳打印科技股份有限公司 | 卡片放置方向的识别方法、装置以及图像处理装置 |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100405636B1 (ko) * | 2000-05-23 | 2003-11-15 | 이성환 | 시각 장애인용 착용 가능 보행 안내 장치 및 방법 |
RU2003108433A (ru) * | 2003-03-28 | 2004-09-27 | Аби Софтвер Лтд. (Cy) | Способ предварительной обработки изображения машиночитаемой формы |
US20110188759A1 (en) * | 2003-06-26 | 2011-08-04 | Irina Filimonova | Method and System of Pre-Analysis and Automated Classification of Documents |
RU2635259C1 (ru) | 2016-06-22 | 2017-11-09 | Общество с ограниченной ответственностью "Аби Девелопмент" | Способ и устройство для определения типа цифрового документа |
US8144989B2 (en) * | 2007-06-21 | 2012-03-27 | Sharp Laboratories Of America, Inc. | Methods and systems for identifying text orientation in a digital image |
US8208725B2 (en) * | 2007-06-21 | 2012-06-26 | Sharp Laboratories Of America, Inc. | Methods and systems for identifying text orientation in a digital image |
US8340430B2 (en) * | 2007-07-10 | 2012-12-25 | Sharp Laboratories Of America, Inc. | Methods and systems for identifying digital image characteristics |
US8023741B2 (en) | 2008-05-23 | 2011-09-20 | Sharp Laboratories Of America, Inc. | Methods and systems for detecting numerals in a digital image |
US8023770B2 (en) | 2008-05-23 | 2011-09-20 | Sharp Laboratories Of America, Inc. | Methods and systems for identifying the orientation of a digital image |
US8160365B2 (en) * | 2008-06-30 | 2012-04-17 | Sharp Laboratories Of America, Inc. | Methods and systems for identifying digital image characteristics |
US20110176154A1 (en) * | 2010-01-18 | 2011-07-21 | Canon Kabushiki Kaisha | Image processing apparatus, image processing method, and storage medium |
CN102855477B (zh) | 2011-06-29 | 2014-12-17 | 富士通株式会社 | 识别图像块中文字的方向的方法和装置 |
US9092667B2 (en) | 2012-08-27 | 2015-07-28 | Symbol Technologies, Llc | Arrangement for and method of reading forms in correct orientation by image capture |
US9076058B2 (en) | 2013-01-29 | 2015-07-07 | Sharp Laboratories Of America, Inc. | Methods, systems and apparatus for determining orientation in a document image |
KR102424691B1 (ko) * | 2015-11-16 | 2022-07-26 | 삼성전자주식회사 | 조리장치 및 그 제어방법 |
US10121250B2 (en) | 2016-12-01 | 2018-11-06 | International Business Machines Corporation | Image orientation detection |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0325233B1 (en) * | 1988-01-18 | 1994-07-27 | Kabushiki Kaisha Toshiba | Character string recognition system |
JP2716980B2 (ja) | 1988-09-16 | 1998-02-18 | 株式会社日立製作所 | 画像情報装置の正常画像判定方法 |
US5077811A (en) * | 1990-10-10 | 1991-12-31 | Fuji Xerox Co., Ltd. | Character and picture image data processing system |
JPH04195485A (ja) * | 1990-11-28 | 1992-07-15 | Hitachi Ltd | 画像情報入力装置 |
US5235651A (en) * | 1991-08-06 | 1993-08-10 | Caere Corporation | Rotation of images for optical character recognition |
JP3186246B2 (ja) * | 1992-09-24 | 2001-07-11 | 株式会社日立製作所 | 文書読取装置 |
JP3727971B2 (ja) | 1995-02-01 | 2005-12-21 | キヤノン株式会社 | 文書処理装置、及び文書処理方法 |
-
1997
- 1997-07-15 KR KR1019970032913A patent/KR100247970B1/ko not_active IP Right Cessation
-
1998
- 1998-03-16 CN CN98105597A patent/CN1108582C/zh not_active Expired - Fee Related
- 1998-03-17 US US09/042,649 patent/US6169822B1/en not_active Expired - Fee Related
- 1998-03-19 JP JP10070615A patent/JPH1139428A/ja active Pending
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7382939B2 (en) | 2003-04-30 | 2008-06-03 | Canon Kabushiki Kaisha | Information processing apparatus, method, storage medium and program |
CN100409654C (zh) * | 2004-04-22 | 2008-08-06 | 富士施乐株式会社 | 图像读取装置 |
CN100382097C (zh) * | 2004-08-10 | 2008-04-16 | 明基电通股份有限公司 | 文件倾斜角度的估算方法及其装置 |
CN100338618C (zh) * | 2004-09-30 | 2007-09-19 | 致伸科技股份有限公司 | 一种倾斜图像自动校正方法 |
CN100361140C (zh) * | 2005-12-14 | 2008-01-09 | 北京北大方正电子有限公司 | 一种检测文档扫描图像旋转角度和缩放比例的方法 |
CN101847209B (zh) * | 2010-06-01 | 2012-06-06 | 福建新大陆电脑股份有限公司 | 一种字符图像校正方法 |
CN101847209A (zh) * | 2010-06-01 | 2010-09-29 | 福建新大陆电脑股份有限公司 | 一种字符图像校正方法 |
CN102902947A (zh) * | 2011-07-27 | 2013-01-30 | 阿里巴巴集团控股有限公司 | 一种图像识别显示方法、装置及用户设备 |
CN102902947B (zh) * | 2011-07-27 | 2015-05-27 | 阿里巴巴集团控股有限公司 | 一种图像识别显示方法、装置及用户设备 |
CN103793903A (zh) * | 2012-10-29 | 2014-05-14 | 方正国际软件(北京)有限公司 | 一种利用条形码识别的图像分割方法及系统 |
CN103793903B (zh) * | 2012-10-29 | 2018-07-27 | 方正国际软件(北京)有限公司 | 一种利用条形码识别的图像分割方法及系统 |
CN104915648A (zh) * | 2015-06-02 | 2015-09-16 | 北京天创征腾信息科技有限公司 | 文档/单证方向检测方法和检测装置 |
CN104915648B (zh) * | 2015-06-02 | 2018-07-20 | 北京天创征腾信息科技有限公司 | 文档/单证方向检测方法和检测装置 |
CN105894526A (zh) * | 2016-04-29 | 2016-08-24 | 广东小天才科技有限公司 | 图片的校正方法及装置 |
WO2018205789A1 (zh) * | 2017-05-09 | 2018-11-15 | 珠海赛纳打印科技股份有限公司 | 卡片放置方向的识别方法、装置以及图像处理装置 |
Also Published As
Publication number | Publication date |
---|---|
CN1108582C (zh) | 2003-05-14 |
US6169822B1 (en) | 2001-01-02 |
JPH1139428A (ja) | 1999-02-12 |
KR100247970B1 (ko) | 2000-03-15 |
KR19990010215A (ko) | 1999-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1108582C (zh) | 用于校正文件图像方向的方法 | |
EP1358622B1 (en) | Identification , separation and compression of multiple forms with mutants | |
CN101908136B (zh) | 一种表格识别处理方法及系统 | |
US6778703B1 (en) | Form recognition using reference areas | |
US7151860B1 (en) | Document image correcting device and a correcting method | |
US6470091B2 (en) | Address reader, sorting machine such as a mail thing and character string recognition method | |
CN107256379A (zh) | 基于图像识别的信息采集方法、移动终端及存储介质 | |
US8200043B2 (en) | Page orientation detection based on selective character recognition | |
JP3485020B2 (ja) | 文字認識方法及び装置ならびに記憶媒体 | |
US6941030B2 (en) | Character-recognition pre-processing apparatus and method, and program recording medium | |
US20030228057A1 (en) | Edge detection using hough transformation | |
CN110633649A (zh) | 机械图的审核方法及装置 | |
CN109919155A (zh) | 一种文本图像的倾斜角矫正方法及终端 | |
CN110210465A (zh) | 一种数据采集的方法及系统 | |
JPH10307889A (ja) | 文字認識方法、装置及び文字認識プログラムを記録した記録媒体 | |
US6947574B1 (en) | Method and system for interleaving OCR and ABL for automated mail sorting | |
EP0042968A2 (en) | Multi-registration in optical character recognition | |
US6351560B1 (en) | Apparatus, method, and program for locating an objective on a form and a recording medium for recording the program for locating the objective on the form | |
Mita et al. | Improvement of video text recognition by character selection | |
US20060188863A1 (en) | Material processing apparatus, material processing method, and material processing program product | |
EP0601730A1 (en) | Image processing method for correcting character slant | |
JP3191870B2 (ja) | 括弧検出方法及び郵便番号検出方法 | |
CN114359933B (zh) | 一种封面图像的识别方法 | |
CN115546811A (zh) | 一种识别印章的方法、装置、设备及存储介质 | |
CN114529918A (zh) | 一种试卷倒置识别方法、装置及介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: GR Ref document number: 1040773 Country of ref document: HK |
|
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20030514 Termination date: 20110316 |