Summary of the invention
The technical problem to be solved is to provide a kind of valuable papers's authenticity with higher identification capability
Method.
For solving above technical problem, the technical scheme is that one automatically selects valuable papers's different characteristic point
The method judged, comprises the steps:
A, obtain true valuable papers at different denominations and the identification mark letter under different valuable paperses input direction situations
Breath and authenticity information storing in advance;
B, acquisition intend identifying the first image information of valuable papers;
C, the identification mark information obtained by step a is carried out with described first image information obtained by step b
Comparison, to judge face amount and the direction of intending identifying valuable papers;
D, acquisition are intended identifying valuable papers's the second image information;
E, result of determination according to step c select valuable papers's true and false mirror of corresponding face amount and valuable papers's input direction
Determine information, the second image information that step d obtains is compared with this valuable papers's authenticity information, thus has completed valency
The authenticity of voucher;
Concrete, described step c is:
C1, the first image information taken in the specific region intending qualification valuable papers acquired in step b are as sample
One;
C2, the identification mark information of true with all face amounts for sample one valuable papers is compared, use the first phase relation
Number records each group of comparison result;
C3, after all comparisons complete, obtain maximum first correlation coefficient A;
C4, judge that maximum first correlation coefficient A, whether more than designated value, intends identifying valuable papers more than then can be determined that
Face amount, valuable papers's input direction and the object compared with it are identical, if maximum first correlation coefficient A is less than specifying
Value, then explanation is intended identifying that valuable papers is not in the range of identifying.
Wherein, described " valuable papers " is the valuable papers that can be copied, and includes but not limited to banknote, stamp, stamp
Tax reciept, stock, bond, treasury bill, commercial paper, acceptance bill, bank's time deposit certificate etc..
As the improvement of the present invention, described step d specifically includes following steps:
D1, the face amount intending qualification valuable papers and the valuable papers's input direction information that determine according to step c determine light
Electric transducer is to intending identifying particular location and the width that valuable papers's the second image information is distinguished;
D2, radiation source irradiate valuable papers from intending qualification valuable papers side, identify that valuable papers is another by being placed in plan
Particular location determined by photoelectric sensor read step d1 of side and described second image information under width are as sample
Two.
Further improving as the present invention, described step e specifically includes following steps:
E1, by sample two and face amount and valuable papers's input direction all with intending identifying valuable papers identical truly have valency with
The authenticity information of card is compared, and records each group of comparison result with the second correlation coefficient;
E2, the meansigma methods obtaining all second correlation coefficienies after all comparisons complete are the second correlation coefficient B;
E3, judge described second correlation coefficient B whether more than designated value, more than then can be determined that plan identifies that valuable papers is
True valuable papers, if described second correlation coefficient B is less than designated value, then explanation plan identify valuable papers be vacation have valency with
Card.
As further improvement of the present invention, described step b specifically includes following steps:
B1, the reading position determining the first image information and reading width;
B2, radiation source are intended identifying valuable papers from intending the side irradiation of qualification valuable papers, have valency by being placed in plan qualification
Position and the described first image letter reading under width is read determined by photoelectric sensor read step b1 of voucher opposite side
Breath.
Further improving as the present invention, described step a specifically includes following steps:
A1, set identification mark information institute under four valuable papers's input direction situations respectively of all true valuable paperses
Particular location and read width;
A2, set authenticity information institute under four valuable papers's input direction situations respectively of all true valuable paperses
Particular location and read width;
A3, radiation source irradiate described true valuable papers from described true valuable papers side respectively, true by being placed in
Particular location set by photoelectric sensor read step a1 of real valuable papers opposite side and a2 and the light under reading width
Flux information, forms the identification mark information of true valuable papers respectively by analog-digital converter after this luminous flux information being changed
And authenticity information is stored in memorizer.
Wherein, described identification mark information or the first image information are average waveform A, and described average waveform A is by as follows
Step obtains:
A310, photoelectric sensor are from the P along true valuable papers or the Y direction setting intending qualification valuable papers0Position
The place of putting starts read true valuable papers or intend identifying the luminous flux of valuable papers, and reading width is W0;
A311, processor are to true valuable papers or intend identifying that valuable papers is from P0Position starts to W0Width range
View data is averaged calculating, obtains a line view data, and described view data is along true valuable papers or intends identifying
Valuable papers's X-direction forms average waveform A.
And described authenticity information or the second image information are average waveform B and/or C, or it it is average waveform B
And/or the set of C, the set of described average waveform B or average waveform B is obtained by following steps:
A320, photoelectric sensor are from the preliminary election P along true valuable papers or the Y direction setting intending qualification valuable papersym
Position starts read true valuable papers or intend identifying the luminous flux of valuable papers, and reading preselected width is Wym,
A321, processor are to true valuable papers or intend identifying that valuable papers is from preliminary election PymPosition starts to preliminary election Wym
The view data of width range is averaged calculating, obtains a line view data, and described view data is along X-axis side of valuable papers
To forming average waveform Bm, whereinmFor identifying described average waveform B quantity, natural number more than or equal to 1;
The set of described average waveform C or average waveform C is obtained by following steps:
A330, photoelectric sensor are from the preliminary election P along true valuable papers or the X-direction setting intending qualification valuable papersxn
Position starts read true valuable papers or intend identifying the luminous flux of valuable papers, and reading preselected width is Wxn,
A331, processor are to true valuable papers or intend identifying that valuable papers is from preliminary election PxnPosition starts to preliminary election Wxn
The view data of width range is averaged calculating, obtains a line view data, and described view data is along true valuable papers
Or intend identifying that valuable papers's Y direction forms average waveform Cn, whereinnFor identify described average waveform C quantity, be more than or equal to
The natural number of 1;
Average waveform A of described true valuable papers and described average waveform B or its set, described average waveform C or its
Set, or corresponding with the set that average waveform B collectively forms with average waveform C.
As the optimal way of the present invention, described processor is digital processing unit DSP, microprocessor MPU or system brilliant
Sheet SoC;Described photoelectric sensor is several linearly aligned CIS contact-type image sensors, CMOS or ccd image sensing
Device;Described radiation source is that one or more groups can carry out penetration or the infrared light of reflective irradiation, visible ray and/or purple
Outer light.
By implement the present invention desirable following beneficial effect:
By implementing method and technology scheme of the present invention, genuine/counterfeit discriminating equipment can first pass through the first image information
Judging face amount and the approach axis of valuable papers, genuine/counterfeit discriminating equipment can be transferred under this corresponding face amount and approach axis situation
The authenticity information of true valuable papers, by reading this authenticity information, processor can determine for have valency with
The characteristic point that the card true and false judges quantity, particular location point and width in X-direction and/or Y direction, thus automatically select
Preliminary election different characteristic point carries out the reading of the second image.Afterwards, processor is then by asking for the second correlation coefficient and to the second phase
Close the concrete true and false judging to intend identifying valuable papers of coefficient B.
The present invention is by implementing above method, actually by the face amount of valuable papers, direction and average waveform A pair
Should, by the true and false information of valuable papers with average waveform B or its set, average waveform C or its set, or with average waveform B
And set that average waveform C collectively forms is corresponding, by asking for the first correlation coefficient and to maximum first correlation coefficient A's
Judge face amount and the direction intending identifying valuable papers, by asking for the second correlation coefficient and to the second correlation coefficient B's
The concrete true and false judging to intend identifying valuable papers.Average waveform A and described average waveform B due to true valuable papers
Or its set, described average waveform C or one of its set, the set that collectively forms with average waveform C of average waveform B or combination
Corresponding, thus, valuable papers's genuine/counterfeit discriminating device can get after judging the face amount intending identifying valuable papers and direction
Judge the authenticity information of this valuable papers's true and false i.e. with average waveform B corresponding to average waveform A or its set, described averagely
One of set that waveform C or its set, average waveform B and average waveform C collectively form or combination.So, valuable papers
Genuine/counterfeit discriminating device can be according to the face amount of valuable papers and direction, to intending identifying that valuable papers sets than more sensitive characteristic point
Position and width for optimal preliminary election identification carry out authenticity rather than defend tenaciously in a specific judgement position, thus sentence
Disconnected mode is relatively more flexible, is conducive to making full use of different denominations valuable papers characteristic point position under approach axis difference situation
Difference, directly obtains the more sensitive characteristic point image of ratio such that it is able to be greatly improved valuable papers's true and false distinguishes rate.
Detailed description of the invention
As shown in Figure 1,3, the valuable papers of a kind of method that application automatically selects valuable papers's different characteristic point judgement is true
Pseudo-discriminating gear, including valuable papers's placement platform 10, the photoelectric sensing that is arranged on described valuable papers placement platform 10 side
Device 21, also include being arranged on described valuable papers placement platform 10 opposite side infrared transmitter 101, in order to detected valency with
The photoelectric encoder 204 of the change in location information that card 102 and described photoelectric sensor 21 produce because of relative motion and institute's rheme
Move processor 202 and the digital to analog converter 201 being connected with described processor 202 and in order to deposit that detector (not shown) connects
The memorizer 206 of storage valuable papers identification correction data, described photoelectric sensor 21 connects with described digital to analog converter 201, institute
Stating photoelectric sensor 21 is the contact-type image sensor being made up of the contact-type image sensor 103 of several single arrangements
Group.The orientation of described contact-type image sensor 103 and the valuable papers being placed on described valuable papers placement platform
102 is vertical with the direction of relative movement of described photoelectric sensor 21.Valuable papers's identification correction data in described memorizer 206
Including standard identification information and corresponding denomination and the identification information of valuable papers's approach axis of different valuable paperses, difference has valency
Voucher refers to that different and/or valuable papers the denomination of the currency type of valuable papers is different.Transport establishment of valuable papers 203 drives valency
Voucher 102 moves to realize relative motion between valuable papers 102 and described photoelectric sensor 21.Described valuable papers carries
Mechanism is driven by motor driver 205.
Wherein, described processor is digital processing unit DSP, microprocessor MPU or System on chip SoC;Described photoelectric transfer
Sensor is several linearly aligned CIS contact-type image sensors, CMOS or ccd image sensor.As valuable papers
Radiation source, it can carry out penetration or the infrared light of reflective irradiation, visible ray and/or ultraviolet light for one or more groups.
In the present embodiment, radiation source selects infrared light, and this infrared light is obtained by infrared transmitter 101.
As it is shown on figure 3, transport establishment of valuable papers 203 is controlled by motor driver 205, and by photoelectric encoder 204
Feedback valuable papers displacement information, it is achieved the transmission of valuable papers and scanning;Contact-type image sensor 103 is utilized to obtain infrared
The infrared light of optical transmitting set 101 is perforated through the luminous flux information (or being expressed as graphical information) of valuable papers 102, turns through modulus
Parallel operation 201 is converted into digital quantity and is sent to processor 202, automatically selects different characteristic point and the mark being stored on memorizer 206
Quasi-mode comparison, it is judged that valuable papers's face amount and the true and false.
Described contact-type image sensor 103 is linear contact formula imageing sensor, and it is one group and has hundreds of even
Continuous photoelectric sensor arranged together, may detect that trickle image change;Motor driver 205 drives valuable papers to transport
Mechanism 203 transmits valuable papers 102, and feeds back displacement information by photoelectric encoder 201 and complete valuable papers 102 complete image
Scanning, meanwhile, contact-type image sensor 103 receive infrared transmitter 101 launch infrared light penetrate valuable papers 102
And the image that the specialty inks in valuable papers is transmitted, it is converted into digital quantity through digital to analog converter 201 and transmits everywhere
Reason device 202 carries out judgement process.
Described photoelectric sensor 21 uses linear contact formula imageing sensor 103 ensure that, and enforcement assembly of the invention is at energy
The manufacturing cost of described photoelectric sensor 21 is reduced again while enough reading valuable papers all of identification information, thus favorably
Popularization and application in the present invention.Infrared transmitter 101 ensure that, as light source, the image information that photoelectric sensor 21 reads
More accurate, thus ensure that the accuracy of identification.
Referring to the 2nd figure, this figure is the scanning head module knot of the valuable papers's genuine/counterfeit discriminating device implementing the inventive method
Structure schematic diagram.This scanning head module is applicable to detect the specialty inks of valuable papers, and this module is including at least there being an infrared light to send out
Emitter 101 and a contact-type image sensor 103;Wherein, infrared transmitter 101 is with contact-type image sensor 103 respectively
Being arranged on the both sides of valuable papers 102, infrared transmitter 101 is used for launching infrared light, after transmission imaging, and valuable papers 102
On the image of specialty inks be then touched formula imageing sensor 103 and receive.
As shown in Figure 4, Figure 5, wherein, Fig. 4 is that during implementing the inventive method, imageing sensor is just reading valuable papers
The output waveform figure of a certain position, face, Fig. 5 is then that during implementing the inventive method, imageing sensor reads valuable papers's reverse side
The output waveform figure of relevant position.Wherein, transverse axis represents the arrangement of pixel, and the longitudinal axis then represents the luminous flux of different pixels point
Percentage ratio.Due to the difference of the ink of different pixels point and/or pattern etc., the luminous flux percentage ratio of different pixels point is different
's.According to the difference of luminous flux part ratio, the arragement direction along different pixels point can remittance abroad one oscillogram.Waveform shown in Fig. 5 is
Corresponding with Fig. 4, same card position is identical but luminous flux percent waveforms figure under reverse side input situation.Specifically, there is valency
Voucher such as bank note is when it is back side up, and the oscillogram that certain ad-hoc location oscillogram and bank note face up is just reverse, institute
There are two mutual reverse ad-hoc location oscillograms in the direction that the direction entered with left enters with right, and one has 4 not
Same waveform, correspond to 4 kinds of bank note input directions i.e. note input direction.
As shown in Figure 6, the W of the ad-hoc location of valuable papers that will face up0After wide number of scanning lines does averagely, obtain
The waveform of Fig. 4, wherein assumes that Mei Tiao valuable papers scan line has 800 pixels, it is clear that the luminous flux of each pixel
Percentage ratio is different.Specifically, automatically select different characteristic point and judge, in two stages, the stage one: judge valuable papers face
Value with note input direction, note input direction be generally divided into 4 may, be respectively face up left enter, face up right enter,
The entrance of left upward, the back side and back side right entrance upward etc..Stage two: differentiate there is valency with specific feature locations and width
The voucher true and false.Being referred to as stage one sample A for the sample required for the judgement process in stage one, the judgement for the stage two processes institute
The sample needed is referred to as stage two sample B and/or C.The quantity only one of which of stage one sample, its position P0With width W0It is
Fix, P0Typically smaller than 1/4th of valuable papers;Quantity, position and the width of stage two sample are unfixed, right
Independent definition is had in each note input direction of every kind of face amount.Judge valuable papers's face amount and enter after extraction stage one sample
Paper money direction, determines stage two X-direction and the quantity of Y direction sample, position and width letter further according to face amount and note input direction
Breath, finally utilizes the mode standard comparison of stage two sample and storage, it is judged that valuable papers's true and false.
Shown in Fig. 3, when valuable papers 102 is transferred to contact-type image sensor by transport establishment of valuable papers 203
When 103, photoelectric encoder 204 is counting up to P0Order is sent by processor 202, by W during position0Wide number of scanning lines does averagely
Compare with the standard feature figure being stored in memorizer 206 afterwards.5 kinds of values of money as preset in equipment, then be stored in memorizer 206
In standard feature figure at least 4=20 comparison figure of 5X.When after the complete all characteristic patterns of equipment comparison by closest figure
Representative belongs to which kind of value of money and direction sends processor 202 to and does the differentiation of the next round valuable papers true and false.
As it is shown in fig. 7, the true and false of valuable papers judges to comprise the steps of step 601 on the whole: extract the stage the same
This;Step 602: judge valuable papers's face amount and note input direction;Step 603: extract stage two X-direction and Y direction sample;
Step 604: judge valuable papers's true and false.It should be noted that extraction to stage two sample in step 603, can only extract
The X-direction sample in stage two or Y direction sample, it is also possible to not only extract the X-direction sample in stage two but also extract Y-axis side
To sample.In Fig. 7 embodiment, then use and not only extract the X-direction sample in stage two but also extract the feelings of Y direction sample
Shape.
The position of stage one sample is specific, is generally set in 1/4th regions that valuable papers is scanned the earliest.
As there are 1200 scan lines, then P in valuable papers0And P0+W0All it is set between 1 to 1200/4=300, such as P0It is set to 100, W0
It is set to 10.Due at most scan valuable papers four/once after can get stage one sample, so, completed valency with
Can carry out and complete the judgement of valuable papers's face amount and note input direction before all scannings of card.
As shown in Figure 8, the extraction process of stage one sample comprises the steps of step 701: judge whether to receive reading
The signal of image;The most then carry out step 702;If it is not, then carry out step 701;Step 702: read a line view data;Step
Rapid 703: judge whether to have been detected by valuable papers boundary line;The most then carry out step 704;If it is not, then carry out step 705;
Step 704: judge away from boundary line P0+W0Whether the image of row accepts complete;The most then carry out step 706;If it is not, then carry out
Step 701;Step 705: detection valuable papers boundary line;Step 706: take out from P0To P0+W0Valuable papers's image, as
Stage one sample.
Shown in Fig. 3, processor 202 receives the pulse signal of photoelectric encoder 204 and counts, when counting down to spy
Trigger the operation reading image during determined number, when i.e. valuable papers 102 moves specific range, start to read a line view data.
Non-valuable papers region in image is owing to by infrared light direct irradiation, its image intensity value is close to saturation region, and valuable papers
Certain logical light quantity has been blocked due to valuable papers in region, and its image intensity value is than the image intensity value in non-valuable papers region
Little, so there is obvious feature valuable papers boundary line, the boundary line of valuable papers can be detected according to this feature.Detection
Behind the Article 1 X-direction boundary line of valuable papers, taking out apart from this position, boundary line is P0, width is W0View data,
And remove the most non-valuable papers data partly, as stage one sample.
As shown in Figure 9, it is judged that the flow process of valuable papers's (such as bill) face amount and approach axis comprises the steps of step
801: average waveform i.e. average waveform A of calculation stages one sample;Step 802: note input direction is corresponding joins with certain of certain face amount
Examine Model Comparison, seek its relevant parameter that is first correlation coefficient;Step 803: judge four note input directions of this face amount whether than
To complete;The most then carry out step 804;If it is not, then carry out step 802;Step 804: judge whether that all face amount comparisons are complete
Finish;The most then carry out step 805;If it is not, then carry out step 802;Step 805: ask maximum correlation coefficient i.e. to seek maximum first phase
Close coefficient A;Step 806: whether maximum correlation coefficient is more than designated value;The most then carry out step 807;If it is not, then carry out step
808;Step 807: determine face amount and note input direction;Step 808: non-designated valuable papers.
W to stage one sample0Row view data is averaged calculating, obtains a line view data, i.e. average waveform A
(waveform as shown in Fig. 4 or Fig. 5), then the waveform with the reference model in four note input directions of all appointment face amounts compares
Right, calculate its first correlation coefficient, finally take maximum first correlation coefficient A therein, if maximum first correlation coefficient A is more than
Designated value, then can get face amount and the note input direction of valuable papers.
As shown in Figure 10, extract sample two during implementing the inventive method and carry out the flow process of valuable papers's true and false judgement
Comprise the steps of as a example by bill, step 901: according to face amount and note input direction obtain the position of stage two all samples with
Width;Step 902: extraction stage two sample also calculates its average waveform i.e. average waveform B or average waveform C;Step 903:
With corresponding mode standard comparison, its correlation coefficient is asked i.e. to ask for the second correlation coefficient;Step 904: judge X-direction and Y-axis
Whether comparison is complete for all of sample in direction;The most then carry out step 904;If it is not, then carry out step 902;Step 905: calculate
The meansigma methods of all correlation coefficienies that is second correlation coefficient;Step 906: that is second correlation coefficient B is the biggest for average correlation coefficient
In designated value;The most then carry out step 907;If it is not, then carry out step 908;Step 907: valuable papers is true;Step 908:
Valuable papers is false.
Shown in Fig. 3, according to bill face amount and note input direction thereof, read the corresponding stage two from memorizer 206 all
The information such as the quantity of sample, position and width, then extract all samples, and calculate their average waveform B and/or average wave
These average waveform are compared with the waveform of corresponding mode standard in memorizer 206, are calculated its second phase relation by shape C
Number, finally calculates the meansigma methods that is second correlation coefficient B of all second correlation coefficienies, if the second correlation coefficient B refers to more than certain
Definite value, then valuable papers is true, and otherwise valuable papers is false.
In conjunction with Fig. 6 to Figure 10, a specific embodiment of the complete description present invention is as follows: one automatically selects valuable papers not
The method judged with characteristic point, comprises the steps:
A, obtain true valuable papers at different denominations and the identification mark letter under different valuable paperses input direction situations
Breath and authenticity information storing in advance;
B, acquisition intend identifying the first image information of valuable papers;
C, the identification mark information obtained by step a is carried out with described first image information obtained by step b
Comparison, to judge face amount and the direction of intending identifying valuable papers;
D, acquisition are intended identifying valuable papers's the second image information;
E, result of determination according to step c select valuable papers's true and false mirror of corresponding face amount and valuable papers's input direction
Determine information, the second image information that step d obtains is compared with this valuable papers's authenticity information, thus has completed valency
The authenticity of voucher;
Concrete, described step c is:
C1, the first image information taken in the specific region intending qualification valuable papers acquired in step b are as sample
One;
C2, the identification mark information of true with all face amounts for sample one valuable papers is compared, use the first phase relation
Number records each group of comparison result;
C3, after all comparisons complete, obtain maximum first correlation coefficient A;
C4, judge that maximum first correlation coefficient A, whether more than designated value, intends identifying valuable papers more than then can be determined that
Face amount, valuable papers's input direction and the object compared with it are identical, if maximum first correlation coefficient A is less than specifying
Value, then explanation is intended identifying that valuable papers is not in the range of identifying.
Wherein, described " valuable papers " is the valuable papers that can be copied, and includes but not limited to banknote, stamp, stamp
Tax reciept, stock, bond, treasury bill, commercial paper, acceptance bill, bank's time deposit certificate etc., but the present embodiment selects banknote
It is specifically addressed.The selectivity of valuable papers's concrete manifestation form is illustrated and should not be construed as the present invention by the present embodiment
The restriction of protection domain.
Described step d specifically includes following steps:
D1, the face amount intending qualification valuable papers and the valuable papers's input direction information that determine according to step c determine light
Electric transducer is to intending identifying particular location and the width that valuable papers's the second image information is distinguished;
D2, radiation source irradiate valuable papers from intending qualification valuable papers side, identify that valuable papers is another by being placed in plan
Particular location determined by photoelectric sensor read step d1 of side and described second image information under width are as sample
Two.
Accordingly, described step e specifically includes following steps:
E1, by sample two and face amount and valuable papers's input direction i.e. note input direction all with intend identifying that valuable papers is identical
The authenticity information of true valuable papers is compared, and records each group of comparison result with the second correlation coefficient;
E2, the meansigma methods obtaining all second correlation coefficienies after all comparisons complete are the second correlation coefficient B;
E3, judge described second correlation coefficient B whether more than designated value, more than then can be determined that plan identifies that valuable papers is
True valuable papers, if described second correlation coefficient B is less than designated value, then explanation plan identify valuable papers be vacation have valency with
Card.
Accordingly, described step b specifically includes following steps:
B1, the reading position determining the first image information and reading width;
B2, radiation source are intended identifying valuable papers from intending the side irradiation of qualification valuable papers, have valency by being placed in plan qualification
Position and the described first image letter reading under width is read determined by photoelectric sensor read step b1 of voucher opposite side
Breath.
Accordingly, described step a specifically includes following steps:
A1, set identification mark information institute under four valuable papers's input direction situations respectively of all true valuable paperses
Particular location and read width;
A2, set authenticity information institute under four valuable papers's input direction situations respectively of all true valuable paperses
Particular location and read width;
A3, radiation source irradiate described true valuable papers from described true valuable papers side respectively, true by being placed in
Particular location set by photoelectric sensor read step a1 of real valuable papers opposite side and a2 and the light under reading width
Flux information, forms the identification mark information of true valuable papers respectively by analog-digital converter after this luminous flux information being changed
And authenticity information is stored in memorizer.
Wherein, described identification mark information or the first image information are average waveform A, and described average waveform A is by as follows
Step obtains:
A310, photoelectric sensor are from the P along true valuable papers or the Y direction setting intending qualification valuable papers0Position
The place of putting starts read true valuable papers or intend identifying the luminous flux of valuable papers, and reading width is W0;
A311, processor are to true valuable papers or intend identifying that valuable papers is from P0Position starts to W0Width range
View data is averaged calculating, obtains a line view data, and described view data is along true valuable papers or intends identifying
Valuable papers's X-direction forms average waveform A.
And described authenticity information or the second image information are average waveform B and/or C, or it it is average waveform B
And/or the set of C, the set of described average waveform B or average waveform B is obtained by following steps:
A320, photoelectric sensor are from the preliminary election P along true valuable papers or the Y direction setting intending qualification valuable papersym
Position starts read true valuable papers or intend identifying the luminous flux of valuable papers, and reading preselected width is Wym,
A321, processor are to true valuable papers or intend identifying that valuable papers is from preliminary election PymPosition starts to preliminary election Wym
The view data of width range is averaged calculating, obtains a line view data, and described view data is along X-axis side of valuable papers
To forming average waveform Bm, whereinmFor identifying described average waveform B quantity, natural number more than or equal to 1;
The set of described average waveform C or average waveform C is obtained by following steps:
A330, photoelectric sensor are from the preliminary election P along true valuable papers or the X-direction setting intending qualification valuable papersxn
Position starts read true valuable papers or intend identifying the luminous flux of valuable papers, and reading preselected width is Wxn,
A331, processor are to true valuable papers or intend identifying that valuable papers is from preliminary election PxnPosition starts to preliminary election Wxn
The view data of width range is averaged calculating, obtains a line view data, and described view data is along true valuable papers
Or intend identifying that valuable papers's Y direction forms average waveform Cn, whereinnFor identify described average waveform C quantity, be more than or equal to
The natural number of 1;
Average waveform A of described true valuable papers and described average waveform B or its set, described average waveform C or its
Set, or corresponding with the set that average waveform B collectively forms with average waveform C.
As the preferred embodiments of the present invention, described processor is digital processing unit DSP, microprocessor MPU or system
Wafer SoC;Described photoelectric sensor is several linearly aligned CIS contact-type image sensors, CMOS or ccd image sensing
Device;Described radiation source is that one or more groups can carry out penetration or the infrared light of reflective irradiation, visible ray and/or purple
Outer light.
Illustrate below by the valuable papers that face amount is 10 yuan and how to be judged by the method for the present invention
The face amount of valuable papers and valuable papers's input direction, and and then judge the true and false of valuable papers.
As shown in figure 11, the position and the width information that set sample in this selected valuable papers are as follows: P0:250
W0:30
m:2
Py1:350 Py2:680
Wy1:45 Wy2:40
n:1
Px1:360
Wx1:40
The first correlation coefficient and the second correlation coefficient alleged by the present invention are defined as follows: X is sample for reference data, and Y is
Test sample data:
The absolute value of correlation coefficient is the biggest, then show that X with Y degree of association is the highest.When X to Y linear positive is relevant, correlation coefficient
Value is 1.
For the comparison threshold value of each sample for reference i.e. correlation coefficient compares time designated value different, be experiment instruction
The empirical value got.
Will test valuable papers fixed position P0It is 250 and fixed width W0It is the test sample data of 30 and all face amounts
The sample for reference data in 4 note input directions of valuable papers compare, find out the sample that correlation coefficient is maximum, this example is
Big correlation coefficient that is first correlation coefficient A is 0.930, and more than comparison threshold value 0.87, meets the requirements, so this valuable papers
Face amount is 10 yuan, and note input direction is that front is reverse.If greatest coefficient is not greater than comparison threshold value, then this valuable papers is counterfeit money
Or illustrate that this test valuable papers is not in the range of identifying.
Such as the valuable papers that Figure 12-14 respectively face amount is 10 yuan, under different input direction situations, pass through the present invention
Average waveform A that method is obtained, wherein dotted line is average waveform A of identification mark information, and solid line is the first image information
Average waveform A.
When identification mark information data reverse to the first image information data and true valuable papers front is compared
Time, the first correlation coefficient obtained by the inventive method is 0.931 > threshold value 0.87 (average waveform A comparison situation such as 12 institute
Show);When identification mark information data reverse to the first image information data and true valuable papers front is compared, logical
Crossing the first correlation coefficient that the inventive method obtained was-0.460 (average waveform A comparison situation is as shown at 13);When by first
When the identification mark information data of image information data and true valuable papers reverse side forward is compared, pass through the inventive method
The first correlation coefficient obtained was-0.194 (average waveform A comparison situation is as shown at 14);When by the first image information data
When comparing with the identification mark information data of true valuable papers front forward, first obtained by the inventive method
Correlation coefficient is 0.173 (average waveform A comparison situation is as shown in 15).
In the comparison of above-mentioned four kinds of situations, the first maximum correlation coefficient is 0.931 to be the first correlation coefficient A, mirror
In this first correlation coefficient A more than designated value 0.87, therefore can be determined that test valuable papers is that front reversely inputs.
Certainly, when specifically judging, different denominations is different from different input direction valuable paperses its first waveforms A.
By the judgement to the first correlation coefficient A, be possible not only to obtain the input direction information of valuable papers, it is also possible to obtain have valency with
The par value information of card.
By method of the present invention, i.e. can obtain after the face amount obtaining test valuable papers and input direction information
Obtain the authenticity information of true valuable papers, such that it is able to the valuable papers's true and false entering next step judges.
As shown in figure 12, two, X-direction sample, 1, Y direction sample are taken.By sample two and face amount and valuable papers
The authenticity information of the true valuable papers that input direction is all identical with intending qualification valuable papers is compared, and can obtain second
(position with width information is correlation coefficient 0.906: Py1: 350, Wy1: 45, average waveform B comparison situation is as shown in 16), second
(position with width information is correlation coefficient 0.965: Py2: 680, Wy2: 40, average waveform B comparison situation is as indicated at 17), second
(position with width information is correlation coefficient 0.937: Px1: 360, Wx1: 40, average waveform C comparison situation is as shown in 18).
Ask for the meansigma methods that is second correlation coefficient B of three above the second correlation coefficient for (0.906+0.965+0.937)/
3=0.936, this second correlation coefficient B are more than the i.e. comparison threshold value of designated value 0.88, and wherein comparison threshold value system Experiment Training obtains
Empirical value.Therefore, it can discriminating test valuable papers is true valuable papers.
It must be noted that some non-restrictive explanations that the present invention is simply made by above-described embodiment.But this area
Artisans will appreciate that, under without departing from the purpose and scope of the invention, the present invention can be made amendment, replace and become
More, these amendments, replace and change and still belong to protection scope of the present invention.