CN108022362A - A kind of detection method and device of bank note defect - Google Patents
A kind of detection method and device of bank note defect Download PDFInfo
- Publication number
- CN108022362A CN108022362A CN201610945652.1A CN201610945652A CN108022362A CN 108022362 A CN108022362 A CN 108022362A CN 201610945652 A CN201610945652 A CN 201610945652A CN 108022362 A CN108022362 A CN 108022362A
- Authority
- CN
- China
- Prior art keywords
- bank note
- points
- detected
- defect
- thickness
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07D—HANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
- G07D7/00—Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
- G07D7/16—Testing the dimensions
- G07D7/164—Thickness
Abstract
The embodiment of the invention discloses a kind of detection method and device of bank note defect.This method includes:Extract the thickness data of all passages of bank note to be detected;Numerical value in the thickness data of each passage is searched respectively and is less than the exceptional data point of first thickness threshold value, and records the positional information of the exceptional data point;The continuous points of the exceptional data point are determined according to the positional information, and the continuous points are compared with the first points threshold value or the second points threshold value, the defect situation of the bank note to be detected is determined according to comparative result.Through the above technical solutions, realize the detection that bank note defect is carried out using the thickness data of bank note to be detected, it is possible to increase the discrimination of bank note defect.
Description
Technical field
The present embodiments relate to bill handling technology, more particularly to a kind of detection method and device of bank note defect.
Background technology
The more long bank note that commercially circulates inevitably has incompleteness, and this incompleteness is unfavorable for the knowledge to bank note during money-checking
Not, thus be necessary carry out bank note defect detection.
There is the detection to bank note defect to be substantially the reflectance map by some wave band to bank note in the prior art
As being analyzed.For example after obtaining the infrared reflectivity image of bank note, the area of the infrared reflectivity image of the bank note is analyzed,
By the area compared with the area of normal bank note, determine whether bank note has defect with this.Or to the infrared of the bank note
Albedo image carries out edge detection, and by the edge detected compared with the edge of normal bank note, bank note is determined with this
Whether defect is had.But identification of the above-mentioned technical proposal to bank note defect is limited, some misrecognitions can be caused, for example there will be dog-ear
Bank note be mistaken for defect bank note.
The content of the invention
The embodiment of the present invention provides a kind of detection method and device of bank note defect, to realize the thickness data using bank note
Bank note defect is detected, improves the discrimination of bank note defect.
In a first aspect, an embodiment of the present invention provides a kind of detection method of bank note defect, comprise the following steps:
Extract the thickness data of all passages of bank note to be detected;
Numerical value in the thickness data of each passage is searched respectively and is less than the exceptional data point of first thickness threshold value, and is recorded
The positional information of the exceptional data point;
The continuous points of the exceptional data point are determined according to the positional information, and are continuously counted described and first point
Number threshold value or the second points threshold value compare, and the defect situation of the bank note to be detected is determined according to comparative result.
Wherein, continuous points include being longitudinally continuous points and laterally consecutive points, are longitudinally the short of the bank note to be detected
Edge direction, is laterally the long side direction of the bank note to be detected.
Further, the positional information includes the line number and channel number of the exceptional data point;It is described to be longitudinally continuous a little
Number is the points that the exceptional data point in single passage continuously occurs;The laterally consecutive points are that the channel number corresponds to
Passage and the channel number exceptional data point of the adjacency channel before and after the line number between each one or each two line numbers
The points continuously occurred.
Alternatively, the continuous points of the exceptional data point are determined according to the positional information, and are continuously counted described
Compared with the first points threshold value or the second points threshold value, the defect situation bag of the bank note to be detected is determined according to comparative result
Include:
A, determine with the presence or absence of longitudinal direction to connect in the bank note to be detected according to the positional information of exceptional data point in single channel
Continuous points;
If b, existing in the bank note to be detected and being longitudinally continuous points, and points are longitudinally continuous more than or equal to described
First points threshold value, it is determined that there is longitudinal defect in the bank note to be detected;And/or
If c, being not present in the bank note to be detected and being longitudinally continuous points, or it is longitudinally continuous points and is less than described first
Points threshold value, then the positional information of exceptional data point determines with the presence or absence of horizontal to connect in the bank note to be detected in foundation single channel
Continuous points;
If d, there are laterally consecutive points in the bank note to be detected, and laterally consecutive points are more than or equal to described
Second points threshold value, it is determined that there is horizontal defect in the bank note to be detected.
A-d steps are repeated, until the detection of defect is completed in banknote area to be detected corresponding to each single channel.
Alternatively, after the thickness data of all passages of bank note to be detected is extracted, and each is being searched respectively
Numerical value is less than the exceptional data point of first thickness threshold value in the thickness data of passage, and records the position letter of the exceptional data point
Before breath, this method further includes:
Determine the average of the thickness data of each passage;
If the average is less than second thickness threshold value, it is determined that described there are serious defect in the bank note to be detected
Serious defect is that Finger defect area at least accounts for 1/3rd of bank note area to be detected.
Second aspect, the embodiment of the present invention additionally provide a kind of detection device of bank note defect, which includes:
Thickness data extraction module, the thickness data of all passages for extracting bank note to be detected;
Exceptional data point searching module, numerical value is less than first thickness in the thickness data for searching each passage respectively
The exceptional data point of threshold value, and record the positional information of the exceptional data point;
First defect detection module, for determining the continuous points of the exceptional data point according to the positional information, and
The continuous points are compared with the first points threshold value or the second points threshold value, the paper to be detected is determined according to comparative result
The defect situation of coin.
Wherein, continuous points include being longitudinally continuous points and laterally consecutive points, are longitudinally the short of the bank note to be detected
Edge direction, is laterally the long side direction of the bank note to be detected.
Further, the positional information includes the line number and channel number of the exceptional data point;It is described to be longitudinally continuous a little
Number is the points that the exceptional data point in single passage continuously occurs;The laterally consecutive points are that the channel number corresponds to
Passage and the channel number exceptional data point of the adjacency channel before and after the line number between each one or each two line numbers
The points continuously occurred.
Alternatively, the first defect detection module is specifically used for:
A, determine with the presence or absence of longitudinal direction to connect in the bank note to be detected according to the positional information of exceptional data point in single channel
Continuous points;
If b, existing in the bank note to be detected and being longitudinally continuous points, and points are longitudinally continuous more than or equal to described
First points threshold value, it is determined that there is longitudinal defect in the bank note to be detected;And/or
If c, being not present in the bank note to be detected and being longitudinally continuous points, or it is longitudinally continuous points and is less than described first
Points threshold value, then the positional information of exceptional data point determines with the presence or absence of horizontal to connect in the bank note to be detected in foundation single channel
Continuous points;
If d, there are laterally consecutive points in the bank note to be detected, and laterally consecutive points are more than or equal to described
Second points threshold value, it is determined that there is horizontal defect in the bank note to be detected.
A-d steps are repeated, until the detection of defect is completed in banknote area to be detected corresponding to each single channel.
Alternatively, on the basis of above device, which further includes:
Thickness average determining module, for after the thickness data of all passages of extraction bank note to be detected, and
And numerical value is less than the exceptional data point of first thickness threshold value in the thickness data for searching each passage respectively, and record
Before the positional information of the exceptional data point, the average of the thickness data of each passage is determined;
Second defect detection module, if being less than second thickness threshold value for the average, it is determined that the paper to be detected
There are serious defect in coin, the serious defect is that Finger defect area at least accounts for 1/3rd of bank note area to be detected.
The embodiment of the present invention is thick by the thickness data of each passage and first by obtaining the thickness data of bank note to be detected
Threshold value comparison is spent, exceptional data point and its positional information are determined according to comparative result, then determines data according to positional information again
The continuous points of abnormal point, and by itself and the first points threshold value or the second points threshold value comparison, and then determined according to comparative result
The defect situation of bank note to be detected, realizes the detection that bank note defect is carried out using the thickness data of bank note to be detected, Neng Gouti
The discrimination of high bank note defect.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the detection method of bank note defect in the embodiment of the present invention one;
Fig. 2 a are that the thickness transducer in the embodiment of the present invention one gathers bank note original thickness data during paper money is walked
Schematic diagram;
Fig. 2 b are the schematic diagrames of the original thickness data of the bank note of the thickness transducer collection in the embodiment of the present invention one;
Fig. 3 is a kind of flow chart of the detection method of bank note defect in the embodiment of the present invention two;
Fig. 4 is a kind of structure diagram of the detection device of bank note defect in the embodiment of the present invention three;
Fig. 5 is a kind of structure diagram of the detection device of bank note defect in the embodiment of the present invention four.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just
It illustrate only part related to the present invention rather than entire infrastructure in description, attached drawing.
Embodiment one
Fig. 1 is a kind of flow chart of the detection method for bank note defect that the embodiment of the present invention one provides, and this method can be by
The detection device of bank note defect performs, which can be realized that the device can be integrated in by the mode of software and/or hardware
In any finance device that can carry out paper money recognition, such as typically currency examination device, paper money counter or cleaning-sorting machine etc..Specifically include
Following steps:
S110, extraction bank note to be detected all passages thickness data.
Specifically, the original thickness data of all passages of the bank note to be detected of thickness transducer collection are obtained.Due to original
In beginning thickness data comprising bank note to be detected by when the thickness data of bank note that gathers of thickness transducer and no bank note pass through
When thickness transducer collection background thickness data, so needing to carry out denoising to the original thickness data of above-mentioned all passages
Processing, to obtain the thickness data of the bank note to be detected of all passages.
Refering to Fig. 2 a, the sensor unit 202 that a row lays laterally side by side, a biography are provided with thickness transducer 201
Sensor cell 202 corresponds to a passage 203, then the thickness transducer 201 containing 10 sensor units 202 shown in Fig. 2 a
Be properly termed as 10 channel thickness sensors, by all passages according to 204 number consecutively of numbering direction for 1,2 ..., 9 and 10.Treat
Detection bank note 205 will gather one along the note input direction 206 in figure by thickness transducer 201, each sensor unit 202
Relatively independent one-dimensional original thickness data, then 10 channel thickness sensors can gather 10 original thickness signals.Wherein
Bank note 205 to be detected can be normal bank note or be stained with adhesive tape, have dog-ear or have the abnormal bank note of defect.Fig. 2 b are
10 original thickness schematic diagram datas of the normal bank note that thickness transducer 201 gathers, it can be seen that the sensor each numbered
Unit has all corresponded to a line, this line is the original thickness data that the sensor unit detects, between adjacent two lines
The connecting line perpendicular to banknote locations coordinate line be not thickness data, the only connecting line for data display, no reality
Border meaning.
From Fig. 2 b it can be seen that in original thickness data comprising middle bank note to be detected by when thickness transducer gather
Bank note thickness data 207 and both sides do not have bank note by when the thickness data 208 of background that gathers of thickness transducer.So
Denoising is carried out by the original thickness data of all passages to above-mentioned acquisition, is extracted to be checked in original thickness data
The thickness data 207 of bank note is surveyed, that is, extracts the thickness data of all passages of bank note to be detected.
S120, search the exceptional data point that numerical value in the thickness data of each passage is less than first thickness threshold value respectively,
And record the positional information of the exceptional data point.
Wherein, first thickness threshold value is that whether have exceptional data point in a thickness data for judging bank note to be detected
Empirical thickness value, its generally by have the thickness data of the thickness data of defect bank note and normal bank note progress
Substantial amounts of empirical thickness value obtained from Data-Statistics, such as first thickness threshold value can be using empirical value as not less than just
Numerical value at the average 30% of the thickness data of normal bank note.Exceptional data point refers to thickness value at the position than normal bank note
Same position thickness data average or normal bank note thickness data average be less than first thickness threshold value thickness data point.
Positional information is position of the exceptional data point in the thickness data of all passages of bank note to be detected, for example exceptional data point exists
The information such as which passage of thickness data and its which specific row in the channels.
Specifically, a single-pass is extracted from the thickness data of all passages of the step S110 bank note to be detected obtained
Road thickness data, then by the thickness value of single pass each thickness data point compared with first thickness threshold value, and
The positional information that thickness value in comparative result is less than all thickness data points of first thickness threshold value is recorded, that is, completes single-pass
The lookup of road exceptional data point and record.As procedure described above, exceptional data point is carried out to each single channel thickness data
Lookup and record, until all passages complete lookup and the record of exceptional data point.
S130, the continuous points for determining according to the positional information exceptional data point, and will the continuous points and
First points threshold value or the second points threshold value compare, and the defect situation of the bank note to be detected is determined according to comparative result.
Wherein, continuous points refer to the points of position adjacent thickness data point successively.Exemplarily, continuous points include
Points and laterally consecutive points are longitudinally continuous, is longitudinally the short side direction of bank note to be detected, is laterally the bank note to be detected
Long side direction.Positional information includes the line number and channel number of exceptional data point.It is the exception in single passage to be longitudinally continuous points
The points that data point continuously occurs.Laterally consecutive points are the corresponding passages of channel number where exceptional data point and its adjacent logical
The points that exceptional data point of the road before and after above-mentioned line number between each one or each two line numbers continuously occurs.
First points threshold value is to judge whether exceptional data point forms the empirical numerical value of longitudinal defect, it is usually to having
Determined after the substantial amounts of experiment statistics of longitudinal defect thickness data points progress corresponding with the defect in defect bank note, such as the
One points threshold value empirical can be set as 3 data points.Second points threshold value is corresponding with the first points threshold value, simply second point
Number threshold value is to judge whether exceptional data point forms the empirical numerical value of horizontal defect, it is usually to there is the horizontal stroke in defect bank note
Determined after carrying out substantial amounts of experiment statistics to defect corresponding with defect thickness data points, such as the second points threshold value can be with
It is empirical to be set as 5 data points.First points threshold value and the second points threshold value are related with the mechanical structure of thickness transducer, tool
For body, the sample frequency determined dependent on thickness transducer of the first points threshold value and the second points threshold value.Such as in Fig. 2 a
Sample rate of the general 10 channel thickness sensor on bank note short side direction to be detected be 90 data points, the first points threshold value
It is set as 3 data points.But if sample rate of the thickness transducer on bank note short side direction to be detected is changed into 180 numbers
Strong point, then the first points threshold value ought to just be set as 6 data points, then further according to substantial amounts of experiment statistics result into passing through
The property tested adjusts, for example threshold value is empirical is adjusted to 5 data points or 7 data points by the first points.
Specifically, if without abnormal number in the thickness data of all passages of definite bank note to be detected in step S120
Strong point, then do not have defect in the bank note to be detected.Conversely, believed according to the position of the exceptional data point recorded in step S120
Breath, determines the continuous points of exceptional data point, that is, it is to be longitudinally continuous points or laterally consecutive points to determine exceptional data point, so
After will be longitudinally continuous a little with first points threshold value compare, or by laterally consecutive point with second count threshold value compare, according to
Comparative result determines the defect situation of bank note to be detected, i.e., whether bank note to be detected has defect, lacking in the case where there is defect
Damage degree and be longitudinal defect or horizontal defect in the case where there is defect.
Alternatively, based on the above technical solutions, after step silo, and before step S120, this hair
The detection method of the bank note defect of bright embodiment further includes:Determine the average of the thickness data of each passage;It is if described equal
Value is less than second thickness threshold value, it is determined that there are serious defect in the bank note to be detected, the serious defect is Finger defect face
Product at least accounts for 1/3rd of bank note area to be detected.
Wherein, second thickness threshold value is an empirical thickness for being used to judge to whether there is serious defect in bank note to be detected
Number of degrees value, it is generally by substantial amounts of to there is the thickness data of the thickness data of serious defect bank note and normal bank note to carry out
Empirical thickness value obtained from equal Data-Statistics, such as second thickness threshold value can be using empirical value as not less than normal bank note
Thickness data average 50% at numerical value.Serious defect is that defect area at least accounts for 1/3rd of bank note area to be detected
Defect.Such as be subject to the general 10 channel thickness sensor in Fig. 2 a, if continuous points in 30 points and the above,
It is considered as having serious defect in the bank note.
Specifically, each is extracted respectively from the thickness data of all passages of the step S110 bank note to be detected obtained
Single channel thickness data, and calculate the average of the single channel thickness data.Then the average and second thickness threshold value are compared
Compared with if average is less than second thickness threshold value, then there are serious defect in the corresponding banknote area to be detected of the single channel.Press
According to the above process, banknote area to be detected corresponding to each single channel carries out the detection of serious defect.If the above process
In determine that there are serious defect in the corresponding banknote area to be detected of at least one single channel, then exist in bank note to be detected tight
Weight defect, the defect detection of the bank note to be detected finish.Treated, whereas if determining that all single channels are corresponding in the above process
Serious defect is all not present in banknote area in detection, then serious defect is not present in the bank note to be detected, continues to execute step S120
And its subsequent step.The advantages of this arrangement are as follows when having serious defect in bank note to be detected, can be only to each single-pass
The thickness data in road carries out mean value computation to judge the presence of serious defect, and without passage searches exceptional data point one by one again,
Then judgement is longitudinally continuous the existence of points and/or laterally consecutive points, and judges lacking for bank note to be detected based on this
Damage situation, can reduce data operation quantity and data processing time.
It is to be appreciated that the scheme of the detection serious defect is a kind of easier and efficiently defect detection side
Method, it is generally performed before above-mentioned technical proposal, when the scheme of the detection serious defect determines to be not present in bank note to be detected
During serious defect, it is further continued for performing step S120 to step S130, to detect other defect situations.It is of course also possible to do not perform
The scheme of the detection serious defect, directly performs step S110 to the technical solution of step S130 to detect lacking for bank note to be detected
Damage situation.
The technical solution of the present embodiment, by obtaining the thickness data of bank note to be detected, by each single pass thickness
Data and first thickness threshold value comparison, exceptional data point and its positional information are determined according to comparative result, then again according to position
Information determines the continuous points of data exception point, and by itself and the first points threshold value or the second points threshold value comparison, and then according to
Comparative result determines the defect situation of bank note to be detected, realizes and carries out bank note defect using the thickness data of bank note to be detected
Detection, it is possible to increase the discrimination of bank note defect.
Embodiment two
Fig. 3 is a kind of flow chart of the detection method of bank note defect provided by Embodiment 2 of the present invention, and the present embodiment is upper
On the basis of stating embodiment, step S330 is optimized for step S380 to step S130 wherein.Wherein with above-described embodiment phase
Same step uses its corresponding reference numeral, and the explanation of same as the previously described embodiments or corresponding term is no longer superfluous herein
State.The detection method of bank note defect provided by Embodiment 2 of the present invention is illustrated with reference to Fig. 3, the method for the present embodiment
Including:
S110, extraction bank note to be detected all passages thickness data.
S120, search the exceptional data point that numerical value in the thickness data of each passage is less than first thickness threshold value respectively,
And record the positional information of the exceptional data point.
S330, according to the positional information of exceptional data point in single channel determine in the bank note to be detected with the presence or absence of longitudinal direction
Continuous points.
Specifically, the specific location of the exceptional data point in each single channel thickness data has been have recorded in step S120
Information, such as the exceptional data point are located at which row of which passage, then according to this positional information in single channel, search
Whether the line number of the exceptional data point in bank note to be detected in same channel number is continuous.If in same channel number
The line number of exceptional data point is continuous, then counts its points continuously occurred, this points is exactly the longitudinal direction in this channel number
Continuous points, i.e., determine in bank note to be detected with the presence or absence of being longitudinally continuous a little according to the positional information of exceptional data point in single channel
Number.Conversely, there is no be longitudinally continuous points in bank note to be detected.
For example the line number of the thickness data point in each passage of the general 10 channel thickness sensor shown in Fig. 2 a is
From 1 to 90.If channel number is that the line number of the exceptional data point in 1 passage is respectively 80,81,85,86,87 and 88, then
It can determine that exceptional data point that line number is 80 and 81 is one and is longitudinally continuous a little, its a total of 2 exceptional data point, the longitudinal direction
Continuous points are 2, are properly termed as first and are longitudinally continuous points;Meanwhile the exceptional data point of line number 85,86,87 and 88 is
Another is longitudinally continuous a little, its a total of 4 exceptional data point, and it is 4 that this, which is longitudinally continuous points, is properly termed as second longitudinal direction and connects
Continuous points.That is, channel number is longitudinally continuous points for a total of 2 in 1 passage:First is longitudinally continuous points and is
2 and second be longitudinally continuous points be 4.
If existing in S340, the bank note to be detected and being longitudinally continuous points, and it is longitudinally continuous points and is greater than or equal to
The first points threshold value, it is determined that there is longitudinal defect in the bank note to be detected.
Wherein, defect refers to there is lack part in bank note, which can be that defect area accounts for bank note area to be detected
Slight defect or serious defect within 1/5.Such as using the general 10 channel thickness sensor in Fig. 2 a as
Standard, if exceptional data point is continuously counted within 18 points, it is believed that there is slight defect in the bank note.
Specifically, if determining to exist in single channel thickness data in step S330 is longitudinally continuous points, and the longitudinal direction
Continuous points are greater than or equal to the first points threshold value, then can determine exist in the corresponding banknote area to be detected of the single channel
Longitudinal defect.For example the preferably first points threshold value in step S130 is 3 data points, is 1 for channel number in step S330
Passage in first be longitudinally continuous points and second is longitudinally continuous points, wherein first is longitudinally continuous points as 2, its
Less than the first points threshold value, so there is no longitudinal defect at this;And points are longitudinally continuous for second, it is more than at first point
Number threshold value, so determining that bank note to be detected has longitudinal defect at this, i.e., if being ginseng with bank note 205 to be detected in Fig. 2 a
Examine, then can determine that the lower left corner region of the bank note to be detected has longitudinal defect.
If being not present in S350, the bank note to be detected and being longitudinally continuous points, or points are longitudinally continuous less than described
First points threshold value, then the positional information of exceptional data point determines to whether there is institute in the bank note to be detected in foundation single channel
State laterally consecutive points.
Specifically, if there is no be longitudinally continuous in the single channel thickness data of definite bank note to be detected in step S330
Point, points are longitudinally continuous alternatively, existing in step S330 in the single channel thickness data of definite bank note to be detected, but step
Determine that this is longitudinally continuous points and is less than the first points threshold value in S340, then can determine that the single channel corresponds in bank note to be detected
Longitudinal defect is not present in region.At this time, according to the line number and channel number of the exceptional data point recorded in step S120, in above-mentioned list
Exceptional data point in passage and its adjacency channel before and after the above-mentioned line number of lookup between each one or each two line numbers, and judge to look into
Whether the line number of the exceptional data point found is continuous, determines to whether there is laterally consecutive points in bank note to be detected with this.
That is if not finding exceptional data point in adjacency channel, laterally consecutive points are not present in bank note to be detected;Such as
Fruit has exceptional data point, and its line number before and after above-mentioned line number is found in adjacency channel between each one or each two line numbers
It is continuous, then to determine then to count and look into above-mentioned single channel and its adjacency channel there are laterally consecutive points in bank note to be detected
Total points of the exceptional data point found, this total points are exactly the laterally consecutive points in bank note to be detected.
For example the position of the exceptional data point in the passage that channel number is 1 is only at line number 80 and line number 81, then according to
Step S330 judges that there is no longitudinal defect in bank note to be detected.At this time, line number 79 is searched in the passage of channel number 2 and arrives line number
Between 82 or line number 78 is to the presence for whether having exceptional data point between line number 83.If there is no abnormal data at above-mentioned position
Point, then laterally consecutive points are not present in channel number 1 and the corresponding banknote area to be detected of channel number 2.If channel number is 2
Passage in exceptional data point line number be respectively 78 and 82, then have exceptional data point in the adjacency channel of channel number 1, still
Its line number is discontinuous, so laterally consecutive points are not present in channel number 1 and the corresponding banknote area to be detected of channel number 2.Such as
Fruit channel number is that the exceptional data point line number in 2 passage is respectively 79,80,81 and 82, then in the adjacency channel of channel number 1
Not only have an exceptional data point, and in two adjacency channels exceptional data point line number it is continuous, so channel number 1 and channel number 2
There are laterally consecutive points in corresponding banknote area to be detected, total of exceptional data point in channel number 1 and channel number 2 is counted
Number is 6, that is, it is 6 to determine the laterally consecutive points in bank note to be detected.
If there are laterally consecutive points in S360, the bank note to be detected, and laterally consecutive points are greater than or equal to
The second points threshold value, it is determined that there is horizontal defect in the bank note to be detected.
Specifically, if determining that there are laterally consecutive points in bank note to be detected in step S350, then the transverse direction is connected
Continuous points are compared with the second points threshold value, if comparative result, which is laterally consecutive points, is greater than or equal to the second points threshold value,
Then it is determined that there is horizontal defect in bank note to be detected, the transverse direction defect is either slight defect or serious defect.
If comparative result, which is laterally consecutive points, is less than the second points threshold value, then determines that there is no laterally lack in bank note to be detected
Damage.
For example there are laterally consecutive points in step S350, i.e. position of the exceptional data point in channel number 1 exists
At line number 80 and line number 81, its line number in channel number 2 is respectively 79,80,81 and 82, and corresponding laterally consecutive points are 6,
The numerical value is more than the preferably second points threshold value 5 in step S130, it is determined that exists in the corresponding bank note to be detected of channel number 1
Horizontal defect.
S370, judge whether that the detection of defect is completed in banknote area to be detected corresponding to each single channel.
Specifically, above-mentioned steps S330 to step S360 is to carry out bank note longitudinal direction to be detected defect or transverse direction for single channel
The detection process of defect, and all passages of bank note to be detected are carried out with the detection of bank note defect in the embodiment of the present invention, institute
With after execution of step S330 to step S360, it is necessary to judge whether paper money zone to be detected corresponding to each single channel
Complete the detection of bank note defect in domain.If have the corresponding paper to be detected of single channel for carrying out defect detection or not after judgement
Coin region, then just skip to step S330, and continue to execute to step S360, be then made whether again to each single channel pair
The detection of defect is completed in the banknote area to be detected answered, so circulation, until judging result is that each single channel is corresponded to
Banknote area to be detected complete the detection of defect.
S380, the defect detection for terminating the bank note to be detected, carry out the defect detection of next bank note to be detected.
Specifically, when step S370 determines that banknote area to be detected corresponding to each single channel completes defect
During detection, illustrate that the defect detection of the bank note to be detected finishes, then terminate the defect detection to the bank note to be detected, carry out next
Open the defect detection of bank note to be detected.
It should be noted that whether not limiting step S350 and step S360 execution herein, such as step S350 and step
S360 can not be performed, and only detect whether the presence of longitudinal defect in the corresponding bank note to be detected of single channel at this time, and without
Cross the detection of horizontal defect.Certainly, step S350 and step S360 can also be performed sequentially after step 330, advanced at this time
The detection of row longitudinal direction defect, there is no during longitudinal defect in the corresponding banknote area to be detected of single channel, is further detected
The single channel and its corresponding banknote area to be detected of adjacency channel whether there is horizontal defect.
The technical solution of the present embodiment, by obtaining the thickness data of bank note to be detected, by single pass thickness data with
First thickness threshold value is compared to determine exceptional data point and its positional information, then determines single channel according to the positional information
In be longitudinally continuous points, will be longitudinally continuous points with first points threshold value be compared to detect the longitudinal direction in bank note to be detected
Defect, there is no during longitudinal defect in bank note to be detected, can determine that the transverse direction in adjacency channel connects further according to positional information
Laterally consecutive points and the second points threshold value are compared to detect the horizontal defect in bank note to be detected, the above by continuous points
State process and form a circulate operation, until the inspection of defect is completed in banknote area to be detected corresponding to each single channel
Survey, i.e., defect detection is completed to whole bank note to be detected, realize and carry out bank note defect using the thickness data of bank note to be detected
Detection, it is possible to increase the discrimination of bank note defect.
Embodiment three
A kind of structure diagram of the detection device for bank note defect that Fig. 4 provides for the embodiment of the present invention three, the present embodiment
In explanation identical with any of the above-described embodiment or corresponding term details are not described herein.The device can include:
Thickness data extraction module 410, the thickness data of all passages for extracting bank note to be detected.
Exceptional data point searching module 440, for search respectively thickness data extraction module 410 extraction all passages in
Each passage thickness data in numerical value be less than the exceptional data point of first thickness threshold value, and record the exceptional data point
Positional information.
First defect detection module 450, the positional information for being recorded according to exceptional data point searching module 440 determine institute
The continuous points of exceptional data point are stated, and the continuous points are compared with the first points threshold value or the second points threshold value, root
The defect situation of the bank note to be detected is determined according to comparative result.
Wherein, continuous points include being longitudinally continuous points and laterally consecutive points, are longitudinally the short of the bank note to be detected
Edge direction, is laterally the long side direction of the bank note to be detected.Positional information includes the line number and passage of the exceptional data point
Number;The points that are longitudinally continuous are the points that the exceptional data point in single passage continuously occurs;The laterally consecutive point
Number be the corresponding passage of the channel number and the channel number adjacency channel before and after the line number each one or each two rows
The points that exceptional data point between number continuously occurs.
By a kind of detection device of bank note defect of the embodiment of the present invention three, the thickness using bank note to be detected is realized
Data carry out the detection of bank note defect, improve the discrimination of bank note defect.
The detection device for the bank note defect that the embodiment of the present invention is provided can perform what any embodiment of the present invention was provided
The detection method of bank note defect, possesses the corresponding function module of execution method and beneficial effect.
Example IV
A kind of structure diagram of the detection device for bank note defect that Fig. 5 provides for the embodiment of the present invention four, the present embodiment
On the basis of above-described embodiment, it is illustrated and has been optimized.Figure unit wherein same as the previously described embodiments is adopted
With its corresponding reference numeral, details are not described herein for the explanation of identical with any of the above-described embodiment or corresponding term.This reality
Applying the device of example can include:
Thickness data extraction module 410, the thickness data of all passages for extracting bank note to be detected.
Thickness average determining module 420, for determine thickness data extraction module 410 extract all passages in it is each
The average of the thickness data of a passage;
Second defect detection module 430, if the thickness of each passage determined for thickness average determining module 420
There are at least one single pass thickness data average in data mean value to be less than second thickness threshold value, it is determined that the paper to be detected
There are serious defect in coin, the serious defect is that Finger defect area at least accounts for 1/3rd of bank note area to be detected.
Exceptional data point searching module 440, for determining to be not present in bank note to be detected in the second defect detection module 430
During serious defect, the thickness data of each passage in all passages of the extraction of thickness data extraction module 410 is searched respectively
Middle numerical value is less than the exceptional data point of first thickness threshold value, and records the positional information of the exceptional data point.
First defect detection module 450, is specifically used for:
A, determine with the presence or absence of longitudinal direction to connect in the bank note to be detected according to the positional information of exceptional data point in single channel
Continuous points;
If b, existing in the bank note to be detected and being longitudinally continuous points, and points are longitudinally continuous more than or equal to described
First points threshold value, it is determined that there is longitudinal defect in the bank note to be detected;And/or
If c, being not present in the bank note to be detected and being longitudinally continuous points, or it is longitudinally continuous points and is less than described first
Points threshold value, then the positional information of exceptional data point determines with the presence or absence of horizontal to connect in the bank note to be detected in foundation single channel
Continuous points;
If d, there are laterally consecutive points in the bank note to be detected, and laterally consecutive points are more than or equal to described
Second points threshold value, it is determined that there is horizontal defect in the bank note to be detected.
A-d steps are repeated, until the detection of defect is completed in banknote area to be detected corresponding to each single channel.
By a kind of detection device of bank note defect of the embodiment of the present invention four, realize and utilize bank note to be detected in two steps
Thickness data carry out the detection of bank note defect, i.e., carry out serious defect first with the thickness data average of each passage
Detection, when serious defect being not present in bank note to be detected, recycling is longitudinally continuous points and/or laterally consecutive points to judge
The defect situation of bank note to be detected, can effectively reduce data processing time, improve the discrimination of bank note defect.
The detection device for the bank note defect that the embodiment of the present invention is provided can perform what any embodiment of the present invention was provided
The detection method of bank note defect, possesses the corresponding function module of execution method and beneficial effect.
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
- A kind of 1. detection method of bank note defect, it is characterised in that including:Extract the thickness data of all passages of bank note to be detected;The exceptional data point that numerical value in the thickness data of each passage is less than first thickness threshold value is searched respectively, and described in record The positional information of exceptional data point;The continuous points of the exceptional data point are determined according to the positional information, and are continuously counted described and the first points threshold Value or the second points threshold value compare, and the defect situation of the bank note to be detected is determined according to comparative result.
- 2. according to the method described in claim 1, it is characterized in that,The continuous points include being longitudinally continuous points and laterally consecutive points, and the longitudinal direction is the short side of the bank note to be detected Direction, the transverse direction are the long side directions of the bank note to be detected.
- 3. according to the method described in claim 2, it is characterized in that,The positional information includes the line number and channel number of the exceptional data point;The points that are longitudinally continuous are the points that the exceptional data point in single passage continuously occurs;The laterally consecutive points are the adjacency channels of the corresponding passage of the channel number and the channel number before the line number The points that the exceptional data point between each one or each two line numbers continuously occurs afterwards.
- 4. according to the method described in claim 3, it is characterized in that, described determine the abnormal data according to the positional information The continuous points of point, and the continuous points are compared with the first points threshold value or the second points threshold value, according to comparative result Determining the defect situation of the bank note to be detected includes:A, determine to whether there is in the bank note to be detected according to the positional information of exceptional data point in single channel and be longitudinally continuous a little Number;If b, existing in the bank note to be detected and being longitudinally continuous points, and it is longitudinally continuous points and is greater than or equal to described first Points threshold value, it is determined that there is longitudinal defect in the bank note to be detected;And/orIf c, being not present in the bank note to be detected and being longitudinally continuous points, or it is longitudinally continuous points and is less than the described first points Threshold value, then the positional information of exceptional data point determines to whether there is laterally consecutive point in the bank note to be detected in foundation single channel Number;If d, there are laterally consecutive points in the bank note to be detected, and laterally consecutive points are greater than or equal to described second Points threshold value, it is determined that there is horizontal defect in the bank note to be detected.A-d steps are repeated, until the detection of defect is completed in banknote area to be detected corresponding to each single channel.
- 5. the according to the method described in claim 1, it is characterized in that, thickness of all passages in the extraction bank note to be detected After data, and numerical value is less than the abnormal number of first thickness threshold value in the thickness data for searching each passage respectively Strong point, and before recording the positional information of the exceptional data point, the method further includes:Determine the average of the thickness data of each passage;If the average is less than second thickness threshold value, it is determined that described serious there are serious defect in the bank note to be detected Defect is that Finger defect area at least accounts for 1/3rd of bank note area to be detected.
- A kind of 6. detection device of bank note defect, it is characterised in that including:Thickness data extraction module, the thickness data of all passages for extracting bank note to be detected;Exceptional data point searching module, numerical value is less than first thickness threshold value in the thickness data for searching each passage respectively Exceptional data point, and record the positional information of the exceptional data point;First defect detection module, for determining the continuous points of the exceptional data point according to the positional information, and by institute Continuous points are stated compared with the first points threshold value or the second points threshold value, the bank note to be detected is determined according to comparative result Defect situation.
- 7. device according to claim 6, it is characterised in thatThe continuous points include being longitudinally continuous points and laterally consecutive points, and the longitudinal direction is the short side of the bank note to be detected Direction, the transverse direction are the long side directions of the bank note to be detected.
- 8. device according to claim 7, it is characterised in thatThe positional information includes the line number and channel number of the exceptional data point;The points that are longitudinally continuous are the points that the exceptional data point in single passage continuously occurs;The laterally consecutive points are the adjacency channels of the corresponding passage of the channel number and the channel number before the line number The points that the exceptional data point between each one or each two line numbers continuously occurs afterwards.
- 9. device according to claim 8, it is characterised in that the first defect detection module is specifically used for:A, determine to whether there is in the bank note to be detected according to the positional information of exceptional data point in single channel and be longitudinally continuous a little Number;If b, existing in the bank note to be detected and being longitudinally continuous points, and it is longitudinally continuous points and is greater than or equal to described first Points threshold value, it is determined that there is longitudinal defect in the bank note to be detected;And/orIf c, being not present in the bank note to be detected and being longitudinally continuous points, or it is longitudinally continuous points and is less than the described first points Threshold value, then the positional information of exceptional data point determines to whether there is laterally consecutive point in the bank note to be detected in foundation single channel Number;If d, there are laterally consecutive points in the bank note to be detected, and laterally consecutive points are greater than or equal to described second Points threshold value, it is determined that there is horizontal defect in the bank note to be detected.A-d steps are repeated, until the detection of defect is completed in banknote area to be detected corresponding to each single channel.
- 10. device according to claim 6, it is characterised in that further include:Thickness average determining module, for after the thickness data of all passages of extraction bank note to be detected, and Numerical value is less than the exceptional data point of first thickness threshold value in the thickness data for searching each passage respectively, and described in record Before the positional information of exceptional data point, the average of the thickness data of each passage is determined;Second defect detection module, if being less than second thickness threshold value for the average, it is determined that in the bank note to be detected There are serious defect, the serious defect is that Finger defect area at least accounts for 1/3rd of bank note area to be detected.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610945652.1A CN108022362B (en) | 2016-11-02 | 2016-11-02 | Method and device for detecting defect of paper money |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610945652.1A CN108022362B (en) | 2016-11-02 | 2016-11-02 | Method and device for detecting defect of paper money |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108022362A true CN108022362A (en) | 2018-05-11 |
CN108022362B CN108022362B (en) | 2020-03-27 |
Family
ID=62069950
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610945652.1A Active CN108022362B (en) | 2016-11-02 | 2016-11-02 | Method and device for detecting defect of paper money |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108022362B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101449299A (en) * | 2006-07-21 | 2009-06-03 | 光荣株式会社 | A deformed coin detecting device |
JP2009129390A (en) * | 2007-11-28 | 2009-06-11 | Oki Electric Ind Co Ltd | Medium discrimination device |
CN101788280A (en) * | 2010-02-11 | 2010-07-28 | 浙江金利电子有限公司 | Device for identifying banknote thickness abnormity through ultrasonic wave and method thereof |
CN103617671A (en) * | 2013-12-12 | 2014-03-05 | 广州广电运通金融电子股份有限公司 | Method and system for recognizing bill with abnormal thickness |
CN105354912A (en) * | 2015-09-14 | 2016-02-24 | 深圳怡化电脑股份有限公司 | Method and device of banknote detection |
WO2016088279A1 (en) * | 2014-12-05 | 2016-06-09 | グローリー株式会社 | Paper sheet thickness determination method and thickness determination device |
-
2016
- 2016-11-02 CN CN201610945652.1A patent/CN108022362B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101449299A (en) * | 2006-07-21 | 2009-06-03 | 光荣株式会社 | A deformed coin detecting device |
JP2009129390A (en) * | 2007-11-28 | 2009-06-11 | Oki Electric Ind Co Ltd | Medium discrimination device |
CN101788280A (en) * | 2010-02-11 | 2010-07-28 | 浙江金利电子有限公司 | Device for identifying banknote thickness abnormity through ultrasonic wave and method thereof |
CN103617671A (en) * | 2013-12-12 | 2014-03-05 | 广州广电运通金融电子股份有限公司 | Method and system for recognizing bill with abnormal thickness |
WO2016088279A1 (en) * | 2014-12-05 | 2016-06-09 | グローリー株式会社 | Paper sheet thickness determination method and thickness determination device |
CN105354912A (en) * | 2015-09-14 | 2016-02-24 | 深圳怡化电脑股份有限公司 | Method and device of banknote detection |
Also Published As
Publication number | Publication date |
---|---|
CN108022362B (en) | 2020-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104408819B (en) | A kind of detection method of bank note adhesive tape | |
CN103279735B (en) | Dust stratification detection method and system in a kind of financial document identification module | |
CN104346858B (en) | A kind of bank note face amount recognition methods based on magnetic image and device | |
CN102319064B (en) | Device and method for improving accuracy of recognizing deceleration of fetal heart rate data | |
EP3252710B1 (en) | Banknote crack detection method and apparatus | |
CN104091388A (en) | Paper currency authentic identification method and device based on magnetic images | |
CN105893957B (en) | View-based access control model lake surface ship detection recognition and tracking method | |
CN103456075A (en) | Paper money processing method and device | |
US11703477B2 (en) | Nondestructive testing method and device for detecting and distinguishing internal defect and external defect of wire rope | |
US9042632B2 (en) | Method and system for touchless counting of stacked substrates, especially bundled banknotes | |
CN105069893A (en) | Method and apparatus for checking bank note | |
CN107978062A (en) | A kind of detection method and device of adhesive tape paper money | |
CN106447897A (en) | Method and apparatus for detecting magnetic characteristics of paper note | |
CN108022362A (en) | A kind of detection method and device of bank note defect | |
CN104980442B (en) | A kind of network inbreak detection method based on first sample rarefaction representation | |
CN106683262A (en) | Banknote face orientation identification method and apparatus thereof | |
CN103413170B (en) | For the real-time location method at paper money counter bank note edge | |
CN106846606B (en) | A kind of collecting method, device and finance device | |
CN108010184A (en) | A kind of detection method and device of bank note dog-ear | |
CN108932788A (en) | A kind of detection method, device and the equipment of banknote thickness abnormity grade | |
CN108663004B (en) | Method and device for detecting abnormal thickness of paper money | |
CN103955925A (en) | Improved probability Hough transform curve detection method based on partitioning minimum samples fixing | |
CN108961530B (en) | Paper currency defect identification method and system | |
CN106326934A (en) | Dice throw-out point number judging method and device | |
CN107067010B (en) | A kind of method and relevant apparatus removing image outline noise spot |
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 |