WO2020093732A1 - Method and device for authenticating paper product, and storage medium - Google Patents

Method and device for authenticating paper product, and storage medium Download PDF

Info

Publication number
WO2020093732A1
WO2020093732A1 PCT/CN2019/097377 CN2019097377W WO2020093732A1 WO 2020093732 A1 WO2020093732 A1 WO 2020093732A1 CN 2019097377 W CN2019097377 W CN 2019097377W WO 2020093732 A1 WO2020093732 A1 WO 2020093732A1
Authority
WO
WIPO (PCT)
Prior art keywords
dielectric characteristic
grayscale image
area
paper product
image
Prior art date
Application number
PCT/CN2019/097377
Other languages
French (fr)
Chinese (zh)
Inventor
戚务昌
林永辉
曲涛
张凯
宋荣鑫
Original Assignee
威海华菱光电股份有限公司
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 威海华菱光电股份有限公司 filed Critical 威海华菱光电股份有限公司
Publication of WO2020093732A1 publication Critical patent/WO2020093732A1/en

Links

Images

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/2008Testing patterns thereon using pre-processing, e.g. de-blurring, averaging, normalisation or rotation

Definitions

  • the invention relates to the field of paper currency authentication, and in particular to a paper product identification method and device and a storage medium.
  • the method that can be adopted is to compare the dielectric characteristic signal of the banknote to be authenticated with the dielectric characteristic signal of the authentic banknote, thereby obtaining the authenticity of the banknote to be authenticated.
  • the existing technology is limited by the sensitivity and resolution of the dielectric characteristic sensor, and only a rough comparison of the dielectric characteristic signals is performed. Many details on the banknotes are not detected, so the accuracy and accuracy are generally not high.
  • Embodiments of the present invention provide a paper product identification method and device, and a storage medium, so as to at least solve the technical problems of low accuracy and low precision in identifying paper currency in the related art.
  • a paper product identification method including: acquiring a first dielectric characteristic gray image of a target paper product to be identified and a second dielectric characteristic gray of a sample paper product Image, where the sample paper product is a verified paper product; the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image are compared to obtain a comparison result, wherein, the above ratio The comparison result is used to indicate the authenticity of the target paper product; according to the comparison result, identification information matching the target paper product is presented.
  • a paper product identification device including: a dielectric characteristic sensor, configured to collect a first dielectric characteristic signal of a target paper product to be identified, and also used to collect The second dielectric characteristic signal of the sample paper product, wherein the sample paper product is a paper product that has been verified; the image generation module is connected to the dielectric property sensor and is used for collecting the dielectric property sensor The first dielectric characteristic signal of the target paper product performs analog-to-digital conversion to obtain a first dielectric characteristic grayscale image, and is also used for the second dielectric of the sample paper product collected by the dielectric characteristic sensor The characteristic signal performs analog-to-digital conversion to obtain a second dielectric characteristic gray-scale image; an image processor is connected to the above-mentioned image generation module and is used for the first dielectric characteristic gray-scale image and the second dielectric characteristic gray-scale image Perform comparison processing; a prompter, connected to the image processor, is used to prompt the authenticity of the target paper product according to the comparison
  • a storage medium in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned paper product identification method when running.
  • a first dielectric characteristic gray image of the target paper product to be identified and a second dielectric characteristic gray image of the sample paper product are obtained, wherein the sample paper product is verified Paper products; comparing the first dielectric characteristic grayscale image with the second dielectric characteristic grayscale image to obtain a comparison result, and presenting identification information matching the target paper product based on the comparison result method.
  • the accuracy and the accuracy of identifying the paper product to be authenticated are improved. The accuracy, in turn, solves the technical problems of low accuracy and low accuracy in identifying banknotes in the related art.
  • FIG. 1 is a schematic flowchart of an optional paper product identification method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an optional paper product identification method according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of another optional paper product identification method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of another optional paper product identification method according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of another optional paper product identification method according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an optional dielectric characteristic sensor according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of an optional paper product identification device according to an embodiment of the present invention.
  • a paper product identification method is provided.
  • the above paper product identification method includes:
  • S102 Obtain a first dielectric characteristic gray image of the target paper product to be identified and a second dielectric characteristic gray image of the sample paper product, where the sample paper product is a paper product that has been verified;
  • the above paper product identification method can be applied to, but not limited to, a banknote detector, an integrated deposit and withdrawal machine, or any other terminal that can obtain the dielectric properties of the paper product to be identified.
  • a banknote detector an integrated deposit and withdrawal machine
  • any other terminal that can obtain the dielectric properties of the paper product to be identified.
  • it is installed on a wristwatch equipped with a dielectric property detection device or a handheld device equipped with a dielectric property detection device.
  • the above paper product identification method may be, but not limited to, applied to the process of identifying paper money or the process of identifying bills.
  • the above target paper products may be, but not limited to, currency notes issued in any country or region, or invoices, bonds, receipts, etc.
  • the dielectric characteristic signal of the banknote to be authenticated is usually collected, and the dielectric characteristic signal of the real banknote is obtained, and the The characteristic signal, so as to obtain the authenticity of the banknote to be authenticated.
  • the above method usually obtains rough dielectric characteristic signals of banknotes for comparison, that is, the entire banknote can only take a few channels of dielectric characteristic signals, and no image can be generated, resulting in low accuracy and precision in the process of identifying banknotes.
  • the gray image can be directly compared By comparing, the accuracy and precision of the identification of banknotes are improved.
  • the stored second dielectric characteristic grayscale image can be obtained without repetition Access.
  • the first dielectric characteristic signal is obtained, and after the first dielectric characteristic signal is obtained, the image generation module The first dielectric characteristic signal is converted into a first dielectric characteristic grayscale image. And a pulsed voltage is applied to the sample paper product by the rod-shaped electrode to obtain the second dielectric characteristic signal. After the second dielectric characteristic signal is obtained, the image generation module converts the obtained second dielectric characteristic signal into the first Two grayscale images with dielectric properties.
  • analog-to-digital conversion may be performed on the first dielectric characteristic signal to obtain a first original dielectric characteristic grayscale image, and Performing noise reduction processing on the first original dielectric characteristic gray image to obtain a first dielectric characteristic gray image, and performing analog-to-digital conversion on the second dielectric characteristic signal to obtain a second original dielectric characteristic gray image, and Noise reduction processing is performed on the second original dielectric characteristic grayscale image to obtain a second dielectric characteristic grayscale image.
  • the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image after acquiring the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image, before comparing the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image, it may be It is not limited to performing binary processing on the first dielectric characteristic grayscale image to obtain a first target dielectric characteristic grayscale image and performing binary processing on the second dielectric characteristic grayscale image to obtain a second target dielectric characteristic
  • the grayscale image is compared with the first target dielectric characteristic grayscale image and the second target dielectric characteristic grayscale image to obtain a comparison result.
  • the grayscale value of the first region of the first dielectric characteristic grayscale image may be but not limited to The gray value of the second region of the second dielectric characteristic gray image, thereby obtaining the comparison result.
  • the area of the first area in the first grayscale image of dielectric characteristics corresponds to the area of the second area in the grayscale image of dielectric characteristics.
  • prompting the identification information matching the target paper product according to the comparison result it may be, but is not limited to, prompting by any one or more of sound, image, text, and the like. For example, a beep sound is issued: “This is true”, or the message "This is true” is displayed.
  • prompt authentication information may be, but not limited to, transmitting a signal carrying authentication information, so that other devices may process the target paper product according to the authentication information in the signal.
  • the gray image can be directly The comparison improves the accuracy and accuracy of the identification of banknotes.
  • obtaining the first grayscale image of the dielectric properties of the target paper product to be identified and the second grayscale image of the dielectric properties of the sample paper product include:
  • S1 Obtain the first dielectric characteristic signal of the target paper product, perform analog-to-digital conversion on the first dielectric characteristic signal, and obtain a first dielectric characteristic grayscale image;
  • a pulse voltage is applied to the target paper product through the dielectric property sensor, and the first dielectric property signal of the target paper product is acquired at the output interface, and the first dielectric property signal and the pre-stored second dielectric The characteristic signals are compared to obtain a comparison result, which indicates the authenticity of the target paper product.
  • FIG. 2 includes an optional first / second dielectric characteristic gray image 202
  • the gray image 202 includes an area 204-1, an area 204-2, and an area 204-3
  • the size of each area can be different, and each area corresponds to a gray value, which can be the same or different.
  • Each area may be, but not limited to, one pixel, or may be, but not limited to, a combination of multiple pixels.
  • the gray value is the average value of the gray values of the pixels in the area.
  • the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image are obtained by analog-to-digital conversion, so that the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image can be directly compared Characteristic gray-scale image, which improves the accuracy and accuracy of identifying the target paper product.
  • Obtaining the first dielectric characteristic signal of the target paper product, performing analog-to-digital conversion on the first dielectric characteristic signal to obtain the first dielectric characteristic grayscale image includes: S1, acquiring the first dielectric characteristic signal of the target paper product Performing analog-to-digital conversion on the first dielectric characteristic signal to obtain a first original dielectric characteristic grayscale image; performing noise reduction processing on the first original dielectric characteristic grayscale image to obtain a first dielectric characteristic grayscale image;
  • Obtaining the second dielectric characteristic signal of the sample paper product, performing analog-to-digital conversion on the second dielectric characteristic signal to obtain the second dielectric characteristic grayscale image includes: S1, acquiring the second dielectric characteristic signal of the target paper product Performing analog-to-digital conversion on the second dielectric characteristic signal to obtain a second original dielectric characteristic grayscale image; performing noise reduction processing on the second original dielectric characteristic grayscale image to obtain a second dielectric characteristic grayscale image.
  • the first dielectric characteristic signal of the banknote to be authenticated is obtained
  • the second dielectric characteristic signal of the sample banknote is obtained
  • the analog-to-digital conversion is performed on the first dielectric characteristic signal to obtain
  • the first original dielectric characteristic grayscale image performs analog-to-digital conversion on the second dielectric characteristic signal to obtain a second original dielectric characteristic grayscale image. Since there may be errors in the comparison between the first original dielectric characteristic grayscale image and the second original dielectric characteristic grayscale image, it is necessary to perform the first original dielectric characteristic grayscale image and the second original dielectric characteristic grayscale image Noise reduction processing to compare the results after noise reduction to improve the accuracy of the comparison process.
  • the first original dielectric characteristic grayscale image is subjected to noise reduction processing to obtain a first dielectric characteristic grayscale image and the second original dielectric characteristic grayscale image is subjected to noise reduction processing to obtain a second dielectric Characteristic gray-scale image, which improves the accuracy and accuracy of identifying the target paper product.
  • comparing the first dielectric characteristic grayscale image with the second dielectric characteristic grayscale image, and obtaining the comparison result includes:
  • the above-mentioned first dielectric characteristic grayscale image is binarized to obtain a first target dielectric characteristic grayscale image and the second dielectric characteristic grayscale image is binarized to obtain a second target
  • the grayscale image of the dielectric characteristic may be, but not limited to, a threshold, and the above threshold may be, but not limited to, any positive number.
  • a threshold value of 130 is set.
  • the area with a gray value less than 130 is set to a gray value of 0, and the area with a gray value greater than 130 is set to The gray value is 255, so as to realize the binarization process of the first dielectric characteristic gray image.
  • FIG. 3 is a schematic diagram of an optional binary image of the first / two dielectric characteristic grayscale image.
  • the first target characteristic grayscale image is obtained by binarizing the first dielectric characteristic grayscale image; the second dielectric characteristic grayscale image is subjected to binarization processing to obtain the second
  • the target dielectric characteristic grayscale image can be compared with the first target dielectric characteristic grayscale image and the second target dielectric characteristic grayscale image, thereby improving the identification accuracy and accuracy of the target paper product.
  • comparing the first dielectric characteristic grayscale image with the second dielectric characteristic grayscale image, and obtaining the comparison result includes:
  • the above-mentioned first area may be, but not limited to, one pixel or a plurality of pixels in the first dielectric characteristic grayscale image, and the above-mentioned first area may but not limited to include one area or multiple areas.
  • the above-mentioned second area may be, but not limited to, one pixel or a plurality of pixels in the second dielectric characteristic grayscale image.
  • the above-mentioned second area may, but not limited to, include one area or multiple areas. For example, taking the above-mentioned first region as a plurality of regions in the first dielectric characteristic grayscale image and the second region as a plurality of regions in the second dielectric characteristic grayscale image, as shown in FIG. 4.
  • FIG. 4 is a schematic diagram of a grayscale image of the first dielectric characteristic of an optional 100-yuan banknote.
  • 4 includes a first area 402, and the first area 402 includes 402-1, 402-2, and 402-3.
  • 402-1 is a portrait watermark area
  • 402-2 is an optically variable ink 100 character
  • 402-3 is a zebra crossing area .
  • Figure 4 also contains the 404 security line area, 406 ink printing head image area and even the white watermark area not marked in Figure 4, etc.
  • FIG. 5 is a schematic diagram of a second dielectric characteristic gray-scale image of a 50-yuan banknote.
  • FIG. 5 includes a second area 502, and the second area 502 includes 502-1 and 502-2, where 502-1 is a portrait watermark area and 502-2 is a pixel.
  • FIG. 5 also includes the zebra crossing area 504 and the ink portrait area 506 and the white watermark area not marked in FIG. 5.
  • FIGS. 4 and 5 are only examples, and do not constitute a limitation on the present application.
  • the position of the first region in the first dielectric characteristic grayscale image is the same as the position of the second region in the second dielectric characteristic grayscale image, comparing The gray value and the gray value of the second area, the comparison result includes:
  • S1 compare the gray value of the i-th pixel in the first area with the gray value of the i-th pixel in the second area, i is a positive integer less than or equal to N and greater than or equal to 1; N is the first area The total number of pixels in, and N is the total number of pixels in the second area, N is a positive integer;
  • the first pixel in the first area is compared with the first pixel in the second area in sequence, Compare the second pixel in the first area with the second pixel in the second area, and compare the third pixel in the first area with the third pixel in the second area. If the gray value of a pair of pixels is different during the comparison, the target paper product is false.
  • an error is allowed in the gray value.
  • set an error value u, u can be any positive number.
  • the absolute value of the difference between the gray value of the i-th pixel in the first area and the gray value of the i-th pixel in the second area is less than or equal to u, the i-th pixel in the first area is considered The gray value of the pixel is equal to the gray value of the ith pixel in the second area.
  • the target paper product is identified by the above method, thereby improving the accuracy and precision of the identification of the target paper product.
  • the position of the first region in the first dielectric characteristic grayscale image is the same as the position of the second region in the second dielectric characteristic grayscale image, comparing The gray value and the gray value of the second area, the comparison result includes:
  • S1 repeat the following steps until the gray values of all pixels in the first area and the gray values of all pixels in the second area are traversed: compare the gray values of the i-th pixel in the first area with the second The gray value of the i-th pixel in the area, i is a positive integer less than or equal to N and greater than or equal to 1; N is the total number of pixels in the first area, and N is the total number of pixels in the second area, and N is Positive integer; when the gray value of the i-th pixel in the first area is different from the gray value of the i-th pixel in the second area, add 1 to the parameter M, where the parameter M is used to record the first area The number of pixels whose gray value of the middle pixel is different from the gray value of the pixel in the second area, M is a positive integer greater than or equal to 0;
  • the first pixel in the first area is compared with the first pixel in the second area in sequence.
  • the second pixel in the first area and the second pixel in the second area are compared with the third pixel in the first area and the third pixel in the second area.
  • the number of pixel pairs with different gray values is greater than a preset first threshold. For example, if two pairs of pixel pairs have different gray values, and the first threshold is set to 1, the target paper product False. If a pair of pixel pairs have different gray values or all pixel pairs have the same gray value, the target paper product is true.
  • an error is allowed in the gray value.
  • set an error value u, u can be any positive number.
  • the absolute value of the difference between the gray value of the i-th pixel in the first area and the gray value of the i-th pixel in the second area is less than or equal to u, it is considered that the i-th pixel in the first area
  • the gray value of the pixel is equal to the gray value of the ith pixel in the second area.
  • the target paper product is identified by the above method, thereby improving the identification accuracy and accuracy of the target paper product.
  • the above-mentioned junction characteristic sensor is composed of the discrimination unit 602 and the rod-shaped electrode 604.
  • the discriminating unit 602 and the rod-shaped electrode 604 are relatively spaced apart in the first direction to form a transmission channel 606 (as indicated by the arrow in FIG. 6, the paper product to be authenticated can be transmitted in the direction of the arrow or against the direction of the arrow).
  • the discriminating unit 602 includes a frame 602-2.
  • a substrate 602-4 is provided in the frame 602-2, and a dielectric characteristic detection chip 602-6 arranged in a second direction is provided on the substrate 602-4.
  • the substrate 602-4 is also provided with an input and output interface circuit 602-8.
  • a protective cover 602-10 is provided above the dielectric characteristic detection chip 602-6 for protecting the dielectric characteristic detection chip 602-6.
  • dielectric characteristic sensor shown in FIG. 6 is only an optional example, and this embodiment does not limit it.
  • a paper product identification device for implementing the above paper product identification method. As shown in Figure 7, the device includes:
  • Dielectric characteristic sensor 702 used to collect the first dielectric characteristic signal of the target paper product to be identified, and also used to collect the second dielectric characteristic signal of the sample paper product, where the sample paper product is Verified paper products;
  • the image generation module 704 is connected to the dielectric characteristic sensor, and is used to perform analog-to-digital conversion on the first dielectric characteristic signal of the target paper product collected by the dielectric characteristic sensor to obtain a first dielectric characteristic grayscale image, It is also used to perform analog-to-digital conversion on the second dielectric characteristic signal of the sample paper product collected by the dielectric characteristic sensor to obtain a second dielectric characteristic grayscale image;
  • the prompter 708 is connected to the image processor, and is used for prompting the authenticity of the target paper product according to the comparison result output by the image processor.
  • the above-mentioned paper product identification device can be applied to, but not limited to, a banknote detector, an integrated deposit and withdrawal machine, or any other terminal that can obtain the dielectric properties of the paper product to be identified.
  • a banknote detector an integrated deposit and withdrawal machine
  • any other terminal that can obtain the dielectric properties of the paper product to be identified.
  • it is installed on a wristwatch equipped with a dielectric characteristic detection or a handheld device equipped with a dielectric characteristic detection.
  • the above paper product identification device may be, but not limited to, applied to the process of identifying banknotes or the process of identifying bills.
  • the above target paper products may be, but not limited to, currency notes issued in any country or region, or invoices, bonds, receipts, etc.
  • the dielectric characteristic signal of the banknote to be authenticated is usually collected, and the dielectric characteristic signal of the real banknote is obtained, and the The characteristic signal, so as to obtain the authenticity of the banknote to be authenticated.
  • the above method usually obtains rough dielectric characteristic signals of banknotes for comparison, that is, the entire banknote can only take a few channels of dielectric characteristic signals, and no image can be generated, resulting in low accuracy and precision in the process of discriminating banknotes.
  • the gray image can be directly compared By comparing, the accuracy and precision of the identification of banknotes are improved.
  • the stored second dielectric characteristic grayscale image can be obtained without repetition Access.
  • the first dielectric characteristic signal is obtained, and after the first dielectric characteristic signal is obtained, the image generation module The first dielectric characteristic signal is converted into a first dielectric characteristic grayscale image. And a pulsed voltage is applied to the sample paper product by the rod-shaped electrode to obtain the second dielectric characteristic signal. After the second dielectric characteristic signal is obtained, the image generation module converts the obtained second dielectric characteristic signal into the first Two grayscale images with dielectric properties.
  • analog-to-digital conversion may be performed on the first dielectric characteristic signal to obtain a first original dielectric characteristic grayscale image, and Performing noise reduction processing on the first original dielectric characteristic gray image to obtain a first dielectric characteristic gray image, and performing analog-to-digital conversion on the second dielectric characteristic signal to obtain a second original dielectric characteristic gray image, and Noise reduction processing is performed on the second original dielectric characteristic grayscale image to obtain a second dielectric characteristic grayscale image.
  • the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image after acquiring the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image, before comparing the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image, it may be It is not limited to performing binary processing on the first dielectric characteristic grayscale image to obtain a first target dielectric characteristic grayscale image and performing binary processing on the second dielectric characteristic grayscale image to obtain a second target dielectric characteristic
  • the grayscale image is compared with the first target dielectric characteristic grayscale image and the second target dielectric characteristic grayscale image to obtain a comparison result.
  • the grayscale value of the first region of the first dielectric characteristic grayscale image may be but not limited to The gray value of the second region of the second dielectric characteristic gray image, thereby obtaining the comparison result.
  • the area of the first area in the first grayscale image of dielectric characteristics corresponds to the area of the second area in the grayscale image of dielectric characteristics.
  • the above device may include, but is not limited to, a memory for storing the second dielectric characteristic grayscale image of the sample paper product and the first dielectric characteristic grayscale image of the target paper product.
  • the conveyor is used to transfer the target paper product to be detected to the dielectric characteristic sensor, and according to the comparison result, the target paper product identified as true and the target paper product identified as false are transported to different areas.
  • prompting the identification information matching the target paper product according to the comparison result it may be, but is not limited to, prompting by any one or more of sound, image, text, and the like. For example, a beep sound is issued: "This is true", or the message "This is true” is displayed.
  • prompting authentication information may be, but not limited to, transmitting a signal carrying authentication information, so that other devices can process the target paper product according to the authentication information in the signal.
  • the gray image can be directly The comparison improves the accuracy and accuracy of the identification of banknotes.
  • the image generation module 704 includes:
  • Analog-to-digital converter one end of which is connected to the dielectric characteristic sensor Characteristic grayscale image; also used to perform analog-to-digital conversion on the second dielectric characteristic signal of the sample paper product collected by the dielectric characteristic sensor to obtain a second original dielectric characteristic grayscale image;
  • a filter one end of which is connected to an analog-to-digital converter and the other end is connected to an image processor, which is used to perform noise reduction processing on the first original dielectric characteristic grayscale image to obtain the first dielectric characteristic grayscale image; It is used to perform noise reduction processing on the second original dielectric characteristic grayscale image to obtain a second dielectric characteristic grayscale image.
  • a pulse voltage is applied to the target paper product through the dielectric property sensor, and the first dielectric property signal of the target paper product is acquired at the output interface, and a pulse voltage is applied to the sample paper product through the dielectric property sensor , And the second dielectric characteristic signal of the sample paper product is obtained at the output interface.
  • the first dielectric characteristic signal of the banknote to be authenticated is obtained
  • the second dielectric characteristic signal of the sample banknote is obtained
  • the analog-to-digital conversion is performed on the first dielectric characteristic signal to obtain
  • the first original dielectric characteristic grayscale image performs analog-to-digital conversion on the second dielectric characteristic signal to obtain a second original dielectric characteristic grayscale image. Since there may be errors in the comparison between the first original dielectric characteristic grayscale image and the second original dielectric characteristic grayscale image, it is necessary to perform the first original dielectric characteristic grayscale image and the second original dielectric characteristic grayscale image Noise reduction processing to compare the results after noise reduction to improve the accuracy of the comparison process.
  • the first original dielectric characteristic grayscale image is subjected to noise reduction processing to obtain a first dielectric characteristic grayscale image and the second original dielectric characteristic grayscale image is subjected to noise reduction processing to obtain a second dielectric Characteristic gray-scale image, which improves the accuracy and accuracy of identifying the target paper product.
  • the image processor 706 includes:
  • An image binarization processor one end of which is connected to the image generation module.
  • the binarization processor is used to binarize the first dielectric characteristic grayscale image to obtain the first target dielectric characteristic grayscale image; Used to binarize the second dielectric characteristic grayscale image to obtain a second target dielectric characteristic grayscale image;
  • the first comparator one end of which is connected to the binarization processor and the other end of which is connected to the prompter, and is used to perform comparison processing on the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image.
  • the above-mentioned first dielectric characteristic grayscale image is binarized to obtain a first target dielectric characteristic grayscale image and the second dielectric characteristic grayscale image is binarized to obtain a second target
  • the grayscale image of the dielectric characteristic may be, but not limited to, a threshold, and the above threshold may be, but not limited to, any positive number.
  • a threshold value of 130 is set.
  • the area with a gray value less than 130 is set to a gray value of 0, and the area with a gray value greater than 130 is set to The gray value is 255, so as to realize the binarization process of the first dielectric characteristic gray image.
  • FIG. 3 is a schematic diagram of an optional binary image of the first / two dielectric characteristic grayscale image.
  • the first target characteristic grayscale image is obtained by binarizing the first dielectric characteristic grayscale image; the second dielectric characteristic grayscale image is subjected to binarization processing to obtain the second
  • the target dielectric characteristic grayscale image can be compared with the first target dielectric characteristic grayscale image and the second target dielectric characteristic grayscale image, thereby improving the identification accuracy and accuracy of the target paper product.
  • the image processor 706 includes:
  • the second comparator is used to compare the gray value of the first region of the first dielectric characteristic gray image and the second region corresponding to the first region in the second dielectric characteristic gray image Gray value, get the comparison result.
  • the above-mentioned first area may be, but not limited to, one pixel or a plurality of pixels in the first dielectric characteristic grayscale image, and the above-mentioned first area may but not limited to include one area or multiple areas.
  • the above-mentioned second area may be, but not limited to, one pixel or a plurality of pixels in the second dielectric characteristic grayscale image.
  • the above-mentioned second area may, but not limited to, include one area or multiple areas. For example, taking the above-mentioned first region as a plurality of regions in the first dielectric characteristic grayscale image and the second region as a plurality of regions in the second dielectric characteristic grayscale image, as shown in FIG. 4.
  • FIG. 4 is a schematic diagram of a grayscale image of the first dielectric characteristic of an optional 100-yuan banknote.
  • 4 includes a first area 402, and the first area 402 includes 402-1, 402-2, and 402-3.
  • 402-1 is a portrait watermark area
  • 402-2 is an optically variable ink 100 character
  • 402-3 is a zebra crossing area .
  • Figure 4 also contains the 404 security line area, 406 ink printing head image area and even the white watermark area not marked in Figure 4, etc.
  • FIG. 5 is a schematic diagram of a second dielectric characteristic gray-scale image of a 50-yuan banknote.
  • FIG. 5 includes a second area 502, and the second area 502 includes 502-1 and 502-2, where 502-1 is a portrait watermark area and 502-2 is a pixel.
  • FIG. 5 also includes the zebra crossing area 504 and the ink portrait area 506 and the white watermark area not marked in FIG. 5.
  • FIGS. 4 and 5 are only examples, and do not constitute a limitation on the present application.
  • the position of the first region in the first dielectric characteristic grayscale image is the same as the position of the second region in the second dielectric characteristic grayscale image, and the second comparator also uses To perform the following steps:
  • S1 compare the gray value of the i-th pixel in the first area with the gray value of the i-th pixel in the second area, i is a positive integer less than or equal to N and greater than or equal to 1; N is the first area The total number of pixels in, and N is the total number of pixels in the second area, N is a positive integer;
  • the above comparison result may be, but not limited to, 0 or 1.
  • the first pixel in the first area is compared with the first pixel in the second area in sequence, Compare the second pixel in the first area with the second pixel in the second area, and compare the third pixel in the first area with the third pixel in the second area. If the gray value of a pair of pixels is different during the comparison, the comparison result is 0, indicating that the target paper product is false.
  • an error is allowed in the gray value.
  • set an error value u, u can be any positive number.
  • the absolute value of the difference between the gray value of the i-th pixel in the first area and the gray value of the i-th pixel in the second area is less than or equal to u, it is considered that the i-th pixel in the first area
  • the gray value of the pixel is equal to the gray value of the ith pixel in the second area.
  • the target paper product is identified by the above method, thereby improving the accuracy and precision of the identification of the target paper product.
  • the position of the first region in the first dielectric characteristic grayscale image is the same as the position of the second region in the second dielectric characteristic grayscale image, and the second comparator also uses To perform the following steps:
  • the above comparison result may be, but not limited to, 0 or 1.
  • the first pixel in the first area is compared with the first pixel in the second area in sequence.
  • the second pixel in the first area and the second pixel in the second area are compared with the third pixel in the first area and the third pixel in the second area.
  • the number of pixel pairs with different gray values is greater than a preset first threshold. For example, if the gray values of two pairs of pixels are different, and the first threshold is set to 1, the comparison result is 0, indicating that the target paper product is false. If the gray value of a pair of pixel pairs is different or the gray value of all pixel pairs is the same, the comparison result is 1, indicating that the target paper product is true.
  • an error is allowed in the gray value.
  • set an error value u, u can be any positive number.
  • the absolute value of the difference between the gray value of the i-th pixel in the first area and the gray value of the i-th pixel in the second area is less than or equal to u, it is considered that the i-th pixel in the first area
  • the gray value of the pixel is equal to the gray value of the ith pixel in the second area.
  • the target paper product is identified by the above method, thereby improving the identification accuracy and accuracy of the target paper product.
  • the above-mentioned junction characteristic sensor is composed of the discrimination unit 602 and the rod-shaped electrode 604.
  • the discriminating unit 602 and the rod-shaped electrode 604 are relatively spaced apart in the first direction to form a transmission channel 606 (as indicated by the arrow in FIG. 6, the paper product to be authenticated can be transmitted in the direction of the arrow or against the direction of the arrow).
  • the discriminating unit 602 includes a frame 602-2.
  • a substrate 602-4 is provided in the frame 602-2, and a dielectric characteristic detection chip 602-6 arranged in a second direction is provided on the substrate 602-4.
  • the substrate 602-4 is also provided with an input and output interface circuit 602-8.
  • a protective cover 602-10 is provided above the dielectric characteristic detection chip 602-6 for protecting the dielectric characteristic detection chip 602-6.
  • dielectric characteristic sensor shown in FIG. 6 is only an optional example, and this embodiment does not limit it.
  • a storage medium that stores a computer program, wherein the computer program is configured to execute the steps in any one of the foregoing method embodiments during runtime.
  • the above storage medium may be set to store a computer program for performing the following steps:
  • S1 Obtain the first grayscale image of the dielectric properties of the target paper product to be identified and the second grayscale image of the dielectric properties of the sample paper product, where the sample paper product is a verified paper product;
  • the storage medium may include: a flash disk, a read-only memory (Read-Only Memory, ROM), a random access device (Random Access Memory, RAM), a magnetic disk, or an optical disk.
  • the integrated unit in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in the computer-readable storage medium.
  • the technical solution of the present invention essentially or part of the contribution to the existing technology or all or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a storage medium, Several instructions are included to enable one or more computer devices (which may be personal computers, servers, network devices, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the disclosed client may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may Integration into another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, units or modules, and may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or software functional unit.

Abstract

A method and device for authenticating a paper product, and a storage medium. The method comprises: acquiring a first dielectric characteristic grayscale image of a target paper product to be authenticated and a second dielectric characteristic grayscale image of a sample paper product, wherein the sample paper product is an authenticated paper product (S102); comparing the first dielectric characteristic grayscale image with the second dielectric characteristic grayscale image to obtain a comparison result, wherein the comparison result is used for indicating the authenticity of the target paper product (S104); and prompting, according to the comparison result, authentication information matching the target paper product (S106). Accordingly, the technical problems of low accuracy and low precision in authenticating banknotes in the relevant art are solved.

Description

纸质品鉴别方法和装置及存储介质Paper product identification method and device and storage medium 技术领域Technical field
本发明涉及纸币鉴伪领域,具体而言,涉及一种纸质品鉴别方法和装置及存储介质。The invention relates to the field of paper currency authentication, and in particular to a paper product identification method and device and a storage medium.
背景技术Background technique
相关技术中,在对纸币进行真伪鉴别的过程中,可以采用的方法为比对待鉴别的纸币的介电特性信号与真纸币的介电特性信号,从而得到待鉴别的纸币的真伪。In the related art, in the process of authenticating the banknote, the method that can be adopted is to compare the dielectric characteristic signal of the banknote to be authenticated with the dielectric characteristic signal of the authentic banknote, thereby obtaining the authenticity of the banknote to be authenticated.
然而,现有的技术受到介电特性传感器感度和分辨率的限制,只是进行介电特性信号的粗略比对,纸币上很多细节并没有检测出来,因此精度和准确度普遍不高。However, the existing technology is limited by the sensitivity and resolution of the dielectric characteristic sensor, and only a rough comparison of the dielectric characteristic signals is performed. Many details on the banknotes are not detected, so the accuracy and accuracy are generally not high.
针对上述的问题,目前尚未提出有效的解决方案。In view of the above problems, no effective solution has been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种纸质品鉴别方法和装置及存储介质,以至少解决相关技术中存在的对纸币进行鉴别的准确性低且精度低的技术问题。Embodiments of the present invention provide a paper product identification method and device, and a storage medium, so as to at least solve the technical problems of low accuracy and low precision in identifying paper currency in the related art.
根据本发明实施例的一个方面,提供了一种纸质品鉴别方法,包括:获取待鉴别的目标纸质品的第一介电特性灰度图像及样本纸质品的第二介电特性灰度图像,其中,上述样本纸质品为已通过验证的纸质品;比对上述第一介电特性灰度图像与上述第二介电特性灰度图像,得到比对结果,其中,上述比对结果用于指示上述目标纸质品的真伪;根据上述比对结果提示与上述目标纸质品相匹配的鉴别信息。According to an aspect of an embodiment of the present invention, a paper product identification method is provided, including: acquiring a first dielectric characteristic gray image of a target paper product to be identified and a second dielectric characteristic gray of a sample paper product Image, where the sample paper product is a verified paper product; the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image are compared to obtain a comparison result, wherein, the above ratio The comparison result is used to indicate the authenticity of the target paper product; according to the comparison result, identification information matching the target paper product is presented.
根据本发明实施例的另一方面,还提供了一种纸质品鉴别装置,包括: 介电特性传感器,用于采集待鉴别的目标纸质品的第一介电特性信号,还用于采集样本纸质品的第二介电特性信号,其中,上述样本纸质品为已通过验证的纸质品;图像生成模块,与上述介电特性传感器相连,用于对上述介电特性传感器采集的上述目标纸质品的上述第一介电特性信号执行模数转换,得到第一介电特性灰度图像,还用于对上述介电特性传感器采集的上述样本纸质品的上述第二介电特性信号执行模数转换,得到第二介电特性灰度图像;图像处理器,与上述图像生成模块相连,用于对上述第一介电特性灰度图像与上述第二介电特性灰度图像执行比对处理;提示器,与上述图像处理器相连,用于根据上述图像处理器输出的比对结果提示上述目标纸质品的真伪。According to another aspect of the embodiments of the present invention, there is also provided a paper product identification device, including: a dielectric characteristic sensor, configured to collect a first dielectric characteristic signal of a target paper product to be identified, and also used to collect The second dielectric characteristic signal of the sample paper product, wherein the sample paper product is a paper product that has been verified; the image generation module is connected to the dielectric property sensor and is used for collecting the dielectric property sensor The first dielectric characteristic signal of the target paper product performs analog-to-digital conversion to obtain a first dielectric characteristic grayscale image, and is also used for the second dielectric of the sample paper product collected by the dielectric characteristic sensor The characteristic signal performs analog-to-digital conversion to obtain a second dielectric characteristic gray-scale image; an image processor is connected to the above-mentioned image generation module and is used for the first dielectric characteristic gray-scale image and the second dielectric characteristic gray-scale image Perform comparison processing; a prompter, connected to the image processor, is used to prompt the authenticity of the target paper product according to the comparison result output by the image processor.
根据本发明实施例的又一方面,还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述纸质品鉴别方法。According to still another aspect of the embodiments of the present invention, there is also provided a storage medium in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned paper product identification method when running.
在本发明实施例中,获取待鉴别的目标纸质品的第一介电特性灰度图像及样本纸质品的第二介电特性灰度图像,其中,上述样本纸质品为已通过验证的纸质品;比对上述第一介电特性灰度图像与上述第二介电特性灰度图像,得到比对结果,根据上述比对结果提示与上述目标纸质品相匹配的鉴别信息的方法。在上述方法中,通过比对第一介电特性灰度图像与第二介电特性灰度图像,而不是粗略地比对介电特性信号,提高了对待鉴别纸质品进行鉴别的准确度和精度,进而解决了相关技术中存在的对纸币进行鉴别的准确性低且精度低的技术问题。In an embodiment of the present invention, a first dielectric characteristic gray image of the target paper product to be identified and a second dielectric characteristic gray image of the sample paper product are obtained, wherein the sample paper product is verified Paper products; comparing the first dielectric characteristic grayscale image with the second dielectric characteristic grayscale image to obtain a comparison result, and presenting identification information matching the target paper product based on the comparison result method. In the above method, by comparing the first dielectric characteristic gray-scale image with the second dielectric characteristic gray-scale image, rather than roughly comparing the dielectric characteristic signal, the accuracy and the accuracy of identifying the paper product to be authenticated are improved. The accuracy, in turn, solves the technical problems of low accuracy and low accuracy in identifying banknotes in the related art.
附图说明BRIEF DESCRIPTION
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are used to provide a further understanding of the present invention and form a part of the present application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an undue limitation on the present invention. In the drawings:
图1是根据本发明实施例的一种可选的纸质品鉴别方法的流程示意图;FIG. 1 is a schematic flowchart of an optional paper product identification method according to an embodiment of the present invention;
图2是根据本发明实施例的一种可选的纸质品鉴别方法的示意图;2 is a schematic diagram of an optional paper product identification method according to an embodiment of the present invention;
图3是根据本发明实施例的另一种可选的纸质品鉴别方法的示意图;3 is a schematic diagram of another optional paper product identification method according to an embodiment of the present invention;
图4是根据本发明实施例的又一种可选的纸质品鉴别方法的示意图;4 is a schematic diagram of another optional paper product identification method according to an embodiment of the present invention;
图5是根据本发明实施例的又一种可选的纸质品鉴别方法的示意图;5 is a schematic diagram of another optional paper product identification method according to an embodiment of the present invention;
图6是根据本发明实施例的一种可选的介电特性传感器的结构示意图;6 is a schematic structural diagram of an optional dielectric characteristic sensor according to an embodiment of the present invention;
图7是根据本发明实施例的一种可选的纸质品鉴别装置的结构示意图。7 is a schematic structural diagram of an optional paper product identification device according to an embodiment of the present invention.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of the embodiments of the present invention, but not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms “first” and “second” in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that the data used in this way are interchangeable under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, processes, methods, systems, products or devices that contain a series of steps or units need not be limited to those clearly listed Those steps or units, but may include other steps or units not explicitly listed or inherent to these processes, methods, products, or equipment.
根据本发明实施例的一个方面,提供了一种纸质品鉴别方法,可选地,作为一种可选的实施方式,如图1所示,上述纸质品鉴别方法包括:According to an aspect of an embodiment of the present invention, a paper product identification method is provided. Optionally, as an optional embodiment, as shown in FIG. 1, the above paper product identification method includes:
S102,获取待鉴别的目标纸质品的第一介电特性灰度图像及样本纸质品的第二介电特性灰度图像,其中,样本纸质品为已通过验证的纸质品;S102: Obtain a first dielectric characteristic gray image of the target paper product to be identified and a second dielectric characteristic gray image of the sample paper product, where the sample paper product is a paper product that has been verified;
S104,比对第一介电特性灰度图像与第二介电特性灰度图像,得到比 对结果,其中,比对结果用于指示目标纸质品的真伪;S104. Compare the first dielectric characteristic grayscale image with the second dielectric characteristic grayscale image to obtain a comparison result, where the comparison result is used to indicate the authenticity of the target paper product;
S106,根据比对结果提示与目标纸质品相匹配的鉴别信息。S106. According to the comparison result, the identification information matching the target paper product is presented.
可选地,上述纸质品鉴别方法可以但不限于应用于验钞机上,或者存取款一体机上,或者应用于其他任何可以获取待鉴别的纸质品的介电特性的终端上。例如安装有检测介电特性的手表上或者安装有检测介电特性的手持设备上等。Optionally, the above paper product identification method can be applied to, but not limited to, a banknote detector, an integrated deposit and withdrawal machine, or any other terminal that can obtain the dielectric properties of the paper product to be identified. For example, it is installed on a wristwatch equipped with a dielectric property detection device or a handheld device equipped with a dielectric property detection device.
可选地,上述纸质品鉴别方法可以但不限于应用于对纸币进行鉴别的过程中,或者对票据进行鉴别的过程中。Optionally, the above paper product identification method may be, but not limited to, applied to the process of identifying paper money or the process of identifying bills.
上述目标纸质品可以但不限于为任何国家或地区发行的流通纸币,或者为发票、债券、收据等。The above target paper products may be, but not limited to, currency notes issued in any country or region, or invoices, bonds, receipts, etc.
以将上述纸质品鉴别方法应用于对纸币进行鉴别的过程中为例进行说明。在对纸币进行鉴别的过程中,获取待鉴别的目标纸质品的第一介电特性灰度图像与已经通过验证的样本纸质品的第二介电特性灰度图像,比对第一介电特性灰度图像与第二介电特性灰度图像,从而得到比对结果,比对结果用于指示目标纸质品的真伪。根据比对结果提示目标纸质品的鉴别信息,从而可以得到目标纸质品的真伪。Take the application of the above paper product identification method in the process of identifying banknotes as an example. In the process of discriminating banknotes, obtain the first dielectric characteristic gray image of the target paper product to be authenticated and the second dielectric characteristic gray image of the sample paper product that has been verified, and compare the first media The grayscale image of the electrical characteristic and the grayscale image of the second dielectric characteristic obtain a comparison result, and the comparison result is used to indicate the authenticity of the target paper product. According to the comparison result, the identification information of the target paper product is presented, so that the authenticity of the target paper product can be obtained.
需要说明的是,相关技术中,在对纸币进行真假验证的过程中,通常是采集待鉴别的纸币的介电特性信号,并获取真纸币的介电特性信号,比对两者的介电特性信号,从而得到待鉴别纸币的真伪。然而,由于上述方法通常是获取纸币粗略介电特性信号进行比对,即整个纸币只能够取几路介电特性信号,生成不了图象,从而造成在鉴别纸币的过程中准确度和精度低。而本实施例中,通过比对待鉴别的目标纸质品的第一介电特性灰度图像与已经通过验证的样本纸质品的第二介电特性灰度图像,从而可以直接对灰度图像进行比对,提高了鉴别纸币的鉴别准确度和精度。It should be noted that, in the related art, in the process of verifying the authenticity of banknotes, the dielectric characteristic signal of the banknote to be authenticated is usually collected, and the dielectric characteristic signal of the real banknote is obtained, and the The characteristic signal, so as to obtain the authenticity of the banknote to be authenticated. However, because the above method usually obtains rough dielectric characteristic signals of banknotes for comparison, that is, the entire banknote can only take a few channels of dielectric characteristic signals, and no image can be generated, resulting in low accuracy and precision in the process of identifying banknotes. In this embodiment, by comparing the first dielectric characteristic gray image of the target paper product to be identified with the second dielectric characteristic gray image of the sample paper product that has been verified, the gray image can be directly compared By comparing, the accuracy and precision of the identification of banknotes are improved.
可选地,可以但不限于预先获取样本纸质品的第二介电特性灰度图像并保存,在鉴别目标纸质品时,可以获取保存的第二介电特性灰度图像而 不需要重复的获取。Optionally, but not limited to pre-acquiring and storing the second dielectric characteristic grayscale image of the sample paper product in advance, when identifying the target paper product, the stored second dielectric characteristic grayscale image can be obtained without repetition Access.
可选地,可以但不限于使用电极例如棒状电极对待鉴别纸质品施加脉冲电压,获取到第一介电特性信号,在获取到第一介电特性信号之后,由图像生成模块将获取到的第一介电特性信号转化为第一介电特性灰度图像。以及由棒状电极对样本纸质品施加脉冲电压,获取到第二介电特性信号,在获取到第二介电特性信号之后,由图像生成模块将获取到的第二介电特性信号转化为第二介电特性灰度图像。Optionally, but not limited to using an electrode such as a rod electrode to apply a pulse voltage to the paper product to be authenticated, the first dielectric characteristic signal is obtained, and after the first dielectric characteristic signal is obtained, the image generation module The first dielectric characteristic signal is converted into a first dielectric characteristic grayscale image. And a pulsed voltage is applied to the sample paper product by the rod-shaped electrode to obtain the second dielectric characteristic signal. After the second dielectric characteristic signal is obtained, the image generation module converts the obtained second dielectric characteristic signal into the first Two grayscale images with dielectric properties.
可选地,在获取到第一介电特性信号与第二介电特性信号之后,可以但不限于对第一介电特性信号进行模数转换,得到第一原始介电特性灰度图像,并对第一原始介电特性灰度图像进行降噪处理,得到第一介电特性灰度图像,以及对第二介电特性信号进行模数转换,得到第二原始介电特性灰度图像,并对第二原始介电特性灰度图像进行降噪处理,得到第二介电特性灰度图像。Optionally, after the first dielectric characteristic signal and the second dielectric characteristic signal are acquired, analog-to-digital conversion may be performed on the first dielectric characteristic signal to obtain a first original dielectric characteristic grayscale image, and Performing noise reduction processing on the first original dielectric characteristic gray image to obtain a first dielectric characteristic gray image, and performing analog-to-digital conversion on the second dielectric characteristic signal to obtain a second original dielectric characteristic gray image, and Noise reduction processing is performed on the second original dielectric characteristic grayscale image to obtain a second dielectric characteristic grayscale image.
可选地,在获取到第一介电特性灰度图像与第二介电特性灰度图像之后,在比对第一介电特性灰度图像与第二介电特性灰度图像之前,可以但不限于对第一介电特性灰度图像进行二值化处理,得到第一目标介电特性灰度图像并对第二介电特性灰度图像进行二值化处理,得到第二目标介电特性灰度图像,并比对第一目标介电特性灰度图像与第二目标介电特性灰度图像,得到比对结果。Optionally, after acquiring the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image, before comparing the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image, it may be It is not limited to performing binary processing on the first dielectric characteristic grayscale image to obtain a first target dielectric characteristic grayscale image and performing binary processing on the second dielectric characteristic grayscale image to obtain a second target dielectric characteristic The grayscale image is compared with the first target dielectric characteristic grayscale image and the second target dielectric characteristic grayscale image to obtain a comparison result.
可选地,在比对第一介电特性灰度图像与第二介电特性灰度图像时,可以但不限于通过比对第一介电特性灰度图像的第一区域的灰度值与第二介电特性灰度图像的第二区域的灰度值,从而得到比对结果。其中,第一区域在第一介电特性灰度图像中的区域与第二区域在第二介电特性灰度图像中的区域对应。Optionally, when comparing the first dielectric characteristic grayscale image with the second dielectric characteristic grayscale image, the grayscale value of the first region of the first dielectric characteristic grayscale image may be but not limited to The gray value of the second region of the second dielectric characteristic gray image, thereby obtaining the comparison result. Wherein, the area of the first area in the first grayscale image of dielectric characteristics corresponds to the area of the second area in the grayscale image of dielectric characteristics.
可选地,根据比对结果提示与目标纸质品相匹配的鉴别信息时,可以但不限于通过声音、图像、文字等任意一种或多种进行提示。例如,发出提示音:“这是真的”,或者显示“这是真的”的信息等。或者上述提示鉴 别信息可以但不限于为传输携带有鉴别信息的信号,以使其他装置根据信号中的鉴别信息对目标纸质品进行处理。Optionally, when prompting the identification information matching the target paper product according to the comparison result, it may be, but is not limited to, prompting by any one or more of sound, image, text, and the like. For example, a beep sound is issued: "This is true", or the message "This is true" is displayed. Or the above prompt authentication information may be, but not limited to, transmitting a signal carrying authentication information, so that other devices may process the target paper product according to the authentication information in the signal.
通过本实施例,通过比对待鉴别的目标纸质品的第一介电特性灰度图像与已经通过验证的样本纸质品的第二介电特性灰度图像,从而可以直接对灰度图像进行比对,提高了鉴别纸币的鉴别的精度和准确度。Through this embodiment, by comparing the first dielectric characteristic gray image of the target paper product to be identified with the second dielectric characteristic gray image of the sample paper product that has been verified, the gray image can be directly The comparison improves the accuracy and accuracy of the identification of banknotes.
作为一种可选的实施方案,获取待鉴别的目标纸质品的第一介电特性灰度图像及样本纸质品的第二介电特性灰度图像包括:As an optional embodiment, obtaining the first grayscale image of the dielectric properties of the target paper product to be identified and the second grayscale image of the dielectric properties of the sample paper product include:
S1,获取目标纸质品的第一介电特性信号,对第一介电特性信号执行模数转换,得到第一介电特性灰度图像;S1: Obtain the first dielectric characteristic signal of the target paper product, perform analog-to-digital conversion on the first dielectric characteristic signal, and obtain a first dielectric characteristic grayscale image;
S2,获取样本纸质品的第二介电特性信号,对第二介电特性信号执行模数转换,得到第二介电特性灰度图像。S2. Acquire a second dielectric characteristic signal of the sample paper product, perform analog-to-digital conversion on the second dielectric characteristic signal, and obtain a second dielectric characteristic grayscale image.
可选地,通过介电特性传感器对目标纸质品施加脉冲电压,并在输出接口获取到目标纸质品的第一介电特性信号,将第一介电特性信号与预存的第二介电特性信号进行比对,从而得到比对结果,比对结果则指示有目标纸质品的真伪。Optionally, a pulse voltage is applied to the target paper product through the dielectric property sensor, and the first dielectric property signal of the target paper product is acquired at the output interface, and the first dielectric property signal and the pre-stored second dielectric The characteristic signals are compared to obtain a comparison result, which indicates the authenticity of the target paper product.
可以但不限于在获取到第一介电特性信号之后,将第一介电特性信号转化为第一介电特性灰度图像的灰度值,根据第一介电特性灰度图像的灰度值得到第一介电特性灰度图像;将第二介电特性信号转化为第二介电特性灰度图像的灰度值,根据第二介电特性灰度图像的灰度值得到第二介电特性灰度图像。It may be, but not limited to, after acquiring the first dielectric characteristic signal, convert the first dielectric characteristic signal into the gray value of the first dielectric characteristic gray image, according to the gray value of the first dielectric characteristic gray image Go to the first dielectric characteristic grayscale image; convert the second dielectric characteristic signal into the grayscale value of the second dielectric characteristic grayscale image, and obtain the second dielectric according to the grayscale value of the second dielectric characteristic grayscale image Characteristic grayscale image.
例如如图2所示,图2中包含一种可选的第一/二介电特性灰度图像202,在灰度图像202中包含有区域204-1、区域204-2、区域204-3,每一个区域大小可以不同,每一个区域均对应一个灰度值,灰度值可以相同也可以不同。每一个区域可以但不限于为一个像素,还可以但不限于为多个像素的组合。当一个区域为多个像素的组合时,灰度值为区域中像素灰度值的平均值。For example, as shown in FIG. 2, FIG. 2 includes an optional first / second dielectric characteristic gray image 202, and the gray image 202 includes an area 204-1, an area 204-2, and an area 204-3 The size of each area can be different, and each area corresponds to a gray value, which can be the same or different. Each area may be, but not limited to, one pixel, or may be, but not limited to, a combination of multiple pixels. When an area is a combination of multiple pixels, the gray value is the average value of the gray values of the pixels in the area.
通过本实施例,通过模数转换的方法来获取到第一介电特性灰度图像与第二介电特性灰度图像,从而可以直接比对第一介电特性灰度图像与第二介电特性灰度图像,从而提高了对目标纸质品进行鉴别的精度和准确度。Through this embodiment, the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image are obtained by analog-to-digital conversion, so that the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image can be directly compared Characteristic gray-scale image, which improves the accuracy and accuracy of identifying the target paper product.
作为一种可选的实施方案,As an alternative embodiment,
获取目标纸质品的第一介电特性信号,对第一介电特性信号执行模数转换,得到第一介电特性灰度图像包括:S1,获取目标纸质品的第一介电特性信号;对第一介电特性信号执行模数转换,得到第一原始介电特性灰度图像;对第一原始介电特性灰度图像执行降噪处理,得到第一介电特性灰度图像;Obtaining the first dielectric characteristic signal of the target paper product, performing analog-to-digital conversion on the first dielectric characteristic signal to obtain the first dielectric characteristic grayscale image includes: S1, acquiring the first dielectric characteristic signal of the target paper product Performing analog-to-digital conversion on the first dielectric characteristic signal to obtain a first original dielectric characteristic grayscale image; performing noise reduction processing on the first original dielectric characteristic grayscale image to obtain a first dielectric characteristic grayscale image;
获取样本纸质品的第二介电特性信号,对第二介电特性信号执行模数转换,得到第二介电特性灰度图像包括:S1,获取目标纸质品的第二介电特性信号;对第二介电特性信号执行模数转换,得到第二原始介电特性灰度图像;对第二原始介电特性灰度图像执行降噪处理,得到第二介电特性灰度图像。Obtaining the second dielectric characteristic signal of the sample paper product, performing analog-to-digital conversion on the second dielectric characteristic signal to obtain the second dielectric characteristic grayscale image includes: S1, acquiring the second dielectric characteristic signal of the target paper product Performing analog-to-digital conversion on the second dielectric characteristic signal to obtain a second original dielectric characteristic grayscale image; performing noise reduction processing on the second original dielectric characteristic grayscale image to obtain a second dielectric characteristic grayscale image.
例如,在对纸币进行鉴别的过程中,获取到待鉴别的纸币的第一介电特性信号,获取到样本纸币的第二介电特性信号,对第一介电特性信号执行模数转换,得到第一原始介电特性灰度图像,对第二介电特性信号执行模数转换,得到第二原始介电特性灰度图像。由于第一原始介电特性灰度图像与第二原始介电特性灰度图像比对可能存在误差,因此,需要对第一原始介电特性灰度图像与第二原始介电特性灰度图像执行降噪处理,从而比对降噪后的结果,以提高比对过程的准确性。For example, in the process of discriminating banknotes, the first dielectric characteristic signal of the banknote to be authenticated is obtained, the second dielectric characteristic signal of the sample banknote is obtained, and the analog-to-digital conversion is performed on the first dielectric characteristic signal to obtain The first original dielectric characteristic grayscale image performs analog-to-digital conversion on the second dielectric characteristic signal to obtain a second original dielectric characteristic grayscale image. Since there may be errors in the comparison between the first original dielectric characteristic grayscale image and the second original dielectric characteristic grayscale image, it is necessary to perform the first original dielectric characteristic grayscale image and the second original dielectric characteristic grayscale image Noise reduction processing to compare the results after noise reduction to improve the accuracy of the comparison process.
通过本实施例,通过第一原始介电特性灰度图像执行降噪处理,得到第一介电特性灰度图像并对第二原始介电特性灰度图像执行降噪处理,得到第二介电特性灰度图像,从而提高了对目标纸质品进行鉴别的精度与准确度。With this embodiment, the first original dielectric characteristic grayscale image is subjected to noise reduction processing to obtain a first dielectric characteristic grayscale image and the second original dielectric characteristic grayscale image is subjected to noise reduction processing to obtain a second dielectric Characteristic gray-scale image, which improves the accuracy and accuracy of identifying the target paper product.
作为一种可选的实施方案,比对第一介电特性灰度图像与第二介电特 性灰度图像,得到比对结果包括:As an optional embodiment, comparing the first dielectric characteristic grayscale image with the second dielectric characteristic grayscale image, and obtaining the comparison result includes:
S1,对第一介电特性灰度图像进行二值化处理,得到第一目标介电特性灰度图像;S1, performing binary processing on the first dielectric characteristic grayscale image to obtain a first target dielectric characteristic grayscale image;
S2,对第二介电特性灰度图像进行二值化处理,得到第二目标介电特性灰度图像;S2, performing binary processing on the second dielectric characteristic grayscale image to obtain a second target dielectric characteristic grayscale image;
S3,比对第一目标介电特性灰度图像与第二目标介电特性灰度图像,得到比对结果。S3. Compare the first target dielectric characteristic grayscale image with the second target dielectric characteristic grayscale image to obtain a comparison result.
可选地,上述对第一介电特性灰度图像进行二值化处理,得到第一目标介电特性灰度图像与对第二介电特性灰度图像进行二值化处理,得到第二目标介电特性灰度图像可以但不限于为设置一个阈值,上述阈值可以但不限于为任何正数。例如设置一个阈值为130,在对第一介电特性灰度图像进行二值化处理时,将灰度值小于130的区域设置为灰度值为0,将灰度值大于130的区域设置为灰度值为255,从而实现对第一介电特性灰度图像的二值化处理。Optionally, the above-mentioned first dielectric characteristic grayscale image is binarized to obtain a first target dielectric characteristic grayscale image and the second dielectric characteristic grayscale image is binarized to obtain a second target The grayscale image of the dielectric characteristic may be, but not limited to, a threshold, and the above threshold may be, but not limited to, any positive number. For example, a threshold value of 130 is set. When the first dielectric characteristic gray image is binarized, the area with a gray value less than 130 is set to a gray value of 0, and the area with a gray value greater than 130 is set to The gray value is 255, so as to realize the binarization process of the first dielectric characteristic gray image.
如图3所示,图3为一种可选的对第一/二介电特性灰度图像进行二值化处理后的示意图。As shown in FIG. 3, FIG. 3 is a schematic diagram of an optional binary image of the first / two dielectric characteristic grayscale image.
通过本实施例,通过对第一介电特性灰度图像进行二值化处理,得到第一目标介电特性灰度图像;对第二介电特性灰度图像进行二值化处理,得到第二目标介电特性灰度图像,从而可以比对第一目标介电特性灰度图像与第二目标介电特性灰度图像,提高了对目标纸质品的鉴别精度与准确度。Through this embodiment, the first target characteristic grayscale image is obtained by binarizing the first dielectric characteristic grayscale image; the second dielectric characteristic grayscale image is subjected to binarization processing to obtain the second The target dielectric characteristic grayscale image can be compared with the first target dielectric characteristic grayscale image and the second target dielectric characteristic grayscale image, thereby improving the identification accuracy and accuracy of the target paper product.
作为一种可选的实施方案,比对第一介电特性灰度图像与第二介电特性灰度图像,得到比对结果包括:As an optional embodiment, comparing the first dielectric characteristic grayscale image with the second dielectric characteristic grayscale image, and obtaining the comparison result includes:
S1,获取第一介电特性灰度图像的第一区域的灰度值,及在第二介电特性灰度图像中与第一区域对应的第二区域的灰度值;S1, acquiring the gray value of the first region of the first dielectric characteristic gray image, and the gray value of the second region corresponding to the first region in the second dielectric characteristic gray image;
S2,比对第一区域的灰度值与第二区域的灰度值,得到比对结果。S2. Compare the gray value of the first area with the gray value of the second area to obtain a comparison result.
可选地,上述第一区域可以但不限于为第一介电特性灰度图像中的一个像素点或者多个像素点,上述第一区域可以但不限于包含一个区域或者多个区域。上述第二区域可以但不限于为第二介电特性灰度图像中的一个像素点或者多个像素点,上述第二区域可以但不限于包含一个区域或者多个区域。例如,以上述第一区域为第一介电特性灰度图像中的多个区域、第二区域为第二介电特性灰度图像中的多个区域为例,如图4所示。图4为一种可选的100元纸币的第一介电特性灰度图像的示意图。图4中包含第一区域402,第一区域402包含402-1、402-2、402-3。402-1为人像水印区域,402-2为光变油墨100字符,402-3为斑马线区域。同时,图4中还包含有404安全线区域,406油墨印刷头像区域甚至图4中未标出的白水印区域等。Optionally, the above-mentioned first area may be, but not limited to, one pixel or a plurality of pixels in the first dielectric characteristic grayscale image, and the above-mentioned first area may but not limited to include one area or multiple areas. The above-mentioned second area may be, but not limited to, one pixel or a plurality of pixels in the second dielectric characteristic grayscale image. The above-mentioned second area may, but not limited to, include one area or multiple areas. For example, taking the above-mentioned first region as a plurality of regions in the first dielectric characteristic grayscale image and the second region as a plurality of regions in the second dielectric characteristic grayscale image, as shown in FIG. 4. 4 is a schematic diagram of a grayscale image of the first dielectric characteristic of an optional 100-yuan banknote. 4 includes a first area 402, and the first area 402 includes 402-1, 402-2, and 402-3. 402-1 is a portrait watermark area, 402-2 is an optically variable ink 100 character, and 402-3 is a zebra crossing area . At the same time, Figure 4 also contains the 404 security line area, 406 ink printing head image area and even the white watermark area not marked in Figure 4, etc.
如图5所示,图5为一张50元纸币的第二介电特性灰度图像的示意图。图5中包含有第二区域502,第二区域502包含有502-1、502-2,其中,502-1为人像水印区域,502-2为一个像素。图5中还包含有斑马线区域504及油墨人像区域506以及未在图5中标注的白水印区域。As shown in FIG. 5, FIG. 5 is a schematic diagram of a second dielectric characteristic gray-scale image of a 50-yuan banknote. FIG. 5 includes a second area 502, and the second area 502 includes 502-1 and 502-2, where 502-1 is a portrait watermark area and 502-2 is a pixel. FIG. 5 also includes the zebra crossing area 504 and the ink portrait area 506 and the white watermark area not marked in FIG. 5.
需要说明的是,图4、5仅为示例,并不构成对本申请的限定。It should be noted that FIGS. 4 and 5 are only examples, and do not constitute a limitation on the present application.
通过本实施例,通过比对第一介电特性灰度图像的灰度值与第二介电特性灰度图像的灰度值,从而提高了对目标纸质品的鉴别准确度和精度。With this embodiment, by comparing the gray value of the first dielectric characteristic gray image with the gray value of the second dielectric characteristic gray image, the accuracy and precision of identifying the target paper product are improved.
作为一种可选的实施方案,第一区域在第一介电特性灰度图像中所在的位置与第二区域在第二介电特性灰度图像中所在的位置相同,比对第一区域的灰度值与第二区域的灰度值,得到比对结果包括:As an alternative embodiment, the position of the first region in the first dielectric characteristic grayscale image is the same as the position of the second region in the second dielectric characteristic grayscale image, comparing The gray value and the gray value of the second area, the comparison result includes:
S1,依次比对第一区域中第i个像素的灰度值与第二区域中第i个像素的灰度值,i为小于等于N,且大于等于1的正整数;N为第一区域中的像素的总数,且N为第二区域中的像素的总数,N为正整数;S1, compare the gray value of the i-th pixel in the first area with the gray value of the i-th pixel in the second area, i is a positive integer less than or equal to N and greater than or equal to 1; N is the first area The total number of pixels in, and N is the total number of pixels in the second area, N is a positive integer;
S2,在第一区域中像素的灰度值与第二区域中像素的灰度值出现不同 的情况下,则确定目标纸质品鉴别为假。S2. In the case where the gray value of the pixel in the first area differs from the gray value of the pixel in the second area, it is determined that the target paper product is identified as false.
例如,以第一区域中包含有3个像素为例,第二区域中包含有3个像素为例,依次比对第一区域中的第一个像素与第二区域中的第一个像素,比对第一区域中的第二个像素与第二区域中的第二个像素,比对第一区域中的第三个像素与第二区域中的第三个像素。若是比对过程中有一对像素的灰度值不同,则目标纸质品为假。For example, taking 3 pixels in the first area as an example, and 3 pixels in the second area as an example, the first pixel in the first area is compared with the first pixel in the second area in sequence, Compare the second pixel in the first area with the second pixel in the second area, and compare the third pixel in the first area with the third pixel in the second area. If the gray value of a pair of pixels is different during the comparison, the target paper product is false.
需要说明的是,在比对第一区域中的第i个像素的灰度值与第二区域中第i个像素的灰度值的过程中,允许灰度值存在一个误差。例如,设置一个误差值为u,u可以为任意的正数。在第一区域中的第i个像素的灰度值与第二区域中第i个像素的灰度值的差值的绝对值小于等于u的情况下,即认为第一区域中的第i个像素的灰度值与第二区域中第i个像素的灰度值是相等的。It should be noted that, in the process of comparing the gray value of the i-th pixel in the first area with the gray value of the i-th pixel in the second area, an error is allowed in the gray value. For example, set an error value u, u can be any positive number. In the case where the absolute value of the difference between the gray value of the i-th pixel in the first area and the gray value of the i-th pixel in the second area is less than or equal to u, the i-th pixel in the first area is considered The gray value of the pixel is equal to the gray value of the ith pixel in the second area.
通过本实施例,通过上述方法鉴别目标纸质品,从而提高了对目标纸质品的鉴别准确度和精度。Through this embodiment, the target paper product is identified by the above method, thereby improving the accuracy and precision of the identification of the target paper product.
作为一种可选的实施方案,第一区域在第一介电特性灰度图像中所在的位置与第二区域在第二介电特性灰度图像中所在的位置相同,比对第一区域的灰度值与第二区域的灰度值,得到比对结果包括:As an alternative embodiment, the position of the first region in the first dielectric characteristic grayscale image is the same as the position of the second region in the second dielectric characteristic grayscale image, comparing The gray value and the gray value of the second area, the comparison result includes:
S1,重复执行以下步骤,直至遍历第一区域中所有的像素的灰度值与第二区域中所有的像素的灰度值:比对第一区域中第i个像素的灰度值与第二区域中第i个像素的灰度值,i为小于等于N,且大于等于1的正整数;N为第一区域中的像素的总数,且N为第二区域中的像素的总数,N为正整数;在第一区域中第i个像素的灰度值与第二区域中第i个像素的灰度值不同的情况下,对参数M加1,其中,参数M用于记录第一区域中像素的灰度值与第二区域中像素的灰度值不同的像素个数,M为大于等于0的正整数;S1, repeat the following steps until the gray values of all pixels in the first area and the gray values of all pixels in the second area are traversed: compare the gray values of the i-th pixel in the first area with the second The gray value of the i-th pixel in the area, i is a positive integer less than or equal to N and greater than or equal to 1; N is the total number of pixels in the first area, and N is the total number of pixels in the second area, and N is Positive integer; when the gray value of the i-th pixel in the first area is different from the gray value of the i-th pixel in the second area, add 1 to the parameter M, where the parameter M is used to record the first area The number of pixels whose gray value of the middle pixel is different from the gray value of the pixel in the second area, M is a positive integer greater than or equal to 0;
S2,在参数M小于第一阈值的情况下,则确定目标纸质品鉴别为真;S2, when the parameter M is less than the first threshold, it is determined that the identification of the target paper product is true;
S3,在参数M大于等于第一阈值的情况下,则确定目标纸质品鉴别为假。S3, if the parameter M is greater than or equal to the first threshold, it is determined that the target paper product is identified as false.
例如,以第一区域中包含有三个像素,第二区域中包含有3个像素为例,依次比对第一区域中的第一个像素与第二区域中的第一个像素,比对第一区域中的第二个像素与第二区域中的第二个像素,比对第一区域中的第三个像素与第二区域中的第三个像素。比对过程中灰度值不同的像素对的个数大于了一个预先设定的第一阈值,例如,有两对像素对的灰度值不同,第一阈值设置为1,则目标纸质品为假。如果有一对像素对的灰度值不同或者所有像素对的灰度值都相同,则目标纸质品为真。For example, taking three pixels in the first area and three pixels in the second area as an example, the first pixel in the first area is compared with the first pixel in the second area in sequence. The second pixel in the first area and the second pixel in the second area are compared with the third pixel in the first area and the third pixel in the second area. During the comparison, the number of pixel pairs with different gray values is greater than a preset first threshold. For example, if two pairs of pixel pairs have different gray values, and the first threshold is set to 1, the target paper product False. If a pair of pixel pairs have different gray values or all pixel pairs have the same gray value, the target paper product is true.
需要说明的是,在比对第一区域中的第i个像素的灰度值与第二区域中第i个像素的灰度值的过程中,允许灰度值存在一个误差。例如,设置一个误差值为u,u可以为任意的正数。在第一区域中的第i个像素的灰度值与第二区域中第i个像素的灰度值的差值的绝对值小于等于u的情况下,即认为第一区域中的第i个像素的灰度值与第二区域中第i个像素的灰度值是相等的。It should be noted that, in the process of comparing the gray value of the i-th pixel in the first area with the gray value of the i-th pixel in the second area, an error is allowed in the gray value. For example, set an error value u, u can be any positive number. In the case where the absolute value of the difference between the gray value of the i-th pixel in the first area and the gray value of the i-th pixel in the second area is less than or equal to u, it is considered that the i-th pixel in the first area The gray value of the pixel is equal to the gray value of the ith pixel in the second area.
通过本实施例,通过上述方法鉴别目标纸质品,从而提高了对目标纸质品的鉴别精度和准确度。Through this embodiment, the target paper product is identified by the above method, thereby improving the identification accuracy and accuracy of the target paper product.
本实施例提供了一种可选的上述介电特性传感器的结构图。如图6所示,上述介点特性传感器由鉴别单元602和棒状电极604构成。鉴别单元602和棒状电极604在第一方向上相对间隔设置,构成传输通道606(如图6中箭头所指示,待鉴别纸质品可以顺着箭头方向传输或逆着箭头方向传输)。鉴别单元602包括框体602-2,框体602-2内设有基板602-4,基板602-4上设有沿第二方向排列的介电特性检测芯片602-6,第二方向与第一方向垂直,与待鉴别的纸质品移动方向垂直;基板602-4上还设有输入输出接口电路602-8。介电特性检测芯片602-6上方设有保护盖板602-10,用于保护介电特性检测芯片602-6。当待检测的目标纸质品通过介电特性传感器时,棒状电极604施加脉冲电压,从输入输出接口电路602-8便输 出代表目标纸质品的介电特性的信号。This embodiment provides an optional structural diagram of the above dielectric characteristic sensor. As shown in FIG. 6, the above-mentioned junction characteristic sensor is composed of the discrimination unit 602 and the rod-shaped electrode 604. The discriminating unit 602 and the rod-shaped electrode 604 are relatively spaced apart in the first direction to form a transmission channel 606 (as indicated by the arrow in FIG. 6, the paper product to be authenticated can be transmitted in the direction of the arrow or against the direction of the arrow). The discriminating unit 602 includes a frame 602-2. A substrate 602-4 is provided in the frame 602-2, and a dielectric characteristic detection chip 602-6 arranged in a second direction is provided on the substrate 602-4. One direction is perpendicular to the moving direction of the paper product to be identified; the substrate 602-4 is also provided with an input and output interface circuit 602-8. A protective cover 602-10 is provided above the dielectric characteristic detection chip 602-6 for protecting the dielectric characteristic detection chip 602-6. When the target paper product to be detected passes through the dielectric property sensor, the rod electrode 604 applies a pulse voltage, and a signal representing the dielectric property of the target paper product is output from the input / output interface circuit 602-8.
需要说明的是,图6所示的介电特性传感器仅为一种可选的示例,本实施例并不对其进行限定。It should be noted that the dielectric characteristic sensor shown in FIG. 6 is only an optional example, and this embodiment does not limit it.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the sequence of actions described. Because according to the invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
根据本发明实施例的另一个方面,还提供了一种用于实施上述纸质品鉴别方法的纸质品鉴别装置。如图7所示,该装置包括:According to another aspect of the embodiments of the present invention, a paper product identification device for implementing the above paper product identification method is also provided. As shown in Figure 7, the device includes:
(1)介电特性传感器702,用于采集待鉴别的目标纸质品的第一介电特性信号,还用于采集样本纸质品的第二介电特性信号,其中,样本纸质品为已通过验证的纸质品;(1) Dielectric characteristic sensor 702, used to collect the first dielectric characteristic signal of the target paper product to be identified, and also used to collect the second dielectric characteristic signal of the sample paper product, where the sample paper product is Verified paper products;
(2)图像生成模块704,与介电特性传感器相连,用于对介电特性传感器采集的目标纸质品的第一介电特性信号执行模数转换,得到第一介电特性灰度图像,还用于对介电特性传感器采集的样本纸质品的第二介电特性信号执行模数转换,得到第二介电特性灰度图像;(2) The image generation module 704 is connected to the dielectric characteristic sensor, and is used to perform analog-to-digital conversion on the first dielectric characteristic signal of the target paper product collected by the dielectric characteristic sensor to obtain a first dielectric characteristic grayscale image, It is also used to perform analog-to-digital conversion on the second dielectric characteristic signal of the sample paper product collected by the dielectric characteristic sensor to obtain a second dielectric characteristic grayscale image;
(3)图像处理器706,与图像生成模块相连,用于对第一介电特性灰度图像与第二介电特性灰度图像执行比对处理;(3) The image processor 706, connected to the image generation module, is used to perform comparison processing on the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image;
(4)提示器708,与图像处理器相连,用于根据图像处理器输出的比对结果提示目标纸质品的真伪。(4) The prompter 708 is connected to the image processor, and is used for prompting the authenticity of the target paper product according to the comparison result output by the image processor.
可选地,上述纸质品鉴别装置可以但不限于应用于验钞机上,或者存取款一体机上,或者应用于其他任何可以获取待鉴别的纸质品的介电特性的终端上。例如安装有检测介电特性的手表上或者安装有检测介电特性的 手持设备上等。Optionally, the above-mentioned paper product identification device can be applied to, but not limited to, a banknote detector, an integrated deposit and withdrawal machine, or any other terminal that can obtain the dielectric properties of the paper product to be identified. For example, it is installed on a wristwatch equipped with a dielectric characteristic detection or a handheld device equipped with a dielectric characteristic detection.
可选地,上述纸质品鉴别装置可以但不限于应用于对纸币进行鉴别的过程中,或者对票据进行鉴别的过程中。Optionally, the above paper product identification device may be, but not limited to, applied to the process of identifying banknotes or the process of identifying bills.
上述目标纸质品可以但不限于为任何国家或地区发行的流通纸币,或者为发票、债券、收据等。The above target paper products may be, but not limited to, currency notes issued in any country or region, or invoices, bonds, receipts, etc.
以将上述纸质品鉴别装置应用于对纸币进行鉴别的过程中为例进行说明。在对纸币进行鉴别的过程中,获取待鉴别的目标纸质品的第一介电特性灰度图像与已经通过验证的样本纸质品的第二介电特性灰度图像,比对第一介电特性灰度图像与第二介电特性灰度图像,从而得到比对结果,比对结果用于指示目标纸质品的真伪。根据比对结果提示目标纸质品的鉴别信息,从而可以得到目标纸质品的真伪。An example will be described in which the above paper product identification device is applied to the process of identifying banknotes. In the process of discriminating banknotes, obtain the first dielectric characteristic gray image of the target paper product to be authenticated and the second dielectric characteristic gray image of the sample paper product that has been verified, and compare the first media The grayscale image of the electrical characteristic and the grayscale image of the second dielectric characteristic obtain a comparison result, and the comparison result is used to indicate the authenticity of the target paper product. According to the comparison result, the identification information of the target paper product is presented, so that the authenticity of the target paper product can be obtained.
需要说明的是,相关技术中,在对纸币进行真假验证的过程中,通常是采集待鉴别的纸币的介电特性信号,并获取真纸币的介电特性信号,比对两者的介电特性信号,从而得到待鉴别纸币的真伪。然而,由于上述方法通常是获取纸币粗略介电特性信号进行比对,即整个纸币只能够取几路介电特性信号,生成不了图象,从而造成在鉴别纸币的过程中准确度和精度低。而本实施例中,通过比对待鉴别的目标纸质品的第一介电特性灰度图像与已经通过验证的样本纸质品的第二介电特性灰度图像,从而可以直接对灰度图像进行比对,提高了鉴别纸币的鉴别准确度和精度。It should be noted that, in the related art, in the process of verifying the authenticity of banknotes, the dielectric characteristic signal of the banknote to be authenticated is usually collected, and the dielectric characteristic signal of the real banknote is obtained, and the The characteristic signal, so as to obtain the authenticity of the banknote to be authenticated. However, because the above method usually obtains rough dielectric characteristic signals of banknotes for comparison, that is, the entire banknote can only take a few channels of dielectric characteristic signals, and no image can be generated, resulting in low accuracy and precision in the process of discriminating banknotes. In this embodiment, by comparing the first dielectric characteristic gray image of the target paper product to be identified with the second dielectric characteristic gray image of the sample paper product that has been verified, the gray image can be directly compared By comparing, the accuracy and precision of the identification of banknotes are improved.
可选地,可以但不限于预先获取样本纸质品的第二介电特性灰度图像并保存,在鉴别目标纸质品时,可以获取保存的第二介电特性灰度图像而不需要重复的获取。Optionally, but not limited to pre-acquiring and storing the second dielectric characteristic grayscale image of the sample paper product in advance, when identifying the target paper product, the stored second dielectric characteristic grayscale image can be obtained without repetition Access.
可选地,可以但不限于使用电极例如棒状电极对待鉴别纸质品施加脉冲电压,获取到第一介电特性信号,在获取到第一介电特性信号之后,由图像生成模块将获取到的第一介电特性信号转化为第一介电特性灰度图像。以及由棒状电极对样本纸质品施加脉冲电压,获取到第二介电特性信 号,在获取到第二介电特性信号之后,由图像生成模块将获取到的第二介电特性信号转化为第二介电特性灰度图像。Optionally, but not limited to using an electrode such as a rod electrode to apply a pulse voltage to the paper product to be authenticated, the first dielectric characteristic signal is obtained, and after the first dielectric characteristic signal is obtained, the image generation module The first dielectric characteristic signal is converted into a first dielectric characteristic grayscale image. And a pulsed voltage is applied to the sample paper product by the rod-shaped electrode to obtain the second dielectric characteristic signal. After the second dielectric characteristic signal is obtained, the image generation module converts the obtained second dielectric characteristic signal into the first Two grayscale images with dielectric properties.
可选地,在获取到第一介电特性信号与第二介电特性信号之后,可以但不限于对第一介电特性信号进行模数转换,得到第一原始介电特性灰度图像,并对第一原始介电特性灰度图像进行降噪处理,得到第一介电特性灰度图像,以及对第二介电特性信号进行模数转换,得到第二原始介电特性灰度图像,并对第二原始介电特性灰度图像进行降噪处理,得到第二介电特性灰度图像。Optionally, after the first dielectric characteristic signal and the second dielectric characteristic signal are acquired, analog-to-digital conversion may be performed on the first dielectric characteristic signal to obtain a first original dielectric characteristic grayscale image, and Performing noise reduction processing on the first original dielectric characteristic gray image to obtain a first dielectric characteristic gray image, and performing analog-to-digital conversion on the second dielectric characteristic signal to obtain a second original dielectric characteristic gray image, and Noise reduction processing is performed on the second original dielectric characteristic grayscale image to obtain a second dielectric characteristic grayscale image.
可选地,在获取到第一介电特性灰度图像与第二介电特性灰度图像之后,在比对第一介电特性灰度图像与第二介电特性灰度图像之前,可以但不限于对第一介电特性灰度图像进行二值化处理,得到第一目标介电特性灰度图像并对第二介电特性灰度图像进行二值化处理,得到第二目标介电特性灰度图像,并比对第一目标介电特性灰度图像与第二目标介电特性灰度图像,得到比对结果。Optionally, after acquiring the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image, before comparing the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image, it may be It is not limited to performing binary processing on the first dielectric characteristic grayscale image to obtain a first target dielectric characteristic grayscale image and performing binary processing on the second dielectric characteristic grayscale image to obtain a second target dielectric characteristic The grayscale image is compared with the first target dielectric characteristic grayscale image and the second target dielectric characteristic grayscale image to obtain a comparison result.
可选地,在比对第一介电特性灰度图像与第二介电特性灰度图像时,可以但不限于通过比对第一介电特性灰度图像的第一区域的灰度值与第二介电特性灰度图像的第二区域的灰度值,从而得到比对结果。其中,第一区域在第一介电特性灰度图像中的区域与第二区域在第二介电特性灰度图像中的区域对应。Optionally, when comparing the first dielectric characteristic grayscale image with the second dielectric characteristic grayscale image, the grayscale value of the first region of the first dielectric characteristic grayscale image may be but not limited to The gray value of the second region of the second dielectric characteristic gray image, thereby obtaining the comparison result. Wherein, the area of the first area in the first grayscale image of dielectric characteristics corresponds to the area of the second area in the grayscale image of dielectric characteristics.
可选地,上述装置可以但不限于还包括存储器,用于存储样本纸质品的第二介电特性灰度图像与目标纸质品的第一介电特性灰度图像。输送器,用于将待检测的目标纸质品传送到介电特性传感器中,并根据比对结果将鉴别为真的目标纸质品与鉴别为假的目标纸质品输送到不同的区域。Optionally, the above device may include, but is not limited to, a memory for storing the second dielectric characteristic grayscale image of the sample paper product and the first dielectric characteristic grayscale image of the target paper product. The conveyor is used to transfer the target paper product to be detected to the dielectric characteristic sensor, and according to the comparison result, the target paper product identified as true and the target paper product identified as false are transported to different areas.
可选地,根据比对结果提示与目标纸质品相匹配的鉴别信息时,可以但不限于通过声音、图像、文字等任意一种或多种进行提示。例如,发出提示音:“这是真的”,或者显示“这是真的”的信息等。或者上述提示鉴别信息可以但不限于为传输携带有鉴别信息的信号,以使其他装置根据信 号中的鉴别信息对目标纸质品进行处理。Optionally, when prompting the identification information matching the target paper product according to the comparison result, it may be, but is not limited to, prompting by any one or more of sound, image, text, and the like. For example, a beep sound is issued: "This is true", or the message "This is true" is displayed. Or, the above-mentioned prompting authentication information may be, but not limited to, transmitting a signal carrying authentication information, so that other devices can process the target paper product according to the authentication information in the signal.
通过本实施例,通过比对待鉴别的目标纸质品的第一介电特性灰度图像与已经通过验证的样本纸质品的第二介电特性灰度图像,从而可以直接对灰度图像进行比对,提高了鉴别纸币的鉴别的精度和准确度。Through this embodiment, by comparing the first dielectric characteristic gray image of the target paper product to be identified with the second dielectric characteristic gray image of the sample paper product that has been verified, the gray image can be directly The comparison improves the accuracy and accuracy of the identification of banknotes.
作为一种可选的实施方案,图像生成模块704包括:As an optional embodiment, the image generation module 704 includes:
(1)模数转换器,一端与介电特性传感器相连,模数转换器用于对介电特性传感器采集的目标纸质品的第一介电特性信号执行模数转换,得到第一原始介电特性灰度图像;还用于对介电特性传感器采集的样本纸质品的第二介电特性信号执行模数转换,得到第二原始介电特性灰度图像;(1) Analog-to-digital converter, one end of which is connected to the dielectric characteristic sensor Characteristic grayscale image; also used to perform analog-to-digital conversion on the second dielectric characteristic signal of the sample paper product collected by the dielectric characteristic sensor to obtain a second original dielectric characteristic grayscale image;
(2)滤波器,一端与模数转换器相连,另一端与图像处理器相连,用于对第一原始介电特性灰度图像执行降噪处理,得到第一介电特性灰度图像;还用于对第二原始介电特性灰度图像执行降噪处理,得到第二介电特性灰度图像。(2) A filter, one end of which is connected to an analog-to-digital converter and the other end is connected to an image processor, which is used to perform noise reduction processing on the first original dielectric characteristic grayscale image to obtain the first dielectric characteristic grayscale image; It is used to perform noise reduction processing on the second original dielectric characteristic grayscale image to obtain a second dielectric characteristic grayscale image.
可选地,通过介电特性传感器对目标纸质品施加脉冲电压,并在输出接口获取到目标纸质品的第一介电特性信号,以及通过介电特性传感器对样本纸质品施加脉冲电压,并在输出接口获取到样本纸质品的第二介电特性信号。Optionally, a pulse voltage is applied to the target paper product through the dielectric property sensor, and the first dielectric property signal of the target paper product is acquired at the output interface, and a pulse voltage is applied to the sample paper product through the dielectric property sensor , And the second dielectric characteristic signal of the sample paper product is obtained at the output interface.
例如,在对纸币进行鉴别的过程中,获取到待鉴别的纸币的第一介电特性信号,获取到样本纸币的第二介电特性信号,对第一介电特性信号执行模数转换,得到第一原始介电特性灰度图像,对第二介电特性信号执行模数转换,得到第二原始介电特性灰度图像。由于第一原始介电特性灰度图像与第二原始介电特性灰度图像比对可能存在误差,因此,需要对第一原始介电特性灰度图像与第二原始介电特性灰度图像执行降噪处理,从而比对降噪后的结果,以提高比对过程的准确性。For example, in the process of discriminating banknotes, the first dielectric characteristic signal of the banknote to be authenticated is obtained, the second dielectric characteristic signal of the sample banknote is obtained, and the analog-to-digital conversion is performed on the first dielectric characteristic signal to obtain The first original dielectric characteristic grayscale image performs analog-to-digital conversion on the second dielectric characteristic signal to obtain a second original dielectric characteristic grayscale image. Since there may be errors in the comparison between the first original dielectric characteristic grayscale image and the second original dielectric characteristic grayscale image, it is necessary to perform the first original dielectric characteristic grayscale image and the second original dielectric characteristic grayscale image Noise reduction processing to compare the results after noise reduction to improve the accuracy of the comparison process.
通过本实施例,通过第一原始介电特性灰度图像执行降噪处理,得到第一介电特性灰度图像并对第二原始介电特性灰度图像执行降噪处理,得 到第二介电特性灰度图像,从而提高了对目标纸质品进行鉴别的精度与准确度。With this embodiment, the first original dielectric characteristic grayscale image is subjected to noise reduction processing to obtain a first dielectric characteristic grayscale image and the second original dielectric characteristic grayscale image is subjected to noise reduction processing to obtain a second dielectric Characteristic gray-scale image, which improves the accuracy and accuracy of identifying the target paper product.
作为一种可选的实施方案,图像处理器706包括:As an optional embodiment, the image processor 706 includes:
(1)图像二值化处理器,一端与图像生成模块相连,二值化处理器用于对第一介电特性灰度图像进行二值化处理,得到第一目标介电特性灰度图像;还用于对第二介电特性灰度图像进行二值化处理,得到第二目标介电特性灰度图像;(1) An image binarization processor, one end of which is connected to the image generation module. The binarization processor is used to binarize the first dielectric characteristic grayscale image to obtain the first target dielectric characteristic grayscale image; Used to binarize the second dielectric characteristic grayscale image to obtain a second target dielectric characteristic grayscale image;
(2)第一比较器,一端与二值化处理器相连,另一端与提示器相连,用于对第一介电特性灰度图像与第二介电特性灰度图像执行比对处理。(2) The first comparator, one end of which is connected to the binarization processor and the other end of which is connected to the prompter, and is used to perform comparison processing on the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image.
可选地,上述对第一介电特性灰度图像进行二值化处理,得到第一目标介电特性灰度图像与对第二介电特性灰度图像进行二值化处理,得到第二目标介电特性灰度图像可以但不限于为设置一个阈值,上述阈值可以但不限于为任何正数。例如设置一个阈值为130,在对第一介电特性灰度图像进行二值化处理时,将灰度值小于130的区域设置为灰度值为0,将灰度值大于130的区域设置为灰度值为255,从而实现对第一介电特性灰度图像的二值化处理。Optionally, the above-mentioned first dielectric characteristic grayscale image is binarized to obtain a first target dielectric characteristic grayscale image and the second dielectric characteristic grayscale image is binarized to obtain a second target The grayscale image of the dielectric characteristic may be, but not limited to, a threshold, and the above threshold may be, but not limited to, any positive number. For example, a threshold value of 130 is set. When the first dielectric characteristic gray image is binarized, the area with a gray value less than 130 is set to a gray value of 0, and the area with a gray value greater than 130 is set to The gray value is 255, so as to realize the binarization process of the first dielectric characteristic gray image.
如图3所示,图3为一种可选的对第一/二介电特性灰度图像进行二值化处理后的示意图。As shown in FIG. 3, FIG. 3 is a schematic diagram of an optional binary image of the first / two dielectric characteristic grayscale image.
通过本实施例,通过对第一介电特性灰度图像进行二值化处理,得到第一目标介电特性灰度图像;对第二介电特性灰度图像进行二值化处理,得到第二目标介电特性灰度图像,从而可以比对第一目标介电特性灰度图像与第二目标介电特性灰度图像,提高了对目标纸质品的鉴别精度与准确度。Through this embodiment, the first target characteristic grayscale image is obtained by binarizing the first dielectric characteristic grayscale image; the second dielectric characteristic grayscale image is subjected to binarization processing to obtain the second The target dielectric characteristic grayscale image can be compared with the first target dielectric characteristic grayscale image and the second target dielectric characteristic grayscale image, thereby improving the identification accuracy and accuracy of the target paper product.
作为一种可选的实施方案,图像处理器706包括:As an optional embodiment, the image processor 706 includes:
(1)第二比较器,用于比对第一介电特性灰度图像的第一区域的灰度值,及在第二介电特性灰度图像中与第一区域对应的第二区域的灰度值, 得到比对结果。(1) The second comparator is used to compare the gray value of the first region of the first dielectric characteristic gray image and the second region corresponding to the first region in the second dielectric characteristic gray image Gray value, get the comparison result.
可选地,上述第一区域可以但不限于为第一介电特性灰度图像中的一个像素点或者多个像素点,上述第一区域可以但不限于包含一个区域或者多个区域。上述第二区域可以但不限于为第二介电特性灰度图像中的一个像素点或者多个像素点,上述第二区域可以但不限于包含一个区域或者多个区域。例如,以上述第一区域为第一介电特性灰度图像中的多个区域、第二区域为第二介电特性灰度图像中的多个区域为例,如图4所示。图4为一种可选的100元纸币的第一介电特性灰度图像的示意图。图4中包含第一区域402,第一区域402包含402-1、402-2、402-3。402-1为人像水印区域,402-2为光变油墨100字符,402-3为斑马线区域。同时,图4中还包含有404安全线区域,406油墨印刷头像区域甚至图4中未标出的白水印区域等。Optionally, the above-mentioned first area may be, but not limited to, one pixel or a plurality of pixels in the first dielectric characteristic grayscale image, and the above-mentioned first area may but not limited to include one area or multiple areas. The above-mentioned second area may be, but not limited to, one pixel or a plurality of pixels in the second dielectric characteristic grayscale image. The above-mentioned second area may, but not limited to, include one area or multiple areas. For example, taking the above-mentioned first region as a plurality of regions in the first dielectric characteristic grayscale image and the second region as a plurality of regions in the second dielectric characteristic grayscale image, as shown in FIG. 4. 4 is a schematic diagram of a grayscale image of the first dielectric characteristic of an optional 100-yuan banknote. 4 includes a first area 402, and the first area 402 includes 402-1, 402-2, and 402-3. 402-1 is a portrait watermark area, 402-2 is an optically variable ink 100 character, and 402-3 is a zebra crossing area . At the same time, Figure 4 also contains the 404 security line area, 406 ink printing head image area and even the white watermark area not marked in Figure 4, etc.
如图5所示,图5为一张50元纸币的第二介电特性灰度图像的示意图。图5中包含有第二区域502,第二区域502包含有502-1、502-2,其中,502-1为人像水印区域,502-2为一个像素。图5中还包含有斑马线区域504及油墨人像区域506以及未在图5中标注的白水印区域。As shown in FIG. 5, FIG. 5 is a schematic diagram of a second dielectric characteristic gray-scale image of a 50-yuan banknote. FIG. 5 includes a second area 502, and the second area 502 includes 502-1 and 502-2, where 502-1 is a portrait watermark area and 502-2 is a pixel. FIG. 5 also includes the zebra crossing area 504 and the ink portrait area 506 and the white watermark area not marked in FIG. 5.
需要说明的是,图4、5仅为示例,并不构成对本申请的限定。It should be noted that FIGS. 4 and 5 are only examples, and do not constitute a limitation on the present application.
通过本实施例,通过比对第一介电特性灰度图像的灰度值与第二介电特性灰度图像的灰度值,从而提高了对目标纸质品的鉴别准确度和精度。With this embodiment, by comparing the gray value of the first dielectric characteristic gray image with the gray value of the second dielectric characteristic gray image, the accuracy and precision of identifying the target paper product are improved.
作为一种可选的实施方案,第一区域在第一介电特性灰度图像中所在的位置与第二区域在第二介电特性灰度图像中所在的位置相同,第二比较器还用于执行以下步骤:As an alternative embodiment, the position of the first region in the first dielectric characteristic grayscale image is the same as the position of the second region in the second dielectric characteristic grayscale image, and the second comparator also uses To perform the following steps:
S1,依次比对第一区域中第i个像素的灰度值与第二区域中第i个像素的灰度值,i为小于等于N,且大于等于1的正整数;N为第一区域中的像素的总数,且N为第二区域中的像素的总数,N为正整数;S1, compare the gray value of the i-th pixel in the first area with the gray value of the i-th pixel in the second area, i is a positive integer less than or equal to N and greater than or equal to 1; N is the first area The total number of pixels in, and N is the total number of pixels in the second area, N is a positive integer;
S2,在第一区域中像素的灰度值与第二区域中像素的灰度值出现不同 的情况下,则确定比对结果为目标纸质品经鉴别为假。S2, when the gray value of the pixel in the first area is different from the gray value of the pixel in the second area, it is determined that the comparison result is that the target paper product is identified as false.
上述比对结果可以但不限于为0或1。The above comparison result may be, but not limited to, 0 or 1.
例如,以第一区域中包含有3个像素为例,第二区域中包含有3个像素为例,依次比对第一区域中的第一个像素与第二区域中的第一个像素,比对第一区域中的第二个像素与第二区域中的第二个像素,比对第一区域中的第三个像素与第二区域中的第三个像素。若是比对过程中有一对像素的灰度值不同,则比对结果为0,表示目标纸质品为假。For example, taking 3 pixels in the first area as an example, and 3 pixels in the second area as an example, the first pixel in the first area is compared with the first pixel in the second area in sequence, Compare the second pixel in the first area with the second pixel in the second area, and compare the third pixel in the first area with the third pixel in the second area. If the gray value of a pair of pixels is different during the comparison, the comparison result is 0, indicating that the target paper product is false.
需要说明的是,在比对第一区域中的第i个像素的灰度值与第二区域中第i个像素的灰度值的过程中,允许灰度值存在一个误差。例如,设置一个误差值为u,u可以为任意的正数。在第一区域中的第i个像素的灰度值与第二区域中第i个像素的灰度值的差值的绝对值小于等于u的情况下,即认为第一区域中的第i个像素的灰度值与第二区域中第i个像素的灰度值是相等的。It should be noted that, in the process of comparing the gray value of the i-th pixel in the first area with the gray value of the i-th pixel in the second area, an error is allowed in the gray value. For example, set an error value u, u can be any positive number. In the case where the absolute value of the difference between the gray value of the i-th pixel in the first area and the gray value of the i-th pixel in the second area is less than or equal to u, it is considered that the i-th pixel in the first area The gray value of the pixel is equal to the gray value of the ith pixel in the second area.
通过本实施例,通过上述方法鉴别目标纸质品,从而提高了对目标纸质品的鉴别准确度和精度。Through this embodiment, the target paper product is identified by the above method, thereby improving the accuracy and precision of the identification of the target paper product.
作为一种可选的实施方案,第一区域在第一介电特性灰度图像中所在的位置与第二区域在第二介电特性灰度图像中所在的位置相同,第二比较器还用于执行以下步骤:As an alternative embodiment, the position of the first region in the first dielectric characteristic grayscale image is the same as the position of the second region in the second dielectric characteristic grayscale image, and the second comparator also uses To perform the following steps:
重复执行以下步骤,直至遍历第一区域中所有的像素的灰度值与第二区域中所有的像素的灰度值:比对第一区域中第i个像素的灰度值与第二区域中第i个像素的灰度值,i为小于等于N,且大于等于1的正整数;N为第一区域中的像素的总数,且N为第二区域中的像素的总数,N为正整数;在第一区域中第i个像素的灰度值与第二区域中第i个像素的灰度值不同的情况下,对参数M加1,其中,参数M用于记录第一区域中像素的灰度值与第二区域中像素的灰度值不同的像素个数,M为大于等于0的正整数;Repeat the following steps until the gray values of all the pixels in the first area and the gray values of all the pixels in the second area are traversed: compare the gray values of the i-th pixel in the first area and the second area The gray value of the i-th pixel, i is a positive integer less than or equal to N and greater than or equal to 1; N is the total number of pixels in the first area, and N is the total number of pixels in the second area, and N is a positive integer ; In the case where the gray value of the i-th pixel in the first area is different from the gray value of the i-th pixel in the second area, add 1 to the parameter M, where the parameter M is used to record the pixels in the first area The number of pixels whose gray value is different from the gray value of the pixels in the second area, M is a positive integer greater than or equal to 0;
在参数M小于第一阈值的情况下,则确定比对结果为所诉目标纸质品经鉴别为真;In the case where the parameter M is less than the first threshold, it is determined that the comparison result is that the claimed paper product is identified as true;
在参数M大于等于第一阈值的情况下,则确定比对结果为目标纸质品经鉴别为假。If the parameter M is greater than or equal to the first threshold, it is determined that the comparison result is that the target paper product is identified as false.
可选地,上述比对结果可以但不限于为0或1。Optionally, the above comparison result may be, but not limited to, 0 or 1.
例如,以第一区域中包含有三个像素,第二区域中包含有3个像素为例,依次比对第一区域中的第一个像素与第二区域中的第一个像素,比对第一区域中的第二个像素与第二区域中的第二个像素,比对第一区域中的第三个像素与第二区域中的第三个像素。比对过程中灰度值不同的像素对的个数大于了一个预先设定的第一阈值,例如,有两对像素对的灰度值不同,第一阈值设置为1,则比对结果为0,表示目标纸质品为假。如果有一对像素对的灰度值不同或者所有像素对的灰度值都相同,则比对结果为1,表示目标纸质品为真。For example, taking three pixels in the first area and three pixels in the second area as an example, the first pixel in the first area is compared with the first pixel in the second area in sequence. The second pixel in the first area and the second pixel in the second area are compared with the third pixel in the first area and the third pixel in the second area. During the comparison, the number of pixel pairs with different gray values is greater than a preset first threshold. For example, if the gray values of two pairs of pixels are different, and the first threshold is set to 1, the comparison result is 0, indicating that the target paper product is false. If the gray value of a pair of pixel pairs is different or the gray value of all pixel pairs is the same, the comparison result is 1, indicating that the target paper product is true.
需要说明的是,在比对第一区域中的第i个像素的灰度值与第二区域中第i个像素的灰度值的过程中,允许灰度值存在一个误差。例如,设置一个误差值为u,u可以为任意的正数。在第一区域中的第i个像素的灰度值与第二区域中第i个像素的灰度值的差值的绝对值小于等于u的情况下,即认为第一区域中的第i个像素的灰度值与第二区域中第i个像素的灰度值是相等的。It should be noted that, in the process of comparing the gray value of the i-th pixel in the first area with the gray value of the i-th pixel in the second area, an error is allowed in the gray value. For example, set an error value u, u can be any positive number. In the case where the absolute value of the difference between the gray value of the i-th pixel in the first area and the gray value of the i-th pixel in the second area is less than or equal to u, it is considered that the i-th pixel in the first area The gray value of the pixel is equal to the gray value of the ith pixel in the second area.
通过本实施例,通过上述方法鉴别目标纸质品,从而提高了对目标纸质品的鉴别精度和准确度。Through this embodiment, the target paper product is identified by the above method, thereby improving the identification accuracy and accuracy of the target paper product.
本实施例提供了一种可选的上述介电特性传感器的结构图。如图6所示,上述介点特性传感器由鉴别单元602和棒状电极604构成。鉴别单元602和棒状电极604在第一方向上相对间隔设置,构成传输通道606(如图6中箭头所指示,待鉴别纸质品可以顺着箭头方向传输或逆着箭头方向传输)。鉴别单元602包括框体602-2,框体602-2内设有基板602-4,基 板602-4上设有沿第二方向排列的介电特性检测芯片602-6,第二方向与第一方向垂直,与待鉴别的纸质品移动方向垂直;基板602-4上还设有输入输出接口电路602-8。介电特性检测芯片602-6上方设有保护盖板602-10,用于保护介电特性检测芯片602-6。当待检测的目标纸质品通过介电特性传感器时,棒状电极604施加脉冲电压,从输入输出接口电路602-8便输出代表目标纸质品的介电特性的信号。This embodiment provides an optional structural diagram of the above dielectric characteristic sensor. As shown in FIG. 6, the above-mentioned junction characteristic sensor is composed of the discrimination unit 602 and the rod-shaped electrode 604. The discriminating unit 602 and the rod-shaped electrode 604 are relatively spaced apart in the first direction to form a transmission channel 606 (as indicated by the arrow in FIG. 6, the paper product to be authenticated can be transmitted in the direction of the arrow or against the direction of the arrow). The discriminating unit 602 includes a frame 602-2. A substrate 602-4 is provided in the frame 602-2, and a dielectric characteristic detection chip 602-6 arranged in a second direction is provided on the substrate 602-4. One direction is perpendicular to the moving direction of the paper product to be identified; the substrate 602-4 is also provided with an input and output interface circuit 602-8. A protective cover 602-10 is provided above the dielectric characteristic detection chip 602-6 for protecting the dielectric characteristic detection chip 602-6. When the target paper product to be detected passes through the dielectric property sensor, the rod electrode 604 applies a pulse voltage, and outputs a signal representing the dielectric property of the target paper product from the input / output interface circuit 602-8.
需要说明的是,图6所示的介电特性传感器仅为一种可选的示例,本实施例并不对其进行限定。It should be noted that the dielectric characteristic sensor shown in FIG. 6 is only an optional example, and this embodiment does not limit it.
根据本发明的实施例的又一方面,还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to yet another aspect of the embodiments of the present invention, there is also provided a storage medium that stores a computer program, wherein the computer program is configured to execute the steps in any one of the foregoing method embodiments during runtime.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in this embodiment, the above storage medium may be set to store a computer program for performing the following steps:
S1,获取待鉴别的目标纸质品的第一介电特性灰度图像及样本纸质品的第二介电特性灰度图像,其中,样本纸质品为已通过验证的纸质品;S1: Obtain the first grayscale image of the dielectric properties of the target paper product to be identified and the second grayscale image of the dielectric properties of the sample paper product, where the sample paper product is a verified paper product;
S2,比对第一介电特性灰度图像与第二介电特性灰度图像,得到比对结果,其中,比对结果用于指示目标纸质品的真伪;S2, comparing the first dielectric characteristic gray image and the second dielectric characteristic gray image to obtain a comparison result, wherein the comparison result is used to indicate the authenticity of the target paper product;
S3,根据比对结果提示与目标纸质品相匹配的鉴别信息。S3. According to the comparison result, the identification information matching the target paper product is presented.
可选地,在本实施例中,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。Optionally, in this embodiment, a person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing hardware related to the terminal device through a program, and the program can be stored in a In the computer-readable storage medium, the storage medium may include: a flash disk, a read-only memory (Read-Only Memory, ROM), a random access device (Random Access Memory, RAM), a magnetic disk, or an optical disk.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The sequence numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.
上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。If the integrated unit in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in the computer-readable storage medium. Based on this understanding, the technical solution of the present invention essentially or part of the contribution to the existing technology or all or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a storage medium, Several instructions are included to enable one or more computer devices (which may be personal computers, servers, network devices, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For a part that is not detailed in an embodiment, you can refer to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed client may be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may Integration into another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, units or modules, and may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or software functional unit.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only the preferred embodiment of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the principles of the present invention, several improvements and retouches can be made. These improvements and retouches also It should be regarded as the protection scope of the present invention.

Claims (14)

  1. 一种纸质品鉴别方法,其特征在于,包括:A paper product identification method, characterized in that it includes:
    获取待鉴别的目标纸质品的第一介电特性灰度图像及样本纸质品的第二介电特性灰度图像,其中,所述样本纸质品为已通过验证的纸质品;Acquiring a first dielectric characteristic gray image of the target paper product to be identified and a second dielectric characteristic gray image of the sample paper product, wherein the sample paper product is a verified paper product;
    比对所述第一介电特性灰度图像与所述第二介电特性灰度图像,得到比对结果,其中,所述比对结果用于指示所述目标纸质品的真伪;Comparing the first dielectric characteristic grayscale image with the second dielectric characteristic grayscale image to obtain a comparison result, wherein the comparison result is used to indicate the authenticity of the target paper product;
    根据所述比对结果提示与所述目标纸质品相匹配的鉴别信息。According to the comparison result, the identification information matching the target paper product is presented.
  2. 根据权利要求1所述的方法,其特征在于,所述获取待鉴别的目标纸质品的第一介电特性灰度图像及样本纸质品的第二介电特性灰度图像包括:The method according to claim 1, wherein the acquiring the first grayscale image of the dielectric properties of the target paper product to be identified and the second grayscale image of the dielectric properties of the sample paper product include:
    获取所述目标纸质品的第一介电特性信号,对所述第一介电特性信号执行模数转换,得到所述第一介电特性灰度图像;Acquiring a first dielectric characteristic signal of the target paper product, performing analog-to-digital conversion on the first dielectric characteristic signal, to obtain the first dielectric characteristic grayscale image;
    获取所述样本纸质品的第二介电特性信号,对所述第二介电特性信号执行模数转换,得到所述第二介电特性灰度图像。Obtaining a second dielectric characteristic signal of the sample paper product, and performing analog-to-digital conversion on the second dielectric characteristic signal to obtain the second dielectric characteristic grayscale image.
  3. 根据权利要求2所述的方法,其特征在于,The method according to claim 2, characterized in that
    所述获取所述目标纸质品的第一介电特性信号,对所述第一介电特性信号执行模数转换,得到所述第一介电特性灰度图像包括:获取所述目标纸质品的第一介电特性信号;对所述第一介电特性信号执行模数转换,得到第一原始介电特性灰度图像;对所述第一原始介电特性灰度图像执行降噪处理,得到所述第一介电特性灰度图像;The acquiring the first dielectric characteristic signal of the target paper product and performing analog-to-digital conversion on the first dielectric characteristic signal to obtain the first dielectric characteristic grayscale image includes: acquiring the target paper quality The first dielectric characteristic signal of the product; performing analog-to-digital conversion on the first dielectric characteristic signal to obtain a first original dielectric characteristic grayscale image; performing noise reduction processing on the first original dielectric characteristic grayscale image To obtain the grayscale image of the first dielectric characteristic;
    所述获取所述样本纸质品的第二介电特性信号,对所述第二介电特性信号执行模数转换,得到所述第二介电特性灰度图像包括:获取所述目标纸质品的第二介电特性信号;对所述第二介电特性信号执行 模数转换,得到第二原始介电特性灰度图像;对所述第二原始介电特性灰度图像执行降噪处理,得到所述第二介电特性灰度图像。The acquiring a second dielectric characteristic signal of the sample paper product, performing analog-to-digital conversion on the second dielectric characteristic signal, and obtaining the second dielectric characteristic grayscale image includes: acquiring the target paper quality Second dielectric characteristic signal of the product; performing analog-to-digital conversion on the second dielectric characteristic signal to obtain a second original dielectric characteristic grayscale image; performing noise reduction processing on the second original dielectric characteristic grayscale image To obtain the grayscale image of the second dielectric characteristic.
  4. 根据权利要求2所述的方法,其特征在于,所述比对所述第一介电特性灰度图像与所述第二介电特性灰度图像,得到比对结果包括:The method according to claim 2, wherein the comparing the first dielectric characteristic grayscale image with the second dielectric characteristic grayscale image, and obtaining the comparison result comprises:
    对所述第一介电特性灰度图像进行二值化处理,得到第一目标介电特性灰度图像;Performing binary processing on the first dielectric characteristic grayscale image to obtain a first target dielectric characteristic grayscale image;
    对所述第二介电特性灰度图像进行二值化处理,得到第二目标介电特性灰度图像;Performing binary processing on the second dielectric characteristic grayscale image to obtain a second target dielectric characteristic grayscale image;
    比对所述第一目标介电特性灰度图像与所述第二目标介电特性灰度图像,得到所述比对结果。Comparing the first target dielectric characteristic grayscale image with the second target dielectric characteristic grayscale image to obtain the comparison result.
  5. 根据权利要求1所述的方法,其特征在于,所述比对所述第一介电特性灰度图像与所述第二介电特性灰度图像,得到比对结果包括:The method according to claim 1, wherein the comparing the first dielectric characteristic grayscale image with the second dielectric characteristic grayscale image and obtaining the comparison result comprises:
    获取所述第一介电特性灰度图像的第一区域的灰度值,及在所述第二介电特性灰度图像中与所述第一区域对应的第二区域的灰度值;Acquiring the gray value of the first region of the first dielectric characteristic gray image and the gray value of the second region corresponding to the first region in the second dielectric characteristic gray image;
    比对所述第一区域的灰度值与所述第二区域的灰度值,得到所述比对结果。Comparing the gray value of the first region with the gray value of the second region to obtain the comparison result.
  6. 根据权利要求5所述的方法,其特征在于,所述第一区域在所述第一介电特性灰度图像中所在的位置与所述第二区域在所述第二介电特性灰度图像中所在的位置相同,所述比对所述第一区域的灰度值与所述第二区域的灰度值,得到所述比对结果包括:The method according to claim 5, wherein the position of the first region in the first dielectric characteristic grayscale image and the second region in the second dielectric characteristic grayscale image The location is in the same, and comparing the gray value of the first area with the gray value of the second area, and obtaining the comparison result includes:
    依次比对所述第一区域中第i个像素的灰度值与所述第二区域中第i个像素的灰度值,所述i为小于等于N,且大于等于1的正整数;所述N为所述第一区域中的像素的总数,且所述N为所述第二区域中的像素的总数,所述N为正整数;Sequentially comparing the gray value of the i-th pixel in the first area with the gray value of the i-th pixel in the second area, where i is a positive integer less than or equal to N and greater than or equal to 1; Said N is the total number of pixels in the first area, and N is the total number of pixels in the second area, and N is a positive integer;
    在所述第一区域中像素的灰度值与所述第二区域中像素的灰度值 出现不同的情况下,则确定所述目标纸质品鉴别为假。In the case where the gray value of the pixel in the first area differs from the gray value of the pixel in the second area, it is determined that the target paper product is identified as false.
  7. 根据权利要求5所述的方法,其特征在于,所述第一区域在所述第一介电特性灰度图像中所在的位置与所述第二区域在所述第二介电特性灰度图像中所在的位置相同,所述比对所述第一区域的灰度值与所述第二区域的灰度值,得到所述比对结果包括:The method according to claim 5, wherein the position of the first region in the first dielectric characteristic grayscale image and the second region in the second dielectric characteristic grayscale image The location is in the same, and comparing the gray value of the first area with the gray value of the second area, and obtaining the comparison result includes:
    重复执行以下步骤,直至遍历所述第一区域中所有的像素的灰度值与所述第二区域中所有的像素的灰度值:比对所述第一区域中第i个像素的灰度值与所述第二区域中第i个像素的灰度值,所述i为小于等于N,且大于等于1的正整数;所述N为所述第一区域中的像素的总数,且所述N为所述第二区域中的像素的总数,所述N为正整数;在所述第一区域中第i个像素的灰度值与所述第二区域中第i个像素的灰度值不同的情况下,对参数M加1,其中,所述参数M用于记录所述第一区域中像素的灰度值与所述第二区域中像素的灰度值不同的像素个数,所述M为大于等于0的正整数;Repeat the following steps until the gray values of all pixels in the first area and the gray values of all pixels in the second area are traversed: compare the gray values of the i-th pixel in the first area And the gray value of the i-th pixel in the second area, where i is a positive integer less than or equal to N and greater than or equal to 1; the N is the total number of pixels in the first area, and Said N is the total number of pixels in the second area, and N is a positive integer; the gray value of the i-th pixel in the first area and the gray value of the i-th pixel in the second area When the values are different, add 1 to the parameter M, where the parameter M is used to record the number of pixels with different gray values of the pixels in the first area and the gray values of the pixels in the second area, The M is a positive integer greater than or equal to 0;
    在所述参数M小于第一阈值的情况下,则确定所述目标纸质品鉴别为真;If the parameter M is less than the first threshold, it is determined that the target paper product identification is true;
    在所述参数M大于等于所述第一阈值的情况下,则确定所述目标纸质品鉴别为假。If the parameter M is greater than or equal to the first threshold, it is determined that the target paper product is identified as false.
  8. 一种纸质品鉴别装置,其特征在于,所述装置包括:A paper product identification device, characterized in that the device includes:
    介电特性传感器,用于采集待鉴别的目标纸质品的第一介电特性信号,还用于采集样本纸质品的第二介电特性信号,其中,所述样本纸质品为已通过验证的纸质品;Dielectric characteristic sensor, used to collect the first dielectric characteristic signal of the target paper product to be identified, and also used to collect the second dielectric characteristic signal of the sample paper product, wherein the sample paper product is passed Verified paper products;
    图像生成模块,与所述介电特性传感器相连,用于对所述介电特性传感器采集的所述目标纸质品的所述第一介电特性信号执行模数转换,得到第一介电特性灰度图像,还用于对所述介电特性传感器采集的所述样本纸质品的所述第二介电特性信号执行模数转换,得到第二 介电特性灰度图像;An image generation module, connected to the dielectric characteristic sensor, is used to perform analog-to-digital conversion on the first dielectric characteristic signal of the target paper product collected by the dielectric characteristic sensor to obtain a first dielectric characteristic The grayscale image is also used to perform analog-to-digital conversion on the second dielectric characteristic signal of the sample paper product collected by the dielectric characteristic sensor to obtain a second dielectric characteristic grayscale image;
    图像处理器,与所述图像生成模块相连,用于对所述第一介电特性灰度图像与所述第二介电特性灰度图像执行比对处理;An image processor, connected to the image generation module, for performing comparison processing on the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image;
    提示器,与所述图像处理器相连,用于根据所述图像处理器输出的比对结果提示所述目标纸质品的真伪。The prompter is connected to the image processor, and is used for prompting the authenticity of the target paper product according to the comparison result output by the image processor.
  9. 根据权利要求8所述的装置,其特征在于,所述图像生成模块包括:The apparatus according to claim 8, wherein the image generation module comprises:
    模数转换器,一端与所述介电特性传感器相连,所述模数转换器用于对所述介电特性传感器采集的所述目标纸质品的所述第一介电特性信号执行模数转换,得到第一原始介电特性灰度图像;还用于对所述介电特性传感器采集的所述样本纸质品的所述第二介电特性信号执行模数转换,得到第二原始介电特性灰度图像;An analog-to-digital converter, one end of which is connected to the dielectric characteristic sensor, and the analog-to-digital converter is used to perform analog-to-digital conversion on the first dielectric characteristic signal of the target paper product collected by the dielectric characteristic sensor To obtain a first grayscale image of the original dielectric characteristic; also used to perform analog-to-digital conversion on the second dielectric characteristic signal of the sample paper product collected by the dielectric characteristic sensor to obtain a second original dielectric Characteristic grayscale image;
    滤波器,一端与所述模数转换器相连,另一端与所述图像处理器相连,用于对所述第一原始介电特性灰度图像执行降噪处理,得到所述第一介电特性灰度图像;还用于对所述第二原始介电特性灰度图像执行降噪处理,得到所述第二介电特性灰度图像。A filter, one end of which is connected to the analog-to-digital converter and the other end of which is connected to the image processor, is used to perform noise reduction processing on the first original dielectric characteristic grayscale image to obtain the first dielectric characteristic Grayscale image; also used to perform noise reduction processing on the second original dielectric characteristic grayscale image to obtain the second dielectric characteristic grayscale image.
  10. 根据权利要求8所述的装置,其特征在于,所述图像处理器包括:The apparatus according to claim 8, wherein the image processor comprises:
    图像二值化处理器,一端与所述图像生成模块相连,所述二值化处理器用于对所述第一介电特性灰度图像进行二值化处理,得到第一目标介电特性灰度图像;还用于对所述第二介电特性灰度图像进行二值化处理,得到第二目标介电特性灰度图像;An image binarization processor, one end of which is connected to the image generation module, and the binarization processor is used to binarize the first dielectric characteristic grayscale image to obtain a first target dielectric characteristic grayscale Image; also used for binarizing the second dielectric characteristic grayscale image to obtain a second target dielectric characteristic grayscale image;
    第一比较器,一端与所述二值化处理器相连,另一端与所述提示器相连,用于对所述第一介电特性灰度图像与所述第二介电特性灰度图像执行比对处理。A first comparator, one end of which is connected to the binarization processor, and the other end is connected to the prompter, which is used to execute the first dielectric characteristic grayscale image and the second dielectric characteristic grayscale image Compare processing.
  11. 根据权利要求8所述的装置,其特征在于,所述图像处理器包括:The apparatus according to claim 8, wherein the image processor comprises:
    第二比较器,用于比对所述第一介电特性灰度图像的第一区域的 灰度值,及在所述第二介电特性灰度图像中与所述第一区域对应的第二区域的灰度值,得到所述比对结果。A second comparator for comparing the gray value of the first region of the first dielectric characteristic gray image, and the first corresponding to the first region in the second dielectric characteristic gray image The gray value of the two regions, the comparison result is obtained.
  12. 根据权利要求11所述的装置,其特征在于,所述第一区域在所述第一介电特性灰度图像中所在的位置与所述第二区域在所述第二介电特性灰度图像中所在的位置相同,所述第二比较器还用于执行以下步骤:The device according to claim 11, wherein the position of the first region in the first dielectric characteristic grayscale image and the second region in the second dielectric characteristic grayscale image The same position is in, the second comparator is also used to perform the following steps:
    依次比对所述第一区域中第i个像素的灰度值与所述第二区域中第i个像素的灰度值,所述i为小于等于N,且大于等于1的正整数;所述N为所述第一区域中的像素的总数,且所述N为所述第二区域中的像素的总数,所述N为正整数;Sequentially comparing the gray value of the i-th pixel in the first area with the gray value of the i-th pixel in the second area, where i is a positive integer less than or equal to N and greater than or equal to 1; Said N is the total number of pixels in the first area, and N is the total number of pixels in the second area, and N is a positive integer;
    在所述第一区域中像素的灰度值与所述第二区域中像素的灰度值出现不同的情况下,则确定所述比对结果为所述目标纸质品经鉴别为假。When the gray value of the pixel in the first area and the gray value of the pixel in the second area are different, it is determined that the comparison result is that the target paper product is identified as false.
  13. 根据权利要求11所述的装置,其特征在于,所述第一区域在所述第一介电特性灰度图像中所在的位置与所述第二区域在所述第二介电特性灰度图像中所在的位置相同,所述第二比较器还用于执行以下步骤:The device according to claim 11, wherein the position of the first region in the first dielectric characteristic grayscale image and the second region in the second dielectric characteristic grayscale image The same position is in, the second comparator is also used to perform the following steps:
    重复执行以下步骤,直至遍历所述第一区域中所有的像素的灰度值与所述第二区域中所有的像素的灰度值:比对所述第一区域中第i个像素的灰度值与所述第二区域中第i个像素的灰度值,所述i为小于等于N,且大于等于1的正整数;所述N为所述第一区域中的像素的总数,且所述N为所述第二区域中的像素的总数,所述N为正整数;在所述第一区域中第i个像素的灰度值与所述第二区域中第i个像素的灰度值不同的情况下,对参数M加1,其中,所述参数M用于记录所述第一区域中像素的灰度值与所述第二区域中像素的灰度值不同的像素个数,所述M为大于等于0的正整数;Repeat the following steps until the gray values of all pixels in the first area and the gray values of all pixels in the second area are traversed: compare the gray values of the i-th pixel in the first area And the gray value of the i-th pixel in the second area, where i is a positive integer less than or equal to N and greater than or equal to 1; the N is the total number of pixels in the first area, and Said N is the total number of pixels in the second area, and N is a positive integer; the gray value of the i-th pixel in the first area and the gray value of the i-th pixel in the second area When the values are different, add 1 to the parameter M, where the parameter M is used to record the number of pixels with different gray values of the pixels in the first area and the gray values of the pixels in the second area, The M is a positive integer greater than or equal to 0;
    在所述参数M小于第一阈值的情况下,则确定所述比对结果为所述目标纸质品经鉴别为真;If the parameter M is less than the first threshold, it is determined that the comparison result is that the target paper product is identified as true;
    在所述参数M大于等于所述第一阈值的情况下,则确定所述比对结果为所述目标纸质品经鉴别为假。If the parameter M is greater than or equal to the first threshold, it is determined that the comparison result is that the target paper product is identified as false.
  14. 一种存储介质,所述存储介质存储有计算机程序,其中,所述计算机程序运行时执行上述权利要求1至7任一项中所述的方法。A storage medium storing a computer program, wherein the computer program executes the method described in any one of claims 1 to 7 when the computer program runs.
PCT/CN2019/097377 2018-11-09 2019-07-24 Method and device for authenticating paper product, and storage medium WO2020093732A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811332875.6 2018-11-09
CN201811332875.6A CN109345685A (en) 2018-11-09 2018-11-09 Paper product discrimination method and device and storage medium

Publications (1)

Publication Number Publication Date
WO2020093732A1 true WO2020093732A1 (en) 2020-05-14

Family

ID=65312959

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/097377 WO2020093732A1 (en) 2018-11-09 2019-07-24 Method and device for authenticating paper product, and storage medium

Country Status (2)

Country Link
CN (1) CN109345685A (en)
WO (1) WO2020093732A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109345685A (en) * 2018-11-09 2019-02-15 威海华菱光电股份有限公司 Paper product discrimination method and device and storage medium
CN110276881A (en) * 2019-05-10 2019-09-24 广东工业大学 A kind of banknote serial number recognition methods based on convolution loop neural network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890840A (en) * 2012-08-22 2013-01-23 山东新北洋信息技术股份有限公司 Method and device for identifying paper money
US20130034290A1 (en) * 2011-08-01 2013-02-07 Samsung Electronics Co., Ltd. Method of identifying a counterfeit bill using a portable terminal
JP2013206440A (en) * 2012-03-29 2013-10-07 Glory Ltd Bill identification device, bill identification method and bill identification program
CN107085883A (en) * 2017-03-15 2017-08-22 深圳怡化电脑股份有限公司 A kind of method and apparatus of paper money recognition
CN108510638A (en) * 2017-02-24 2018-09-07 深圳怡化电脑股份有限公司 Paper Currency Identification and device
CN109345685A (en) * 2018-11-09 2019-02-15 威海华菱光电股份有限公司 Paper product discrimination method and device and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346857A (en) * 2013-08-02 2015-02-11 北京嘉岳同乐极电子有限公司 Magnetic imaging method and device
CN105243731B (en) * 2015-09-17 2017-07-18 华中科技大学 A kind of multinational banknote image identifying device of spectrum self adaptation, system and method
CN107610322B (en) * 2017-10-11 2020-02-07 深圳怡化电脑股份有限公司 Banknote version identification method and device, electronic equipment and storage medium
CN108091033B (en) * 2017-12-26 2020-10-20 深圳怡化电脑股份有限公司 Paper money identification method and device, terminal equipment and storage medium
CN209625317U (en) * 2018-11-09 2019-11-12 威海华菱光电股份有限公司 Paper product identification device and paper discriminating apparatus and cash inspecting machine

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130034290A1 (en) * 2011-08-01 2013-02-07 Samsung Electronics Co., Ltd. Method of identifying a counterfeit bill using a portable terminal
JP2013206440A (en) * 2012-03-29 2013-10-07 Glory Ltd Bill identification device, bill identification method and bill identification program
CN102890840A (en) * 2012-08-22 2013-01-23 山东新北洋信息技术股份有限公司 Method and device for identifying paper money
CN108510638A (en) * 2017-02-24 2018-09-07 深圳怡化电脑股份有限公司 Paper Currency Identification and device
CN107085883A (en) * 2017-03-15 2017-08-22 深圳怡化电脑股份有限公司 A kind of method and apparatus of paper money recognition
CN109345685A (en) * 2018-11-09 2019-02-15 威海华菱光电股份有限公司 Paper product discrimination method and device and storage medium

Also Published As

Publication number Publication date
CN109345685A (en) 2019-02-15

Similar Documents

Publication Publication Date Title
CN110598699B (en) Anti-counterfeiting bill authenticity distinguishing system and method based on multispectral image
CN107016363A (en) Bill images managing device, bill images management system and method
CN109214821B (en) Identity remote authentication method and terminal equipment
US20060282383A1 (en) Payment methods and systems enhanced with image comparison for detecting fraudulent checks
JP2020525947A (en) Manipulated image detection
CN107610322B (en) Banknote version identification method and device, electronic equipment and storage medium
CN100431332C (en) Apparatus and method for detecting secure document
JPH01161490A (en) Image decomposing copy reference system
CN107038794B (en) Method, device and equipment for identifying authenticity of paper money and storage medium
WO2020093732A1 (en) Method and device for authenticating paper product, and storage medium
CN106803091B (en) Method and system for identifying currency value of paper money
CN105046808A (en) Banknote multi-spectral high-resolution image acquisition system and acquisition method
CN101540075B (en) Banknote storage method and deposit machine
CN106599923B (en) Method and device for detecting seal anti-counterfeiting features
CN106920266B (en) The Background Generation Method and device of identifying code
Wu et al. A printer forensics method using halftone dot arrangement model
US11842593B2 (en) Systems and methods for detection of counterfeit documents
KR20130088427A (en) Apparatus and method for high speedy processing a bill
US10346813B2 (en) Intelligent check deposit machine
CN109543554B (en) Bill detection method, device, terminal and computer readable storage medium
CN209625317U (en) Paper product identification device and paper discriminating apparatus and cash inspecting machine
CN108615218B (en) Printed quantum dot watermark detection method based on pseudo-random information spatial modulation
CN111563845A (en) Bill surface scratch detection method, device, equipment and storage medium
JP2002092683A (en) Device for discriminating between true and false medium
CN104008597A (en) Authenticity test method for marketable security and related device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19882186

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19882186

Country of ref document: EP

Kind code of ref document: A1