CN107730707B - A kind of false distinguishing method and device of valuable document - Google Patents

A kind of false distinguishing method and device of valuable document Download PDF

Info

Publication number
CN107730707B
CN107730707B CN201710899425.4A CN201710899425A CN107730707B CN 107730707 B CN107730707 B CN 107730707B CN 201710899425 A CN201710899425 A CN 201710899425A CN 107730707 B CN107730707 B CN 107730707B
Authority
CN
China
Prior art keywords
gray level
valuable document
occurrence matrixes
moment
angular
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710899425.4A
Other languages
Chinese (zh)
Other versions
CN107730707A (en
Inventor
陈胜斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Original Assignee
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Yihua Computer Co Ltd, Shenzhen Yihua Time Technology Co Ltd, Shenzhen Yihua Financial Intelligent Research Institute filed Critical Shenzhen Yihua Computer Co Ltd
Priority to CN201710899425.4A priority Critical patent/CN107730707B/en
Publication of CN107730707A publication Critical patent/CN107730707A/en
Application granted granted Critical
Publication of CN107730707B publication Critical patent/CN107730707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing 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/20Testing patterns thereon
    • G07D7/2016Testing patterns thereon using feature extraction, e.g. segmentation, edge detection or Hough-transformation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Image Processing (AREA)

Abstract

The present invention is suitable for the authentication detection technology field of valuable document, provides a kind of false distinguishing method and device of valuable document.This method comprises: acquiring valuable document with the imaging sensor of predetermined resolution, the image containing moire fringes is obtained;Obtain the angular second moment of the first gray level co-occurrence matrixes of the image containing moire fringes;Obtain the angular second moment of the original image of valuable document and the second gray level co-occurrence matrixes of original image;The angular second moment of angular second moment and the second gray level co-occurrence matrixes based on the first gray level co-occurrence matrixes calculates the distinguishing value of the image containing moire fringes and original image;The distinguishing value is compared with default threshold value of distinguishing, identifies the true and false of the valuable document.The present invention is not necessarily to that the identification to the valuable document true and false can be completed by complicated operation, and easy to operate, false distinguishing is high-efficient.

Description

A kind of false distinguishing method and device of valuable document
Technical field
The invention belongs to the authentication detection technology field of valuable document more particularly to the false distinguishing methods and dress of a kind of valuable document It sets.
Background technique
Valuable document includes banknote, certificate, magnetic card, bill etc..
The false distinguishing method of existing valuable document is mostly the original infrared image by obtaining valuable document, and passes through one The purpose of false distinguishing is realized in the processing of series, wherein the pre-treatment step to infrared image just includes at least: using Gaussian smoothing skill Art to the infrared image carry out picture smooth treatment, and using partial differential equation image-recovery technique to infrared image into Row recovery processing, pretreated calculating step is with regard to more.Therefore, the false distinguishing method of existing this valuable document exists as follows Problem: processing step is more, false distinguishing low efficiency.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of false distinguishing method and device of valuable document, to solve existing skill The problem of that there are processing steps is more for the false distinguishing method of valuable document in art, false distinguishing low efficiency.
The first aspect of the embodiment of the present invention provides a kind of false distinguishing method of valuable document, comprising:
Valuable document is acquired with the imaging sensor of predetermined resolution, obtains the image containing moire fringes;
Obtain the angular second moment of the first gray level co-occurrence matrixes of the image containing moire fringes;
Obtain the angle second order of the original image of the valuable document and the second gray level co-occurrence matrixes of the original image Square;
The angular second moment of angular second moment and the second gray level co-occurrence matrixes based on first gray level co-occurrence matrixes calculates institute State the distinguishing value of moire fringes region and original image;
The distinguishing value is compared with default threshold value of distinguishing, identifies the true and false of the valuable document.
The second aspect of the embodiment of the present invention provides a kind of false-identifying device of valuable document, comprising:
Acquisition module obtains the figure containing moire fringes for acquiring valuable document with the imaging sensor of predetermined resolution Picture;
First obtains module, for obtaining the first gray scale symbiosis for having moire fringes region in the image information of moire fringes The angular second moment of matrix;
Second obtains module, the angle second order of the second gray level co-occurrence matrixes for obtaining the valuable document original image Square;
Third obtains module, for angular second moment and the second gray level co-occurrence matrixes based on first gray level co-occurrence matrixes Angular second moment calculate the distinguishing value in the moire fringes region and original image;
Judgment module, for identifying the true and false of the valuable document.
The third aspect of the embodiment of the present invention provides a kind of false-identifying device of valuable document, including memory, processor And store the computer program that can be run in the memory and on the processor, which is characterized in that the processing Device performs the steps of when executing the computer program
Valuable document is acquired with the imaging sensor of predetermined resolution, obtains the image containing moire fringes;
Obtain the angular second moment of the first gray level co-occurrence matrixes of the image containing moire fringes;
Obtain the angle second order of the original image of the valuable document and the second gray level co-occurrence matrixes of the original image Square;
The angular second moment of angular second moment and the second gray level co-occurrence matrixes based on first gray level co-occurrence matrixes calculates institute State the distinguishing value of moire fringes region and original image;
The distinguishing value is compared with default threshold value of distinguishing, identifies the true and false of the valuable document.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, which is characterized in that the computer program performs the steps of when being executed by processor
Valuable document is acquired with the imaging sensor of predetermined resolution, obtains the image containing moire fringes;
Obtain the angular second moment of the first gray level co-occurrence matrixes of the image containing moire fringes;
Obtain the angle second order of the original image of the valuable document and the second gray level co-occurrence matrixes of the original image Square;
The angular second moment of angular second moment and the second gray level co-occurrence matrixes based on first gray level co-occurrence matrixes calculates institute State the distinguishing value of moire fringes region and original image;
The distinguishing value is compared with default threshold value of distinguishing, identifies the true and false of the valuable document.
The embodiment of the present invention is obtained by acquiring valuable document with the imaging sensor of predetermined resolution containing moire fringes Image;The angular second moment and second of the first gray level co-occurrence matrixes of the image containing moire fringes and original image is obtained respectively The angular second moment of gray level co-occurrence matrixes, and calculate the distinguishing value in the moire fringes region and original image, by the distinguishing value with Default threshold value of distinguishing is compared, and identifies the true and false of the valuable document, without that can complete by complicated operation to having The identification of the value document true and false, easy to operate, false distinguishing is high-efficient.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram of the false distinguishing method for the valuable document that the embodiment of the present invention one provides;
Fig. 2 is the partial schematic diagram of the original image of bank note in the embodiment of the present invention;
Fig. 3 is the partial schematic diagram for the image that bank note has moire fringes in the embodiment of the present invention;
Fig. 4 is a kind of specific implementation flow schematic diagram of step S102 of the embodiment of the present invention;
Fig. 5 is the implementation process schematic diagram of the false distinguishing method of valuable document provided by Embodiment 2 of the present invention;
Fig. 6 is the structural block diagram of the false-identifying device for the valuable document that the embodiment of the present invention three provides;
Fig. 7 is the schematic diagram of the false-identifying device for the valuable document that the embodiment of the present invention four provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one
Fig. 1 shows the implementation process schematic diagram of the false distinguishing method of the valuable document of the offer of the embodiment of the present invention one.Such as Fig. 1 Shown, the false distinguishing method of the valuable document specifically comprises the following steps S101 to step S105.
Step S101: valuable document is acquired with the imaging sensor of predetermined resolution, obtains the image containing moire fringes.
Specifically, the difference of the resolution ratio of the original image of the predetermined resolution and the valuable document is less than predetermined Value.In order to keep the resolution ratio of the original image of the predetermined resolution and the valuable document close, predetermined value can be chosen It is sufficiently small.Particularly, for the false distinguishing of bank note, banknote image is acquired using the cmos sensor of 200dpi resolution ratio, because of paper The resolution ratio of resolution ratio and cmos sensor on coin image is close, and banknote image would generally show moire fringes.Fig. 2 and Fig. 3 Respectively illustrate the image of the partial schematic diagram of the original image of bank note and bank note with moire fringes in the embodiment of the present invention Partial schematic diagram;Therefore, acquiring the moire fringes occurred on image can just prove that the texture of banknote image printing meets original The textural characteristics of beginning;Moire fringes are detected, the authenticity of print characteristics on valuable document can be just verified.
Step S102: the angular second moment of the first gray level co-occurrence matrixes of the image containing moire fringes is obtained.
Optionally, step S102 includes:
Step S201: the first gray level co-occurrence matrixes of the image containing moire fringes is obtained
Step S202: being normalized first gray level co-occurrence matrixes, and total based on the first gray scale after normalization The angular second moment of the first gray level co-occurrence matrixes is calculated in raw matrix.
Step S103: the original image of the valuable document and the second gray scale symbiosis square of the original image are obtained The angular second moment of battle array.
Step S104: the angle second order of angular second moment and the second gray level co-occurrence matrixes based on first gray level co-occurrence matrixes Square calculates the distinguishing value in the moire fringes region and original image.
Step S105: the distinguishing value is compared with default threshold value of distinguishing, identifies the true and false of the valuable document.
Optionally, if the distinguishing value is less than the default differentiation threshold value, identify that the valuable document is counterfeit;If The distinguishing value is more than or equal to the default differentiation threshold value, then identifies that the valuable document is genuine piece.
Optionally, if there is deviation in the placement orientation and pre-configured orientation of the valuable document, the valuable document is carried out Geometric correction.
It the basic geometric operation such as extracts for rotation to be no longer described herein, directly against the banknote image after extracted Region with moire fringes feature is illustrated.
Gray level co-occurrence matrixes are the matrix functions of pixel distance and angle, it is by certain distance in calculating image and centainly Correlation between the two o'clock gray scale in direction, integrated information of the Lai Fanying image on direction, interval, amplitude of variation and speed.
It takes any point (x, y) in image (N × N) and deviates its another point (x+a, y+b), if the gray value of the point pair For (g1, g2).It enables point (x, y) move on entire picture, then can obtain various (g1, g2) values, if the series of gray value is k, The then square kind of the shared k of the combination of (g1, g2).For entire picture, the number of each (g1, g2) value appearance is counted, so After be arranged in a square matrix, then they are normalized to the probability P (g1, g2) occurred by the total degree occurred with (g1, g2), in this way Square matrix be known as gray level co-occurrence matrixes.Different combinations of values, the connection under available different situations are taken apart from difference value (a, b) Close probability matrix.(a, b) value can be selected according to the characteristic that Texture-period is distributed, for thinner texture, choose (1, 0), the small difference value such as (1,1), (2,0).
Work as a=1, when b=0, pixel is to being horizontal, i.e., 0 degree scanning;Work as a=0, when b=1, pixel to be it is vertical, I.e. 90 degree scannings;Work as a=1, when b=1, pixel to be it is right cornerwise, i.e., 45 degree scan;Work as a=-1, when b=1, pixel pair It is left diagonal line, i.e., 135 degree scannings.In this way, two simultaneous probability of pixel grayscale, just by the space coordinate of (x, y) It is converted into the description of " gray scale to " (g1, g2), forms gray level co-occurrence matrixes.
Angular second moment ASM=sum (p (i, j) .^2), wherein gray level co-occurrence matrixes after p (i, j) aim one.Angular second moment It is that image grayscale is evenly distributed a measurement of degree and texture thickness, when image texture is more careful, intensity profile is uniform, energy Magnitude is larger, conversely, smaller.
For in above-mentioned diagram, there is the image texture of moire fringes in diagonal distribution, normal picture texture is in finer and closely woven water Divide cloth equally.
Therefore the statistics of gray level co-occurrence matrixes is carried out respectively (according to having to the above-mentioned image containing moire fringes and original image The characteristics of image of moire fringes selects 135 degree of scannings), and calculate respective angular second moment.
Therefore based on the angular second moment of first gray level co-occurrence matrixes and the angular second moment of the second gray level co-occurrence matrixes The absolute value for calculating the difference of the two, obtains the distinguishing value in the moire fringes region and original image;By the distinguishing value and preset It distinguishes threshold value to be compared, optionally, if the distinguishing value is less than the default differentiation threshold value, identifies that the valuable document is Counterfeit;If the distinguishing value is more than or equal to the default differentiation threshold value, identify that the valuable document is genuine piece.
In valuable document false distinguishing field, because true valuable document can be stable, there are rule textures, pass through predetermined point The cmos sensor of resolution acquires the moire fringes feature of available fixation, but the valuable document forged, relevant range due to Difference in printing technology generally can not obtain same textural characteristics, to will not have moire fringes same as true file.Cause This, the gray level co-occurrence matrixes by calculating image determine its moire fringes feature, can identify the true and false of valuable document.
The embodiment of the present invention is obtained by acquiring valuable document with the imaging sensor of predetermined resolution containing moire fringes Image;The angular second moment and second of the first gray level co-occurrence matrixes of the image containing moire fringes and original image is obtained respectively The angular second moment of gray level co-occurrence matrixes, and calculate the distinguishing value in the moire fringes region and original image, by the distinguishing value with Default threshold value of distinguishing is compared, and identifies the true and false of the valuable document, without that can complete by complicated operation to having The identification of the value document true and false, easy to operate, false distinguishing is high-efficient.
Embodiment two
Fig. 5 shows the implementation process schematic diagram of the false distinguishing method of valuable document provided by Embodiment 2 of the present invention.In reality On the basis of applying example one, as shown in figure 5, further including following steps S301 and step S302.
Step S301: the third ash that sample has the image of moire fringes and the sample not to have the image of moire fringes is calculated separately Spend the angular second moment of co-occurrence matrix and the angular second moment of the 4th gray level co-occurrence matrixes.
Step S302: the angular second moment of angular second moment and the 4th gray level co-occurrence matrixes based on institute's third gray level co-occurrence matrixes Obtain the default differentiation threshold value.
Similarly, calculating sample according to the method described above has the image of moire fringes and the sample not to have the image of moire fringes The angular second moment of the angular second moment of third gray level co-occurrence matrixes and the 4th gray level co-occurrence matrixes is based on institute's third gray level co-occurrence matrixes Angular second moment and the 4th gray level co-occurrence matrixes angular second moment calculate both difference absolute value, obtain distinguish threshold value, and Default differentiation threshold value when threshold value belongs to similar valuable document with the sample as monitoring is distinguished using this.
The embodiment of the present invention has the image of moire fringes and the sample not to have the image of moire fringes by calculating separately sample The angular second moment of third gray level co-occurrence matrixes and the angular second moment of the 4th gray level co-occurrence matrixes obtain preset differentiation threshold value, It is high to calculate simple and accuracy.
Embodiment three
Referring to FIG. 6, it illustrates the structural block diagrams of the false-identifying device of the valuable document of the offer of the embodiment of the present invention four.Institute The false-identifying device 40 for stating valuable document includes: acquisition module 41, and first obtains mould, and 42, second obtains module 43, and first calculates mould Block 44 and judgment module 45.Wherein, the concrete function of each module is as follows:
Acquisition module 41 is obtained for acquiring valuable document with the imaging sensor of predetermined resolution containing moire fringes Image;
First obtains module 42, total for obtaining first gray scale for having moire fringes region in the image information of moire fringes The angular second moment of raw matrix;
Second obtains module 43, the angle second order of the second gray level co-occurrence matrixes for obtaining the valuable document original image Square;
First computing module 44, for angular second moment and the second gray scale symbiosis square based on first gray level co-occurrence matrixes The angular second moment of battle array calculates the distinguishing value in the moire fringes region and original image;
Judgment module 45, for identifying the true and false of the valuable document.
Optionally, the false-identifying device 40 of valuable document further include:
Correction module, for when there is deviation in the placement orientation and pre-configured orientation of the valuable document, then to described valuable File carries out geometric correction.
Optionally, the false-identifying device 40 of valuable document further include:
Second computing module has the image of moire fringes and the sample not to have the image of moire fringes for calculating separately sample Third gray level co-occurrence matrixes angular second moment and the 4th gray level co-occurrence matrixes angular second moment;
Third computing module, for angular second moment and the 4th gray level co-occurrence matrixes based on institute's third gray level co-occurrence matrixes Angular second moment obtains the default differentiation threshold value.
Optionally, the first acquisition module 42 includes:
Acquiring unit, for obtaining the first gray scale symbiosis square for having moire fringes region in the image information of moire fringes Battle array;
Computing unit, for first gray level co-occurrence matrixes to be normalized, and based on the first ash after normalization The angular second moment of the first gray level co-occurrence matrixes is calculated in degree co-occurrence matrix.
The false-identifying device of valuable document provided in an embodiment of the present invention passes through the imaging sensor acquisition with predetermined resolution Valuable document obtains the image containing moire fringes;The first ash of the image containing moire fringes and original image is obtained respectively The angular second moment of co-occurrence matrix and the angular second moment of the second gray level co-occurrence matrixes are spent, and calculates the moire fringes region and original graph The distinguishing value is compared with default threshold value of distinguishing, the true and false of the valuable document is identified, without relying on by the distinguishing value of picture Complicated operation can complete the identification to the valuable document true and false, and easy to operate, false distinguishing is high-efficient.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Although it is each to will be further understood that term " first ", " second " etc. are used to describe in the text in some embodiments Kind element, but these elements should not be limited by these terms.These terms be used only to by an element with it is another Element distinguishes.For example, the first acquisition module can be named as the second acquisition module, and similarly, second obtains module It can be named as the first acquisition module, without departing from the range of various described embodiments.First obtains module and second Obtaining module all is to obtain module, but they are not same acquisition modules.
Example IV
Fig. 7 is the schematic diagram of the false-identifying device for the valuable document that five embodiments of the invention provide.As shown in fig. 7, the implementation The false-identifying device 5 of the valuable document of example includes: processor 50, memory 51 and is stored in the memory 51 and can be in institute State the computer program 52 run on processor 50, such as the false distinguishing method program of valuable document.The processor 50 executes institute The step in the false distinguishing embodiment of the method for above-mentioned each valuable document, such as step shown in FIG. 1 are realized when stating computer program 52 Rapid S101 to S103.Alternatively, the processor 50 is realized in above-mentioned each Installation practice respectively when executing the computer program 52 The function of unit, such as the function of module 41 to 45 shown in Fig. 4.
Illustratively, the computer program 52 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 51, and are executed by the processor 50, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 52 in the false-identifying device 5 of the valuable document is described.For example, the computer program 52 can be divided into acquisition module, and first obtains module, and first obtains module, the first computing module and judgment module, each mould The concrete function of block is as follows:
Acquisition module obtains the figure containing moire fringes for acquiring valuable document with the imaging sensor of predetermined resolution Picture;
First obtains module, for obtaining the first gray scale symbiosis for having moire fringes region in the image information of moire fringes The angular second moment of matrix;
Second obtains module, the angle second order of the second gray level co-occurrence matrixes for obtaining the valuable document original image Square;
First computing module, for angular second moment and the second gray level co-occurrence matrixes based on first gray level co-occurrence matrixes Angular second moment calculate the distinguishing value in the moire fringes region and original image;
Judgment module, for identifying the true and false of the valuable document.
The false-identifying device 5 of the valuable document can be desktop PC, notebook, palm PC and cloud server Deng calculating equipment.The false-identifying device of the valuable document may include, but be not limited only to, processor 50, memory 51.This field skill Art personnel are appreciated that Fig. 5 is only the example of the false-identifying device of valuable document, do not constitute the false-identifying device to valuable document Restriction, may include perhaps combining certain components or different components, such as institute than illustrating more or fewer components The false-identifying device for stating valuable document can also include input-output equipment, network access equipment, bus etc..
Alleged processor 50 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 51 can be the internal storage unit of the false-identifying device 5 of the valuable document, such as valuable document False-identifying device 5 hard disk or memory.The memory 51 is also possible to the external storage of the false-identifying device 5 of the valuable document The plug-in type hard disk being equipped in equipment, such as the false-identifying device 5 of the valuable document, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, described to deposit Reservoir 51 can also both including the valuable document false-identifying device 5 internal storage unit and also including External memory equipment.Institute Memory 51 is stated for storing other program sum numbers needed for the false-identifying device of the computer program and the valuable document According to.The memory 51 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of false distinguishing method of valuable document characterized by comprising
Valuable document is acquired with the imaging sensor of predetermined resolution, obtains the image containing moire fringes;
Obtain the angular second moment of the first gray level co-occurrence matrixes of the image containing moire fringes;
Obtain the angular second moment of the original image of the valuable document and the second gray level co-occurrence matrixes of the original image;
The angular second moment of angular second moment and the second gray level co-occurrence matrixes based on first gray level co-occurrence matrixes contains described in calculating There are the image of moire fringes and the distinguishing value of original image;
The distinguishing value is compared with default threshold value of distinguishing, identifies the true and false of the valuable document.
2. the false distinguishing method of valuable document as described in claim 1, which is characterized in that the predetermined resolution with it is described valuable The difference of the resolution ratio of the original image of file is less than predetermined value.
3. the false distinguishing method of valuable document as described in claim 1, which is characterized in that the image with predetermined resolution passes Sensor acquires valuable document, before obtaining the image containing moire fringes, further includes:
If there is deviation in the placement orientation and pre-configured orientation of the valuable document, geometric correction is carried out to the valuable document.
4. the false distinguishing method of valuable document as described in claim 1, which is characterized in that further include:
Calculate separately the angular second moment of the third gray level co-occurrence matrixes of the sample of the image containing moire fringes and without containing moire fringes Image sample the 4th gray level co-occurrence matrixes angular second moment;
The angular second moment of angular second moment and the 4th gray level co-occurrence matrixes based on the third gray level co-occurrence matrixes obtains described pre- If distinguishing threshold value.
5. the false distinguishing method of valuable document as described in claim 1, which is characterized in that obtain the image containing moire fringes The angular second moments of the first gray level co-occurrence matrixes include:
Obtain the first gray level co-occurrence matrixes of the image containing moire fringes;
First gray level co-occurrence matrixes are normalized, and are calculated based on the first gray level co-occurrence matrixes after normalization The angular second moment of first gray level co-occurrence matrixes.
6. a kind of false-identifying device of valuable document characterized by comprising
Acquisition module obtains the image containing moire fringes for acquiring valuable document with the imaging sensor of predetermined resolution;
First obtains module, for obtaining first gray level co-occurrence matrixes in moire fringes region in the image containing moire fringes Angular second moment;
Second obtains module, the angular second moment of the second gray level co-occurrence matrixes for obtaining the valuable document original image;
First computing module, the angle for angular second moment and the second gray level co-occurrence matrixes based on first gray level co-occurrence matrixes Second moment calculates the distinguishing value in the moire fringes region and original image;
Judgment module identifies the true and false of the valuable document for the distinguishing value to be compared with default threshold value of distinguishing.
7. the false-identifying device of valuable document as claimed in claim 6, which is characterized in that further include:
Second computing module has the image of moire fringes and the sample not to have the of the image of moire fringes for calculating separately sample The angular second moment of the angular second moment of three gray level co-occurrence matrixes and the 4th gray level co-occurrence matrixes;
Third computing module, the angle for angular second moment and the 4th gray level co-occurrence matrixes based on the third gray level co-occurrence matrixes Second moment obtains the default differentiation threshold value.
8. the false-identifying device of valuable document as claimed in claim 6, which is characterized in that described first, which obtains module, includes:
Acquiring unit, for obtaining first gray level co-occurrence matrixes in moire fringes region in the image containing moire fringes;
Computing unit, for first gray level co-occurrence matrixes to be normalized, and it is total based on the first gray scale after normalization The angular second moment of the first gray level co-occurrence matrixes is calculated in raw matrix.
9. a kind of false-identifying device of valuable document, including memory, processor and storage are in the memory and can be in institute State the computer program run on processor, which is characterized in that the processor is realized when executing the computer program as weighed Benefit requires the step of any one of 1 to 5 the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
CN201710899425.4A 2017-09-28 2017-09-28 A kind of false distinguishing method and device of valuable document Active CN107730707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710899425.4A CN107730707B (en) 2017-09-28 2017-09-28 A kind of false distinguishing method and device of valuable document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710899425.4A CN107730707B (en) 2017-09-28 2017-09-28 A kind of false distinguishing method and device of valuable document

Publications (2)

Publication Number Publication Date
CN107730707A CN107730707A (en) 2018-02-23
CN107730707B true CN107730707B (en) 2019-11-15

Family

ID=61208408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710899425.4A Active CN107730707B (en) 2017-09-28 2017-09-28 A kind of false distinguishing method and device of valuable document

Country Status (1)

Country Link
CN (1) CN107730707B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2745032C1 (en) * 2020-07-13 2021-03-18 Общество С Ограниченной Ответственностью "Конструкторское Бюро "Дорс" (Ооо "Кб "Дорс") Method of additional authentication of valuable document

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108573477A (en) * 2018-03-14 2018-09-25 深圳怡化电脑股份有限公司 Eliminate method, system and the terminal device of image moire fringes
CN112183574B (en) * 2020-08-21 2024-05-28 深圳市银之杰科技股份有限公司 File authentication and fake comparison method and device, terminal and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8244012B2 (en) * 2007-02-05 2012-08-14 Siemens Medical Solutions Usa, Inc. Computer aided detection of pulmonary embolism with local characteristic features in CT angiography
CN103761799B (en) * 2014-01-13 2016-03-30 李晓妮 A kind of bill anti-counterfeit method based on texture image feature and device
CN104715240A (en) * 2015-03-25 2015-06-17 华中科技大学 Hong Kong dollar texture image version classifying method based on gray-level co-occurrence matrix
CN105701512A (en) * 2016-01-14 2016-06-22 西安电子科技大学 Image classification method based on BBO-MLP and texture characteristic
CN106530484B (en) * 2016-11-17 2019-11-01 深圳怡化电脑股份有限公司 A kind of method and device of paper money discrimination

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2745032C1 (en) * 2020-07-13 2021-03-18 Общество С Ограниченной Ответственностью "Конструкторское Бюро "Дорс" (Ооо "Кб "Дорс") Method of additional authentication of valuable document

Also Published As

Publication number Publication date
CN107730707A (en) 2018-02-23

Similar Documents

Publication Publication Date Title
CN107730707B (en) A kind of false distinguishing method and device of valuable document
CN104867225B (en) A kind of bank note towards recognition methods and device
TW202111498A (en) Fingerprint recognition method, chip and electronic device
CN107492091A (en) Label look detection method and terminal device based on machine vision
CN107393118B (en) A kind of recognition methods of bank note, device, terminal device and computer storage medium
CN107767541B (en) A kind of recognition methods of bank note, device, terminal device and storage medium
CN104992496A (en) Paper money face identification method and apparatus
CN107038794B (en) Method, device and equipment for identifying authenticity of paper money and storage medium
CN107331026A (en) A kind of Paper Currency Identification and device
Ballado et al. Philippine currency paper bill counterfeit detection through image processing using Canny Edge Technology
CN108737815A (en) A kind of quality determining method and system of imaging sensor
CN107610316B (en) Method and device for detecting defect of paper money and terminal equipment
CN108062820B (en) A kind of paper currency detecting method, note detection device and electronic equipment
CN107610322A (en) Recognition methods, device, electronic equipment and the storage medium of bank note version
CN107578526B (en) Banknote identification method and device, terminal equipment and readable storage medium
CN104282027A (en) Circle detecting method based on Hough transformation
US20210264182A1 (en) Method and apparatus for detecting liveness based on phase difference
CN112132812A (en) Certificate checking method and device, electronic equipment and medium
CN110473333A (en) Detection method, detection device and the terminal of note number
EP3958170A1 (en) Method and apparatus with liveness detection
CN107742359A (en) A kind of Paper Currency Identification, device, terminal device and readable storage medium storing program for executing
CN107705414B (en) A kind of recognition methods of bank note, device, terminal device and storage medium
CN109800745A (en) Bill detection method, device, terminal and computer readable storage medium
CN108960246A (en) A kind of binary conversion treatment device and method for image recognition
CN107358717B (en) A kind of Paper Currency Identification, system and its terminal device

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