CN104883467B - Image forming apparatus and method - Google Patents
Image forming apparatus and method Download PDFInfo
- Publication number
- CN104883467B CN104883467B CN201410072000.2A CN201410072000A CN104883467B CN 104883467 B CN104883467 B CN 104883467B CN 201410072000 A CN201410072000 A CN 201410072000A CN 104883467 B CN104883467 B CN 104883467B
- Authority
- CN
- China
- Prior art keywords
- image data
- size
- text
- face
- text information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Control Or Security For Electrophotography (AREA)
- Facsimiles In General (AREA)
Abstract
The embodiment of the present invention provides a kind of image forming apparatus and method, which includes reading part, and medium is read in scanning, generates image data;Image forming part prints the image data to printed medium;Character recognition portion carries out Text region processing to the image data, obtains text information;Storage unit stores text information acquired in the character recognition portion;And control unit, it calculates the 1st character size according to the 1st text information, the 2nd character size is calculated according to the 2nd text information, and the 1st character size and the 2nd character size are compared, the 1st face and the 2nd face of the reading medium are determined according to comparison result.By above-mentioned image forming apparatus, when the front to ID card or driver's license etc., reverse side duplicate, even if user does not notice scanning area, the duplicating of ID card also can be correctly carried out.While reducing the frequency of failure, it is also capable of providing the convenience of user;And paper waste caused by capable of preventing because of failure.
Description
Technical field
The present invention relates to definition technique, in particular to a kind of image forming apparatus.
Background technique
Currently, image forming apparatus (such as printer) has obtained more and more extensive use.In the prior art, more next
Use has been put into more duplicators for having the certificates copy function such as ID card, driver's license or multi-function printer.
Fig. 1 is the schematic diagram being illustrated in the prior art to ID card copy function, as shown in Figure 1, answering in previous
It prints in function, the positive side of card upward, the center that the left-half of scanning flat bed is arranged in card is implemented to sweep for the first time by user
(S11) is retouched, user's tossing about card upward, the center that the left-half of scanning flat bed is arranged in card is implemented second later
It scans (S12).After terminating scanning, result (S13) is duplicated in output.(for example, referenced patent document 1JP special open 2013-93675)
It should be noted that the above description of the technical background be intended merely to it is convenient to technical solution of the present invention carry out it is clear,
Complete explanation, and facilitate the understanding of those skilled in the art and illustrate.Cannot merely because these schemes of the invention
Background technology part is expounded and thinks that above-mentioned technical proposal is known to those skilled in the art.
Summary of the invention
But inventors have found that if when ID card is not placed in above-mentioned predetermined position by user, existing can not be into
The problem of row user desired duplicating.Fig. 2 and Fig. 3 be respectively in the prior art to ID card copy function there are the problem of into
The schematic diagram of row explanation, as shown in Fig. 2, exporting result when card is placed in the upper left corner (S21, S22) of scanning flat bed by user
(S23) to upper right angular variation;As shown in figure 3, when card is placed in centre (S31, S32) of scanning flat bed by user, output
As a result (S33) can only export the ID card of half, and can not export complete copy.
The embodiment of the present invention provides a kind of image forming apparatus.It is answered in the front to ID card or driver's license etc., reverse side
When print, the desired result of user can be obtained.
According to an aspect of an embodiment of the present invention, a kind of image forming apparatus is provided, is included
Medium is read in reading part, scanning, generates image data;
Image forming part, by described image data printing to printed medium;
Character recognition portion carries out Text region processing to described image data, obtains text information;
Storage unit stores text information acquired in the character recognition portion;And
Control unit, the 1st picture number for respectively generating the character recognition portion according to the 1st time of reading part scanning
According to and the 1st text information that obtains and the character recognition portion are generated according to the 2nd time after reading part scanning the
2 image datas and the 2nd text information obtained is stored to the storage unit, according to the 1st text information calculate the 1st text ruler
It is very little, the 2nd character size is calculated according to the 2nd text information, and to the 1st character size and the 2nd character size into
Row compares, and in the case where comparison result is the biggish situation of the 1st character size, the 1st image data is determined as described
2nd image data is determined as the 2nd face for reading medium, is described in comparison result by the 1st face for reading medium
In the 2nd biggish situation of character size, the 2nd image data is determined as the 1st face for reading medium, by the described 1st
Image data is determined as the 2nd face for reading medium.
Other side according to an embodiment of the present invention provides a kind of image forming method, described image forming method
Include:
The 1st text information that storage is obtained according to the 1st image data that the 1st scanning generates, and scanned according to the 2nd time
The 2nd image data that generates and the 2nd text information that obtains;
The 1st character size is calculated according to the 1st text information, the 2nd text ruler is calculated according to the 2nd text information
It is very little;
1st character size and the 2nd character size are compared;
Wherein, in the case where comparison result is the biggish situation of the 1st character size, the 1st image data is determined
For the 1st face for reading medium, the 2nd image data is determined as the 2nd face for reading medium;It is institute in comparison result
It states in the 2nd biggish situation of character size, the 2nd image data is determined as the 1st face for reading medium, by described the
1 image data is determined as the 2nd face for reading medium.
The beneficial effect of the embodiment of the present invention is, even if user does not notice scanning area, also can correctly into
The duplicating of row ID card.While reducing the frequency of failure, it is also capable of providing the convenience of user;And it can prevent because unsuccessfully drawing
The paper waste risen.
Referring to following description and accompanying drawings, only certain exemplary embodiments of this invention is disclosed in detail, specifies original of the invention
Reason can be in a manner of adopted.It should be understood that embodiments of the present invention are not so limited in range.In appended power
In the range of the spirit and terms that benefit requires, embodiments of the present invention include many changes, modifications and are equal.
The feature for describing and/or showing for a kind of embodiment can be in a manner of same or similar one or more
It uses in a other embodiment, is combined with the feature in other embodiment, or the feature in substitution other embodiment.
It should be emphasized that term "comprises/comprising" refers to the presence of feature, one integral piece, step or component when using herein, but simultaneously
It is not excluded for the presence or additional of one or more other features, one integral piece, step or component.
Detailed description of the invention
Included attached drawing is used to provide further understanding of the invention, and which constitute part of specification, examples
The preferred embodiment of the present invention is shown, and the principle used to explain the present invention together with explanatory note, wherein for identical
Element is denoted by the same reference numerals always.
In the accompanying drawings:
Fig. 1 is a schematic diagram of prior art ID card copy function of the present invention;
Fig. 2 be prior art ID card copy function of the present invention there are the problem of a schematic diagram;
Fig. 3 be prior art ID card copy function of the present invention there are the problem of another schematic diagram;
Fig. 4 is a composition schematic diagram of the image forming apparatus of the embodiment of the present invention 1;
Fig. 5 is the schematic diagram that control unit calculates character size in the embodiment of the present invention 2;
Fig. 6 is a flow chart of the method that 2 control unit of the embodiment of the present invention judges ID card front and back sides;
Fig. 7 is a flow chart of the method that 3 control unit of the embodiment of the present invention judges ID card front and back sides;
Fig. 8 is the flow chart for rotate to image data modified method in the embodiment of the present invention 4;
Fig. 9 is to image data in the embodiment of the present invention 4 up and down towards a flow chart of the method being modified;
Figure 10 is a flow chart of image forming method in the embodiment of the present invention 5;
Figure 11 is a flow chart of image forming method in the embodiment of the present invention 5;
Figure 12 is a schematic diagram of the corresponding image data of image forming method in the embodiment of the present invention 5.
Specific embodiment
Referring to attached drawing, by following specification, aforementioned and other feature of the invention be will be apparent.In specification
In attached drawing, only certain exemplary embodiments of this invention is specifically disclosed, which show the portions that can wherein use principle of the invention
Divide embodiment, it will thus be appreciated that the present invention is not limited to described embodiments, on the contrary, the present invention includes falling into appended power
Whole modifications, modification and equivalent in the range of benefit requirement.
Embodiment 1
The embodiment of the present invention 1 provides a kind of image forming apparatus.Fig. 4 is the structure of the image forming apparatus of the embodiment of the present invention
At schematic diagram.As shown in figure 4, the device includes:
Medium is read in reading part 401, scanning, generates image data;
Image forming part 402, which is printed to printed medium;
Character recognition portion 403 carries out Text region processing to the image data, obtains text information;
Storage unit 404 stores text information acquired in the character recognition portion 403;And
Control unit 405, the 1st image for respectively generating the character recognition portion 403 according to the 1st time of reading part scanning
Data and what the 1st text information that obtains and the character recognition portion 403 were generated according to the 2nd scanning after the reading part
2nd image data and the 2nd text information obtained is stored to the storage unit, according to the 1st text information calculate the 1st text ruler
It is very little, the 2nd character size is calculated according to the 2nd text information, and be compared to the 1st character size and the 2nd character size,
In the case where comparison result is the 1st biggish situation of character size, the 1st image data is determined as the 1st of the reading medium
2nd image data is determined as the 2nd face of the reading medium by face, is the 2nd biggish feelings of character size in comparison result
Under condition, the 2nd image data is determined as to the 1st face of the reading medium, the 1st image data is determined as the reading medium
2nd face.
In the present embodiment, which can be multi-function printer MFP or duplicator.The reading part
401 can be the scanning means part of MFP, and image forming part 401 can be the printing equipment part of MFP;Storage unit 404 can be with
It is the components such as ROM, SD card, HDD, for storing intermediate data such as the 1st text information or the 2nd text of image data, image procossing
Word information etc.;The character recognition portion 403 and the function of control unit 405 can be integrated into duplicator central processor CPU,
In RAM, but, the present embodiment is without being limited thereto.
For example, the image forming apparatus 400 can be used for other information processing equipment, character recognition portion 403 and control
Portion 405 can with central processing unit separate configuration, such as character recognition portion 403 and control unit 405 can be configured to center
The chip of processor connection, the function of character recognition portion 403 and control unit 405 is realized by the control of central processing unit.
In the present embodiment, reading medium, which can be such as ID card, driver's license card, printed medium, can be various types
Paper, the 1st face of the reading medium and the 2nd face can be the obverse and reverse of ID card, but the present embodiment not in this, as
Limitation.In the following description, it will be said so that printed medium is various types of paper as an example with reading medium as ID card
It is bright.
In the present embodiment, which can also include image input unit (not shown), be used to connect
Setting input from the user is received, such as the image input unit can be the operation panel etc. of duplicator, but the present embodiment is not
It is limited to this.
In the present embodiment, character recognition portion 403 its to the image data carry out Text region processing, optics can be used
Text region (Optical Character Recognition, OCR) method carries out Text region processing, to obtain text letter
Breath.
It in the present embodiment, can should in the case where the 1st character size is equal with the 2nd character size
1st image data is determined as the 1st face of the reading medium, and the 2nd image data is determined as to the 2nd face of the reading medium, or
2nd image data can also be determined as the 1st face of the reading medium by person, and the 1st image data is determined as that the reading is situated between
2nd face of matter;The present embodiment is without being limited thereto.
In the present embodiment, control unit 405 control image forming part 402, by the image data for being determined as the 1st face print to
The left side in the face of the printed medium prints the image data for being determined as the 2nd face to the right side in the face of the printed medium, the
1 face can be the front of reading medium, and the 2nd face can be the reverse side of reading medium, and vice versa.Such as by the front elevation of ID card
As the left side of data printing to paper, the negative data of ID card is printed to the right side of paper.
As can be seen from the above embodiments, by above-mentioned image forming apparatus to ID card or driver's license etc. front, reverse side into
When row duplicates, even if user does not notice scanning area, the duplicating of ID card also can be correctly carried out.Reducing the frequency of failure
While, also it is capable of providing the convenience of user;And paper waste caused by capable of preventing because of failure.
Embodiment 2
The embodiment of the present invention 2 provides a kind of image forming apparatus.Difference from example 1 is that the present embodiment 2
On the basis of embodiment 1, which is further described.
In the present embodiment, which extracts the text number of each predetermined size from the 1st text information,
The average value of the size of 1 text amount is calculated according to the text number of each predetermined size of the extraction and as the 1st text
Word size;The control unit 405 extracts the text number of each predetermined size from the 2nd text information, according to the every of the extraction
The text number of one predetermined size calculates the average value of the size of 1 text amount and as the 2nd character size.
Wherein it is possible to by calculate the 1st text information in it is each style of writing number of words and its text font size size sum of products with
The ratio of text sum, as average value, i.e. the 1st character size, to the processing mode and the 1st text information of the 2nd text information
It is similar, it is not repeated herein, but the present embodiment can also calculate character size using other modes, the present embodiment is not restricted to
This.
Fig. 5 is the schematic diagram that control unit calculates character size in the embodiment of the present invention 2, as shown in figure 5, the 1st face of statistics text
The size of every a line font and corresponding text number in word information calculate separately A-D row font size and text as shown in table 1 below
The product of number of words, and using A-D row sum of products and text number and ratio, that is, font size average value as the 1st text in the 1st face
Word size 10.7, same method such as the following table 2, the 2nd character size in the 2nd face are 9.6.
Table 1
Font size | Text number | Size is total | |
A row | 9 | 20 | 180 |
B row | 28 | 8 | 224 |
C row | 9 | 30 | 270 |
D row | 9 | 30 | 270 |
It is total | 58 | 88 | 944 |
Table 2
Font size | Text number | Size is total | |
A row | 12 | 20 | 240 |
B row | 9 | 30 | 270 |
C row | 9 | 30 | 270 |
D row | 9 | 20 | 180 |
It is total | 39 | 100 | 960 |
Fig. 6 is the method flow diagram that 2 control unit of the embodiment of the present invention judges ID card front and back sides, as shown in fig. 6, this method packet
It includes:
Step 601, the 1st text size average value of the 1st text information is calculated;
Step 602, the 2nd text size average value of the 2nd text information is calculated;
Step 603, judge whether the 1st text size average value is greater than the 2nd text size average value, be yes in judging result
In the case where, step 604 is executed, if the determination result is NO, executes step 605;
Step 604, the 1st image data is determined as to the 1st face of ID card, the 2nd image data is determined as the 2nd of ID card
Face;
Step 605, the 2nd image data is determined as to the 1st face of ID card, the 1st image data is determined as the 2nd of ID card
Face.
In the present embodiment, the 1st face of ID card can be the front of ID card, and the 2nd face can be the reverse side of ID card, otherwise also
Can, the present embodiment is not in this, as limitation.
As can be seen from the above embodiments, by above-mentioned image forming apparatus to ID card or driver's license etc. front, reverse side into
When row duplicates, even if user does not notice scanning area, the duplicating of ID card also can be correctly carried out.Reducing the frequency of failure
While, also it is capable of providing the convenience of user;And paper waste caused by capable of preventing because of failure.
Embodiment 3
The embodiment of the present invention 3 provides a kind of image forming apparatus.With embodiment 2 the difference is that, the present embodiment 3
Control unit 405 judge that the method for ID card front and back sides is different according to character size.
In the present embodiment, difference of the control unit 405 between the 1st character size and the 2nd character size is less than pre-
In the case where definite value, the 1st full-size of 1 text amount is extracted from the 1st text information, extracts 1 from the 2nd text information
2nd full-size of text amount, and the 1st full-size and the 2nd full-size are compared;
In the case where comparison result is the 1st biggish situation of full-size, the 1st image data is determined as that the reading is situated between
2nd image data, is determined as the 2nd face of the reading medium by the 1st face of matter;
It is that the 2nd image data is determined as the reading in the 2nd biggish situation of full-size in comparison result
1st image data, is determined as the 2nd face of the reading medium by the 1st face of medium.
By above-mentioned image forming apparatus, the accuracy of ID card front and back sides identification can be further increased
Fig. 7 is the method flow diagram that 3 control unit of the embodiment of the present invention judges ID card front and back sides, as shown in fig. 7, this method packet
It includes:
Step 701, the 1st text size average value of the 1st text information is calculated;
Step 702, the 2nd text size average value of the 2nd text information is calculated;
Step 703, judge the 1st and the 2nd text size average value difference whether in a reference value hereinafter, being no in judging result
When, step 704~706 are executed, when the judgment result is yes, execute step 707~709;
Step 704, judge whether the 1st text size average value is greater than the 2nd text size average value, be yes in judging result
In the case where, step 705 is executed, if the determination result is NO, executes step 706;
Step 705, the 1st image data is determined as to the 1st face of ID card, the 2nd image data is determined as the 2nd of ID card
Face;
Step 706, the 2nd image data is determined as to the 1st face of ID card, the 1st image data is determined as the 2nd of ID card
Face;
Step 707, the 1st full-size that 1 text amount is extracted from the 1st text information is mentioned from the 2nd text information
The 2nd full-size of 1 text amount is taken, and judges that the 1st full-size is no in judging result whether less than the 2nd full-size
When, step 708 is executed, when the judgment result is yes, executes step 709;
Step 708, the 1st image data is determined as to the 1st face of ID card, the 2nd image data is determined as the 2nd of ID card
Face;
Step 709, the 2nd image data is determined as the 1st face of ID card, and the 1st image data is determined as to the 2nd face of ID card.
In the present embodiment step 703, which can according to need any setting, and the present embodiment is not restricted to
This.
In the present embodiment, the 1st face of ID card can be the front of ID card, and the 2nd face can be the reverse side of ID card, otherwise also
Can, the present embodiment is not in this, as limitation.
As can be seen from the above embodiments, by above-mentioned image forming apparatus to ID card or driver's license etc. front, reverse side into
When row duplicates, even if user does not notice scanning area, the duplicating of ID card also can be correctly carried out.Reducing the frequency of failure
While, also it is capable of providing the convenience of user;And paper waste caused by capable of preventing because of failure, and can further mention
The accuracy of high ID card front and back sides identification.
Embodiment 4
The embodiment of the present invention 4 provides a kind of image forming apparatus.Difference from example 1 is that the present embodiment 4
On the basis of embodiment 1, which is further described.
In the present embodiment, which is used for the edge detection results according to the image data to described image number
According to carrying out rotation amendment.
In the present embodiment, which is also used to the court of the text information according to acquired in the character recognition portion
It is modified to the direction up and down to described image data.
Fig. 8 is to carry out rotating modified method flow diagram to image data in the embodiment of the present invention 4, as shown in figure 8, the party
Method includes:
Step 801, the edge of detection image data;
Step 802, judge the long side and short side of image data;
Step 803, the tilt angle of image data is calculated;
Step 804, image data is rotated to horizontally long.
Fig. 9 is to image data in the embodiment of the present invention 4 up and down towards the method flow diagram being modified, such as Fig. 9 institute
Show, this method comprises:
Step 901, the direction that text is judged according to the text information that character recognition portion obtains, is upper and lower in judging result
In the case where reverse, step 902 is executed, is otherwise ended processing;
Step 902, image data is subjected to 180 degree rotation processing.
In the present embodiment, which can judge to scheme according to the size of text information in image data is judged
As the 1st face of data and the 2nd face, specific embodiment can be with reference implementation example 2 or embodiment 3, and content is incorporated in this,
It is not repeated herein.
As can be seen from the above embodiments, by above-mentioned image forming apparatus to ID card or driver's license etc. front, reverse side into
When row duplicates, even if user does not notice scanning area, the duplicating of ID card also can be correctly carried out.Reducing the frequency of failure
While, also it is capable of providing the convenience of user;And paper waste caused by capable of preventing because of failure, and can further mention
The accuracy of high ID card front and back sides identification.
Embodiment 5
The embodiment of the present invention 5 provides a kind of image forming method, is formed corresponding to image described in embodiment 1 to 4
Device.Figure 10 is a flow chart of image forming method in the embodiment of the present invention, as shown in Figure 10, described image forming method packet
It includes:
Step 1001, the 1st text information that storage is obtained according to the 1st image data that the 1st scanning generates, and according to
The 2nd image data that 2nd scanning generates and the 2nd text information that obtains;
Step 1002, the 1st character size is calculated according to the 1st text information, calculates the according to the 2nd text information
2 character sizes;
Step 1003, the 1st character size and the 2nd character size are compared;
Wherein, in the case where comparison result is the biggish situation of the 1st character size, the 1st image data is determined
For the 1st face for reading medium, the 2nd image data is determined as the 2nd face for reading medium;It is institute in comparison result
It states in the 2nd biggish situation of character size, the 2nd image data is determined as the 1st face for reading medium, by described the
1 image data is determined as the 2nd face for reading medium.
In one embodiment, the text number of each predetermined size, root can be extracted from the 1st text information
The average value of the size of 1 text amount is calculated according to the text number of each predetermined size of the extraction and as the 1st text
Word size;The text number that each predetermined size is extracted from the 2nd text information, according to each pre- scale of the extraction
Very little text number calculates the average value of the size of 1 text amount and as the 2nd character size.
It in another embodiment, can also be in the difference between the 1st character size and the 2nd character size
In the case where less than predetermined value, the 1st full-size of 1 text amount is extracted from the 1st text information, from the 2nd text
The 2nd full-size of 1 text amount is extracted in information;1st full-size and the 2nd full-size are compared;
Wherein, in the case where comparison result is the biggish situation of the 1st full-size, the 1st image data is determined
For the 1st face for reading medium, the 2nd image data is determined as the 2nd face for reading medium;In comparison result
It, will in the biggish situation of the 2nd full-size, the 2nd image data is determined as the 1st face for reading medium
1st image data is determined as the 2nd face for reading medium.
Figure 11 is another flow chart of image forming method in the embodiment of the present invention 5, and Figure 12 is image data by Figure 11
In the corresponding schematic diagram of image forming method, below in conjunction with Figure 11 and Figure 12, and by the image forming apparatus be MFP for,
Image forming method in the embodiment of the present invention 5 is illustrated, this method comprises:
Step 1101, medium will be read and be set to scanning flat bed, reading part carries out the 1st scanning;
As shown in figure 12, wherein medium can will be read, as ID card is set in any position of scanning flat bed such as
1201, user can be that MFP starts scanning work by controlling the operation panel of MFP, and by the 1st image data of scanning result
1202 are stored in storage unit.
Step 1102, control unit carries out rotation amendment to the 1st image data;
Its specific embodiment is similar with Fig. 8, is not repeated herein.As shown in figure 12, revised 1st image data is such as
Shown in 1203, up and down towards unknown, which is stored in storage unit by control unit.
Step 1103, character recognition portion carries out OCR processing to revised 1st image data, obtains the 1st text information
1204;
Step 1104, control unit carries out orientation amendment up and down to revised 1st image data using the 1st text information;
Its specific embodiment is similar with Fig. 9, is not repeated herein.Wherein, as shown in figure 12, it generates and specifies up and down
1st intermediate data 1205 of direction, and the data are stored in storage unit.
Step 1105, medium will be read and be set to scanning flat bed, reading part carries out the 2nd scanning;
Wherein, the reading medium that user will duplicate such as ID card turn-over, and carries out the 2nd scanning, similar with step 1101
, which can be set any position in scanning flat bed as shown in 1206 in Figure 12, by the 2nd scanning result the 2nd
Image data 1207 is stored in storage unit.
Step 1106, control unit carries out rotation amendment to the 2nd image data;
Its specific embodiment is similar with Fig. 8, is not repeated herein.As shown in figure 12, revised 2nd image data is such as
Shown in 1208, up and down towards unknown, which is stored in storage unit by control unit.
Step 1107, character recognition portion carries out OCR processing to revised 2nd image data, obtains the 2nd text information
1209;
Step 1108, control unit carries out orientation amendment up and down to revised 2nd image data using the 2nd text information;
Its specific embodiment is similar with Fig. 9, is not repeated herein.Wherein, as shown in figure 12, it generates and specifies up and down
2nd intermediate data 1210 of direction, and the data are stored in storage unit.
Step 1109, control unit is to the text information of the 1st intermediate data 1205 and the text information of the 2nd intermediate data 1211
It is handled, carries out the judgement of front and back sides;
Its specific embodiment is similar with embodiment 2 or 3, is not repeated herein.
Step 1110, it is that positive intermediate data configures in left side by judging result, is the centre of reverse side by judging result
Data configuration as shown in 1211 in Figure 12, is printed by image forming part to printed medium on right side.
As can be seen from the above embodiments, by above-mentioned image forming apparatus to ID card or driver's license etc. front, reverse side into
When row duplicates, even if user does not notice scanning area, the duplicating of ID card also can be correctly carried out.Reducing the frequency of failure
While, also it is capable of providing the convenience of user;And paper waste caused by capable of preventing because of failure, and can further mention
The accuracy of high ID card front and back sides identification.
The device and method more than present invention can be by hardware realization, can also be by combination of hardware software realization.The present invention
It is related to such computer-readable program, when the program is performed by logical block, the logical block can be made to realize above
The device or component parts, or the logical block is made to realize various method or steps described above.The invention further relates to
For storing the storage medium of procedure above, such as hard disk, disk, CD, DVD, flash memory.
Combining specific embodiment above, invention has been described, it will be appreciated by those skilled in the art that this
A little descriptions are all exemplary, and are not limiting the scope of the invention.Those skilled in the art can be according to the present invention
Spirit and principle various variants and modifications are made to the present invention, these variants and modifications are also in the scope of the present invention.
Claims (7)
1. a kind of image forming apparatus, described image forms device and includes:
The one side of medium is read in reading part, the 1st scanning, generates the 1st image data, and the another of medium is read in the 2nd scanning
Face generates the 2nd image data;
Image forming part prints the 1st image data and the 2nd image data to printed medium;
Character recognition portion carries out Text region processing to the 1st image data, the 1st text information is obtained, to the described 2nd
Image data carries out Text region processing, obtains the 2nd text information;
Storage unit stores the 1st text information and the 2nd text information acquired in the character recognition portion;And
Control unit controls the storage unit and stores the 1st text information and the 2nd text information, believed according to the 1st text
Breath calculates the 1st character size, calculates the 2nd character size according to the 2nd text information, and to the 1st character size and institute
It states the 2nd character size to be compared, in the case where comparison result is the biggish situation of the 1st character size, by the 1st image
Data judging be it is described read medium the 1st face, by the 2nd image data be determined as it is described read medium the 2nd face, than
Compared with result be to be judged to the 2nd image data described to read the of medium in the biggish situation of the 2nd character size
1st image data is determined as the 2nd face for reading medium by 1 face;
Wherein, the control unit controls described image forming portion, and the image data for being determined as the 1st face is printed to the print
The left side in the face of brush medium prints the image data for being determined as the 2nd face to the right side in the face of the printed medium;
Wherein, the control unit is also used to rotate described image data according to the edge detection results of described image data
Amendment, the control unit are also used to the direction of the text information according to acquired in the character recognition portion to described image data
Direction is modified up and down.
2. image forming apparatus according to claim 1, wherein
The control unit extracts the text number of each predetermined size from the 1st text information, according to each of the extraction
The text number of a predetermined size calculates the average value of the size of 1 text amount and as the 1st character size;
The control unit extracts the text number of each predetermined size from the 2nd text information, according to each of the extraction
The text number of a predetermined size calculates the average value of the size of 1 text amount and as the 2nd character size.
3. image forming apparatus according to claim 2, wherein
In the case that difference of the control unit between the 1st character size and the 2nd character size is less than predetermined value,
The 1st full-size that 1 text amount is extracted from the 1st text information extracts 1 text amount from the 2nd text information
2nd full-size, and the 1st full-size and the 2nd full-size are compared;
In the case where comparison result is the biggish situation of the 1st full-size, the 1st image data is determined as the reading
2nd image data is determined as the 2nd face for reading medium by the 1st face of medium;
It is that the 2nd image data is determined as the reading in the biggish situation of the 2nd full-size in comparison result
1st image data is determined as the 2nd face for reading medium by the 1st face for taking medium.
4. according to claim 1 to image forming apparatus described in 3 any one, wherein the character recognition portion is according to optics
Text region OCR method carries out Text region processing, obtains text information.
5. a kind of image forming method, described image forming method include:
The one side of medium is read in 1st scanning, generates the 1st image data, and the another side of medium is read in the 2nd scanning, generates the 2nd
Image data;
Text region processing is carried out to the 1st image data, obtains the 1st text information;Text is carried out to the 2nd image data
Word identifying processing obtains the 2nd text information;
Store the 1st text information and the 2nd text information;
The 1st character size is calculated according to the 1st text information, the 2nd character size is calculated according to the 2nd text information;
1st character size and the 2nd character size are compared;
Wherein, in the case where comparison result is the biggish situation of the 1st character size, the 1st image data is judged to reading
2nd image data is determined as the 2nd face for reading medium by the 1st face for taking medium;It is described the in comparison result
In the biggish situation of 2 character sizes, the 2nd image data is determined as the 1st face for reading medium, by the 1st figure
As data judging is the 2nd face for reading medium;
The image data for being determined as the 1st face is printed to the left side in the face of printed medium, will be determined as the figure in the 2nd face
As the right side in the face of data printing to the printed medium;
Wherein, the method also includes:
Rotation amendment is carried out to described image data according to the edge detection results of described image data, according to the Text region
The step of processing acquired text information direction to described image data up and down towards being modified.
6. image forming method according to claim 5, wherein the method also includes:
The text number that each predetermined size is extracted from the 1st text information, according to each predetermined size of the extraction
Text number calculate 1 text amount size average value and as the 1st character size;
The text number that each predetermined size is extracted from the 2nd text information, according to each predetermined size of the extraction
Text number calculate 1 text amount size average value and as the 2nd character size.
7. image forming method according to claim 6, wherein the method also includes:
In the case that difference between the 1st character size and the 2nd character size is less than predetermined value, from the described 1st
The 1st full-size that 1 text amount is extracted in text information extracts the 2nd maximum ruler of 1 text amount from the 2nd text information
It is very little;
1st full-size and the 2nd full-size are compared;
Wherein, in the case where comparison result is the biggish situation of the 1st full-size, the 1st image data is determined as institute
The 1st face for reading medium is stated, the 2nd image data is determined as the 2nd face for reading medium;Comparison result be
In the biggish situation of 2nd full-size, the 2nd image data is determined as the 1st face for reading medium, it will be described
1st image data is determined as the 2nd face for reading medium.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410072000.2A CN104883467B (en) | 2014-02-28 | 2014-02-28 | Image forming apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410072000.2A CN104883467B (en) | 2014-02-28 | 2014-02-28 | Image forming apparatus and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104883467A CN104883467A (en) | 2015-09-02 |
CN104883467B true CN104883467B (en) | 2019-01-11 |
Family
ID=53950797
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410072000.2A Expired - Fee Related CN104883467B (en) | 2014-02-28 | 2014-02-28 | Image forming apparatus and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104883467B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112784825B (en) * | 2019-11-01 | 2024-04-30 | 株式会社理光 | Method for identifying characters in picture, method, device and equipment for retrieving keywords |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3657834A (en) * | 1970-12-14 | 1972-04-25 | G G Tauber Co Inc | Convention badge holders and printing card insert |
CN101282395A (en) * | 2007-04-06 | 2008-10-08 | 夏普株式会社 | Image processing system and image processing method |
CN101615251A (en) * | 2008-06-24 | 2009-12-30 | 三星电子株式会社 | The method and apparatus that is used for identification character in the character recognition device |
JP2011229059A (en) * | 2010-04-22 | 2011-11-10 | Seiko Epson Corp | Image processing apparatus, image processing method and program thereof |
CN102930265A (en) * | 2012-09-19 | 2013-02-13 | 广州市中崎商业机器有限公司 | Method and device for scanning multiple identity cards |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090076924A1 (en) * | 2007-09-14 | 2009-03-19 | Doug Dina | Self-service terminal with passport photo processing |
-
2014
- 2014-02-28 CN CN201410072000.2A patent/CN104883467B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3657834A (en) * | 1970-12-14 | 1972-04-25 | G G Tauber Co Inc | Convention badge holders and printing card insert |
CN101282395A (en) * | 2007-04-06 | 2008-10-08 | 夏普株式会社 | Image processing system and image processing method |
CN101615251A (en) * | 2008-06-24 | 2009-12-30 | 三星电子株式会社 | The method and apparatus that is used for identification character in the character recognition device |
JP2011229059A (en) * | 2010-04-22 | 2011-11-10 | Seiko Epson Corp | Image processing apparatus, image processing method and program thereof |
CN102930265A (en) * | 2012-09-19 | 2013-02-13 | 广州市中崎商业机器有限公司 | Method and device for scanning multiple identity cards |
Non-Patent Citations (1)
Title |
---|
基于嵌入式Linux的身份证复印系统的研究与实现;张恒;《硕士论文》;20121130;全文 |
Also Published As
Publication number | Publication date |
---|---|
CN104883467A (en) | 2015-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4963809B2 (en) | Outlier detection during scanning | |
JP2003219147A (en) | Judgement method of paginating direction for processing after image generation | |
CN114299528B (en) | Information extraction and structuring method for scanned document | |
WO2018205789A1 (en) | Method and apparatus for recognizing card placement direction, and image processing apparatus | |
US9626738B2 (en) | Image processing apparatus, image processing method, and storage medium | |
CN1731421A (en) | Image processing system and image tampering assesment method and control program of the same | |
US8068261B2 (en) | Image reading apparatus, image reading method, and image reading program | |
CN104883467B (en) | Image forming apparatus and method | |
US9578203B2 (en) | Document production system having automatic adjustment of content to fit the page margin of a pre-printed media | |
US9338310B2 (en) | Image processing apparatus and computer-readable medium for determining pixel value of a target area and converting the pixel value to a specified value of a target image data | |
US20170230538A1 (en) | Image processing device, image processing method, and non-transitory computer-readable medium | |
US8503785B2 (en) | Dynamic response bubble attribute compensation | |
RU2672395C1 (en) | Method for training a classifier designed for determining the category of a document | |
US5649028A (en) | Connect-the-dots drawing production device | |
CN105763759B (en) | Intelligent copying device | |
CN107018250A (en) | Image processing system | |
US20120008151A1 (en) | Braille copy machine using image processing techniques | |
JP2005303740A (en) | Image forming apparatus, image forming method, and program | |
JP6394579B2 (en) | Image reading apparatus and image forming apparatus | |
US10540752B2 (en) | Information processing apparatus, control method, and storage medium | |
CN105959509B (en) | The method and device of print is automatically added water while duplicating | |
CN110991451B (en) | Correction method and device for card area image of scanned image | |
JP7171269B2 (en) | Image matching system, image matching method, and program | |
JP2007174479A (en) | Read control system | |
JP4492460B2 (en) | System, image processing apparatus, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190111 Termination date: 20210228 |
|
CF01 | Termination of patent right due to non-payment of annual fee |