CN110083315B - 一种基于图像处理技术的打印错误更正方法 - Google Patents
一种基于图像处理技术的打印错误更正方法 Download PDFInfo
- Publication number
- CN110083315B CN110083315B CN201910212500.4A CN201910212500A CN110083315B CN 110083315 B CN110083315 B CN 110083315B CN 201910212500 A CN201910212500 A CN 201910212500A CN 110083315 B CN110083315 B CN 110083315B
- Authority
- CN
- China
- Prior art keywords
- corrected
- area
- paper
- image
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
- G06F3/1208—Improving or facilitating administration, e.g. print management resulting in improved quality of the output result, e.g. print layout, colours, workflows, print preview
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/121—Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1244—Job translation or job parsing, e.g. page banding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/40—Document-oriented image-based pattern recognition
- G06V30/41—Analysis of document content
- G06V30/418—Document matching, e.g. of document images
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00127—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
- H04N1/00204—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a digital computer or a digital computer system, e.g. an internet server
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00127—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
- H04N1/00249—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a photographic apparatus, e.g. a photographic printer or a projector
- H04N1/00251—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a photographic apparatus, e.g. a photographic printer or a projector with an apparatus for taking photographic images, e.g. a camera
Abstract
本发明公开了一种基于图像处理技术的打印错误更正方法,包括:通过高清摄像头将采集的待更正的纸质文件的图像通过电连接传输到计算机;计算机使用CNN对待更正的纸质文件图像进行特征分析和提取,将每一个图形的边界坐标值和背景像素值成对记录在数据存储模块中;在计算机上手动标记待更正的纸质文件图像中错误内容的区域作为标记区域A;将标记区域A的坐标值与每一个图形边界坐标值进行对比,调用匹配的背景像素值对标记区域A进行填充,作为标记区域B;对计算机上的原版电子文件进行更正,并对更正后电子文件的更正区域进行像素值提取;调取更正后的像素值对标记区域B进行填充。本发明能够在不更换打印纸的情况下对已打印错误的内容进行更正。
Description
技术领域
本发明涉及一种基于图像处理技术的打印错误更正方法,属于图像处理领域。
背景技术
打印机是生活中经常使用的办公设备,但现有的打印机设备,只能对电子版的内容完整呈现,对于已打印出的内容,一旦出错就无法更改,需要重新打印,这样就造成了资源的浪费和不必要的污染。
发明内容
本发明提供了一种基于图像处理技术的打印错误更正方法,以用于在不更换打印纸的情况下对已打印错误的内容进行更正。
本发明的技术方案是:一种基于图像处理技术的打印错误更正方法,所述方法步骤如下:
S1、将通过计算机上的原版电子文件进行打印后得到的待更正的纸质文件放入打印机的进纸机构2处;
S2、通过高清摄像头4将采集的待更正的纸质文件的图像通过电连接传输到计算机,将识别出的待更正的纸质文件的图像长宽与原版电子文件进行比较:若有偏差则需对待更正的纸质文件的图像进行调整,重新识别待更正的纸质文件,直至识别出的待更正的纸质文件的图像长宽与原版电子文件相同;
S3、计算机使用CNN对待更正的纸质文件图像进行特征分析和提取,提取图像中所有图形的边界坐标作为区域分界,并提取该区域中的大量相同像素值作为该区域背景像素值,将每一个图形的边界坐标值和背景像素值成对记录在数据存储模块中;
S4、在计算机上手动标记待更正的纸质文件图像中错误内容的区域作为标记区域A,将其限定为需更正的范围,并将该区域坐标值记录在数据存储模块中;
S5、将标记区域A的坐标值与每一个图形边界坐标值进行对比,调用匹配的背景像素值对标记区域A进行填充,将标记区域A填充为色彩与匹配的背景像素值相同,将其作为标记区域B;
S6、对计算机上的原版电子文件进行更正,并对更正后电子文件的更正区域进行像素值提取,将更正后的像素值存入数据存储模块;
S7、调取更正后的像素值对标记区域B进行填充,将标记区域B填充为更正后的像素值。
所述高清摄像头4安装在能够按照1:1比例采集进纸机构2处打印纸图像位置处。
本发明的有益效果是:本发明能够在不更换打印纸的情况下对已打印错误的内容进行更正,节省资源。
附图说明
图1为本发明的流程图;
图2为打印机设备结构示意图一;
图3为打印机设备结构示意图二;
图中,1-打印机本体;2-进纸机构;3-出纸机构;4-高清摄像头。
具体实施方式
实施例1:如图1-3所示,一种基于图像处理技术的打印错误更正方法,所述方法步骤如下:
S1、将通过计算机上的原版电子文件进行打印后得到的待更正的纸质文件放入打印机的进纸机构2处;
S2、通过高清摄像头4将采集的待更正的纸质文件的图像通过电连接传输到计算机,将识别出的待更正的纸质文件的图像长宽与原版电子文件进行比较:若有偏差则需对待更正的纸质文件的图像进行调整,重新识别待更正的纸质文件,直至识别出的待更正的纸质文件的图像长宽与原版电子文件相同;
S3、计算机使用CNN对待更正的纸质文件图像进行特征分析和提取,提取图像中所有图形的边界坐标作为区域分界,并提取该区域中的大量相同像素值作为该区域背景像素值,将每一个图形的边界坐标值和背景像素值成对记录在数据存储模块中;
S4、在计算机上手动标记待更正的纸质文件图像中错误内容的区域作为标记区域A,将其限定为需更正的范围,并将该区域坐标值记录在数据存储模块中;
S5、将标记区域A的坐标值与每一个图形边界坐标值进行对比,调用匹配的背景像素值对标记区域A进行填充,将标记区域A填充为色彩与匹配的背景像素值相同,将其作为标记区域B;
S6、对计算机上的原版电子文件进行更正,并对更正后电子文件的更正区域进行像素值提取,将更正后的像素值存入数据存储模块;
S7、调取更正后的像素值对标记区域B进行填充,将标记区域B填充为更正后的像素值。
进一步地,可以设置所述高清摄像头4安装在能够按照1:1比例采集进纸机构2处打印纸图像位置处。
上面结合附图对本发明的具体实施方式作了详细说明,但是本发明并不限于上述实施方式,在本领域普通技术人员所具备的知识范围内,还可以在不脱离本发明宗旨的前提下作出各种变化。
Claims (1)
1.一种基于图像处理技术的打印错误更正方法,其特征在于:所述方法步骤如下:
S1、将通过计算机上的原版电子文件进行打印后得到的待更正的纸质文件放入打印机的进纸机构(2)处;
S2、通过高清摄像头(4)将采集的待更正的纸质文件的图像通过电连接传输到计算机,将识别出的待更正的纸质文件的图像长宽与原版电子文件进行比较:若有偏差则需对待更正的纸质文件的图像进行调整,重新识别待更正的纸质文件,直至识别出的待更正的纸质文件的图像长宽与原版电子文件相同;
S3、计算机使用CNN对待更正的纸质文件图像进行特征分析和提取,提取图像中所有图形的边界坐标作为区域分界,并提取该区域中的大量相同像素值作为该区域背景像素值,将每一个图形的边界坐标值和背景像素值成对记录在数据存储模块中;
S4、在计算机上手动标记待更正的纸质文件图像中错误内容的区域作为标记区域A,将其限定为需更正的范围,并将该区域坐标值记录在数据存储模块中;
S5、将标记区域A的坐标值与每一个图形边界坐标值进行对比,调用匹配的背景像素值对标记区域A进行填充,将标记区域A填充为色彩与匹配的背景像素值相同,将其作为标记区域B;
S6、对计算机上的原版电子文件进行更正,并对更正后电子文件的更正区域进行像素值提取,将更正后的像素值存入数据存储模块;
S7、调取更正后的像素值对标记区域B进行填充,将标记区域B填充为更正后的像素值;
所述高清摄像头(4)安装在能够按照1:1比例采集进纸机构(2)处打印纸图像位置处。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910212500.4A CN110083315B (zh) | 2019-03-20 | 2019-03-20 | 一种基于图像处理技术的打印错误更正方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910212500.4A CN110083315B (zh) | 2019-03-20 | 2019-03-20 | 一种基于图像处理技术的打印错误更正方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110083315A CN110083315A (zh) | 2019-08-02 |
CN110083315B true CN110083315B (zh) | 2022-05-06 |
Family
ID=67413300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910212500.4A Active CN110083315B (zh) | 2019-03-20 | 2019-03-20 | 一种基于图像处理技术的打印错误更正方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110083315B (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111445647A (zh) * | 2020-04-02 | 2020-07-24 | 李静敏 | 一种基于图像识别的税务管理发票用智能打印装置 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1797431A (zh) * | 2004-12-27 | 2006-07-05 | 国际商业机器公司 | 校正打印机设备输出的方法与系统 |
CN104647900A (zh) * | 2015-03-12 | 2015-05-27 | 张运泉 | 纸质文件修改打印设备及其修改打印的处理方法 |
CN107608644A (zh) * | 2017-09-28 | 2018-01-19 | 北京小米移动软件有限公司 | 重新打印文件的方法和装置 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4513573B2 (ja) * | 2005-01-11 | 2010-07-28 | セイコーエプソン株式会社 | 帳票処理装置 |
JP4101254B2 (ja) * | 2005-06-07 | 2008-06-18 | キヤノン株式会社 | 画像記録装置、画像記録方法およびプログラム |
JP2008236456A (ja) * | 2007-03-22 | 2008-10-02 | Brother Ind Ltd | プリンタ複合機、プリントシステム、及び、静止画像印刷プログラム |
KR20150144136A (ko) * | 2014-06-16 | 2015-12-24 | 삼성전자주식회사 | 모바일 장치, 화상형성장치 및 그의 매뉴얼 제공 방법 |
-
2019
- 2019-03-20 CN CN201910212500.4A patent/CN110083315B/zh active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1797431A (zh) * | 2004-12-27 | 2006-07-05 | 国际商业机器公司 | 校正打印机设备输出的方法与系统 |
CN104647900A (zh) * | 2015-03-12 | 2015-05-27 | 张运泉 | 纸质文件修改打印设备及其修改打印的处理方法 |
CN107608644A (zh) * | 2017-09-28 | 2018-01-19 | 北京小米移动软件有限公司 | 重新打印文件的方法和装置 |
Also Published As
Publication number | Publication date |
---|---|
CN110083315A (zh) | 2019-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10027853B2 (en) | Printer cartridge and memory device containing a compressed color table | |
US5813771A (en) | Method and apparatus for printer/scanner calibration | |
CN102033448A (zh) | 图像形成装置和图像形成方法 | |
US20100225932A1 (en) | Image forming apparatus and image forming method | |
CN102377906B (zh) | 图像读取装置及图像读取装置的控制方法 | |
CN110083315B (zh) | 一种基于图像处理技术的打印错误更正方法 | |
CN107085505B (zh) | 一种cdr文件自动处理和自动比对方法及系统 | |
CN114889329B (zh) | 打印机墨量调整方法、装置、设备及存储介质 | |
CN111626712A (zh) | 一种高效数码印刷生产工作流程 | |
US20120281252A1 (en) | Distributed printing system and method | |
US20210406623A1 (en) | Generating control data for a printing system | |
US8651610B2 (en) | Image forming system and methods thereof | |
CN105589666A (zh) | 基于纸张原有内容进行套打的方法 | |
CN109522862A (zh) | 一种文档修正方法、装置、设备及可读存储介质 | |
EP2302896A2 (en) | Data processing apparatus and data processing method for compressing image data | |
US20170054871A1 (en) | Creating image data for a tile on an image | |
CN1133117C (zh) | 字符图象处理装置和方法 | |
CN110837828A (zh) | 一种自动扫描与打印页码的装置与方法 | |
CN102582245B (zh) | 快速宽幅多程打印方法及其所适用的打印装置 | |
CN113858842B (zh) | 一种能控制印刷质量的柔版印刷机高质量印刷方法 | |
TWI656783B (zh) | 可校正複印位置的複印設備及複印方法 | |
US9007656B2 (en) | Method, an apparatus and a printing equipment for printing documents | |
CN101193188A (zh) | 一种格式固定文档中埋入数据信息的方法 | |
US10839206B2 (en) | Information processing device and method performing character recognition on document image data masked or not based on text image count | |
US20120105876A1 (en) | Color plane registration error correction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |