CN107437295B - Method and device for correcting scanning module of paper money processing device - Google Patents

Method and device for correcting scanning module of paper money processing device Download PDF

Info

Publication number
CN107437295B
CN107437295B CN201610355444.6A CN201610355444A CN107437295B CN 107437295 B CN107437295 B CN 107437295B CN 201610355444 A CN201610355444 A CN 201610355444A CN 107437295 B CN107437295 B CN 107437295B
Authority
CN
China
Prior art keywords
image
scanning module
scanning
module
paper money
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610355444.6A
Other languages
Chinese (zh)
Other versions
CN107437295A (en
Inventor
许春凯
邢月启
张连峰
王春涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong New Beiyang Information Technology Co Ltd
Original Assignee
Shandong New Beiyang Information Technology Co Ltd
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 Shandong New Beiyang Information Technology Co Ltd filed Critical Shandong New Beiyang Information Technology Co Ltd
Priority to CN201610355444.6A priority Critical patent/CN107437295B/en
Publication of CN107437295A publication Critical patent/CN107437295A/en
Application granted granted Critical
Publication of CN107437295B publication Critical patent/CN107437295B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D11/00Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
    • G07D11/50Sorting or counting valuable papers
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D11/00Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
    • G07D11/10Mechanical details
    • G07D11/16Handling of valuable papers

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Inspection Of Paper Currency And Valuable Securities (AREA)
  • Image Input (AREA)

Abstract

The invention provides a method and a device for correcting a scanning module of a paper money processing device, wherein the method comprises the following steps: controlling a scanning module to scan the reference paper money to obtain an image of the reference paper money, wherein the scanning module comprises a first scanning module and/or a second scanning module; acquiring an image of a reference plane from the image of the reference banknote, wherein one surface of the reference banknote is set as the reference plane; and correcting the scanning module facing the reference surface according to the image of the reference surface. The scanning module correction method and device of the paper money processing device can solve the problem that the paper money processing result is inconsistent when the same paper money enters the conveying channel downwards at different surfaces in the paper money processing device in the prior art.

Description

Method and device for correcting scanning module of paper money processing device
Technical Field
The invention relates to the field of paper money processing, in particular to a method and a device for correcting a scanning module of a paper money processing device.
Background
The scanning module is arranged in the existing paper money processing device and comprises a first scanning module and a second scanning module which are respectively positioned at two sides of a conveying channel, the first scanning module is used for scanning one surface of the front surface and the back surface of paper money, and the second scanning module is used for scanning the other surface of the front surface and the back surface of the paper money. The paper money processing device extracts the characteristic value of the paper money according to the scanned front and back images of the paper money, and performs the processes of counterfeit discrimination, sorting, counting and the like according to the characteristic value of the paper money.
Because the images output by the first scanning module and the second scanning module of the banknote processing apparatus may change along with the change of the working environment, the aging of devices, and other reasons, a user needs to regularly correct the scanning module of the banknote processing apparatus, the correction of the scanning module refers to controlling the scanning module to scan a preset reference sample sheet, detecting the change of the image output value of the banknote processing apparatus due to various reasons, obtaining a correction coefficient by calculating the change of the image output value, and adjusting a control parameter of the scanning module according to the correction coefficient, or adjusting the image compensation coefficient of the scanning module according to the correction coefficient, wherein the image compensation coefficient of the scanning module is used for compensating the change of the image output by the scanning module when the banknote processing apparatus performs banknote processing.
The related art discloses a paper money processing device, a first scanning module and a second scanning module are respectively arranged on two sides of a conveying channel of the paper money processing device, a first correction sheet opposite to the first scanning module and a second correction sheet opposite to the second scanning module are arranged in the conveying channel, when a correction instruction sent by a user or a control device is received, the first scanning module performs correction by scanning the first correction sheet, and the second scanning module performs correction by scanning the second correction sheet.
When two scanning modules are respectively corrected through two correcting sheets, because two correcting sheets inevitably have some errors, the correction benchmarks of the two scanning modules are different, and in the use process of the paper money processing device, if a certain correcting sheet is stained with dust or foreign matters, stains are generated on the surface of the correcting sheet, and the difference of the two correcting sheets is larger. When the calibration standards of the two scanning modules are not consistent, the output banknote images have differences when the two scanning modules are used for scanning the same surface of one banknote respectively after the scanning modules are calibrated. When the same paper money enters the conveying channel in different downward directions, images of the same surface of the paper money scanned by the two scanning modules can have difference, so that the paper money processing result is influenced.
Aiming at the problem that the same paper money in the paper money processing device in the prior art has inconsistent paper money processing results when the same paper money enters the conveying channel downwards in different directions, no effective solution is provided at present.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method and an apparatus for calibrating a scanning module of a banknote processing apparatus, so as to solve the problem that the banknote processing result is inconsistent when the same banknote enters a transport path from different downward sides in the banknote processing apparatus in the prior art.
In a first aspect, an embodiment of the present invention provides a method for correcting a scanning module of a banknote processing apparatus, where the method includes: controlling a scanning module to scan the reference paper money to obtain an image of the reference paper money, wherein the scanning module comprises a first scanning module and/or a second scanning module; acquiring an image of a reference plane from the image of the reference banknote, wherein one surface of the reference banknote is set as the reference plane; and correcting the scanning module facing the reference surface according to the image of the reference surface.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where controlling a scanning module to scan a reference banknote to obtain an image of the reference banknote includes: controlling the first scanning module to scan one surface of the reference paper currency to obtain a first image, and controlling the second scanning module to scan the other surface of the reference paper currency to obtain a second image; acquiring an image of a reference surface from the image of the reference banknote, comprising: detecting whether the first image and the second image respectively contain characteristic values for determining a reference plane; and taking the image containing the characteristic value as an image of a reference plane.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the controlling a scanning module to scan a reference banknote to obtain an image of the reference banknote includes: controlling a set scanning module to scan one surface of the reference paper money to obtain a third image, wherein the set scanning module comprises the first scanning module or the second scanning module; acquiring an image of a reference surface from the image of the reference banknote, comprising: and taking the third image as an image of a reference plane.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where correcting, according to an image of the reference plane, a scanning module that the reference plane faces includes: comparing and analyzing the image parameters corresponding to the image of the reference surface with preset standard image parameters to obtain a correction coefficient; and adjusting the scanning parameters of the scanning module faced by the reference surface according to the correction coefficient, or adjusting the image compensation coefficient of the scanning module faced by the reference surface according to the correction coefficient.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where after respectively detecting whether feature values used for determining a reference plane are included in the first image and the second image, the method further includes: and if the first image and the second image do not contain the characteristic value for determining the reference surface, controlling the first scanning module and the second scanning module to scan the reference paper money again.
With reference to the foregoing implementation manner of the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where the method further includes: withdrawing the reference paper money from the conveying channel and prompting a user to change the face of the reference paper money; and controlling an uncorrected scanning module to execute scanning action, and correcting the uncorrected scanning module according to the image obtained by scanning.
In a second aspect, an embodiment of the present invention provides a scanning module calibration apparatus for a banknote handling apparatus, the apparatus including: the scanning control module is used for controlling the scanning module to scan the reference paper money to obtain an image of the reference paper money, wherein the scanning module comprises a first scanning module and/or a second scanning module; the acquisition module is used for acquiring an image of a reference surface according to the image of the reference banknote, wherein one surface of the reference banknote is set as the reference surface; and the first correction module is used for correcting the scanning module facing the reference surface according to the image of the reference surface.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the scan control module includes: the first control unit is used for controlling the first scanning module to scan one surface of the reference paper money to obtain a first image, and controlling the second scanning module to scan the other surface of the reference paper money to obtain a second image; the acquisition module includes: a feature value detection unit configured to detect whether or not feature values for specifying a reference plane are included in the first image and the second image, respectively; a first determination unit configured to use an image including the feature value as an image of a reference plane.
With reference to the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the scan control module includes: the second control unit is used for controlling a set scanning module to scan one surface of the reference paper money to obtain a third image, wherein the set scanning module comprises the first scanning module or the second scanning module; the acquisition module includes: a second determination unit configured to use the third image as an image of a reference plane.
With reference to the second aspect, an embodiment of the present invention provides a third possible implementation manner of the second aspect, where the first correction module includes: the parameter comparison unit is used for comparing and analyzing the image parameters corresponding to the image of the reference surface with preset standard image parameters to obtain a correction coefficient; and the coefficient adjusting unit is used for adjusting the scanning parameters of the scanning module faced by the reference surface according to the correction coefficient, or adjusting the image compensation coefficient of the scanning module faced by the reference surface according to the correction coefficient.
With reference to the first possible implementation manner of the second aspect, an embodiment of the present invention provides a fourth possible implementation manner of the second aspect, where the obtaining module further includes: and the rescanning unit is used for controlling the first scanning module and the second scanning module to rescan the reference paper money if the first image and the second image do not contain the characteristic value for determining the reference surface.
With reference to the foregoing implementation manner of the second aspect, an embodiment of the present invention provides a fifth possible implementation manner of the second aspect, where the apparatus further includes: the face replacement module is used for enabling the reference paper money to exit the conveying channel and prompting a user to replace the face of the reference paper money; and the second correction module is used for controlling the uncorrected scanning module to execute scanning action and correcting the uncorrected scanning module according to the image obtained by scanning.
The scanning module correction method and device of the paper money processing device in the embodiment of the invention set one surface of a reference paper money as a reference surface, scan the reference paper money to obtain an image of the reference paper money, acquire the image of the reference surface according to the image of the reference paper money, and correct a scanning module facing the reference surface according to the image of the reference surface. According to the scanning module correction method and device of the paper currency processing device, for any scanning module in the paper currency processing device, the correction reference is the image of the reference surface of the reference paper currency, and the correction reference of the first scanning module and the second scanning module is ensured to be consistent, so that for any surface of the paper currency, the image of the surface output by the paper currency processing device is the same no matter whether the first scanning module or the second scanning module is used for scanning the surface, namely, the processing result output by the paper currency processing device is the same no matter which surface the paper currency enters the conveying channel, and the paper currency processing result is not influenced by the paper currency facing. Therefore, the scanning module correction method and device of the paper money processing device can effectively solve the problem that the paper money processing result is inconsistent when the same paper money enters the conveying channel downwards at different surfaces in the paper money processing device in the prior art.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a schematic view of a module composition of a paper money processing apparatus according to an embodiment of the present invention;
FIG. 2 is a schematic configuration diagram of a bill handling apparatus according to an embodiment of the present invention;
FIG. 3 is a first flowchart of a calibration method for a scanning module of a banknote handling apparatus according to an embodiment of the invention;
FIG. 4A is a first schematic view of a reference banknote as it is transported in a transport path of a banknote handling apparatus in accordance with an embodiment of the present invention;
FIG. 4B is a second schematic view of a reference banknote as it is transported in a transport path of a banknote handling apparatus in accordance with an embodiment of the present invention;
FIG. 5 is a second flowchart of a calibration method for a scanning module of a banknote handling apparatus according to an embodiment of the invention;
FIG. 6 is a schematic view of a first module of the scanner module corrector of the paper money handling apparatus according to the embodiment of the present invention;
FIG. 7 is a schematic view of a second module of the scanner module corrector of the paper money processing apparatus according to the embodiment of the present invention;
FIG. 8 is a schematic view showing a third module composition of the scan module corrector in the paper money processing apparatus according to the embodiment of the present invention;
FIG. 9 is a schematic view of a fourth module of the scanner module corrector in the paper money processing apparatus according to the embodiment of the present invention.
The reference numerals in fig. 2 are as follows:
the coin inlet 21, the conveying channel 31, the first sensor 151, the second sensor 152, the first image sensor 131, the second image sensor 141 and the conveying roller assembly 123.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the problem that the processing result of the same banknote is inconsistent when the same banknote enters the conveying channel downward in different directions in the banknote processing device in the prior art, embodiments of the present invention provide a method and a device for correcting a scanning module of the banknote processing device, which are described below by embodiments.
Fig. 1 is a schematic view of a block composition of a paper money processing apparatus according to an embodiment of the present invention, which may be a sorter, a cash counter, a cash checker, etc. As shown in fig. 1, the banknote handling apparatus 1 includes a control module 10, a communication module 11, a transport module 12, a first scanning module 13, a second scanning module 14, a detection module 15, a storage module 16, and an indication module 17.
The control module 10 is used for controlling other modules to perform work, for example, the control module 10 controls the communication module 11 to receive a control command sent by the upper computer, the control module 10 controls the conveying module 12 to drive the paper money to move in the conveying channel of the paper money processing device 1, and the control module 11 controls the first scanning module 13 and the second scanning module 14 to scan the paper money.
The communication module 11 is used for performing data transmission between the banknote processing device 1 and the upper computer, for example, the communication module 11 receives a control command for performing correction sent by the upper computer.
The transport module 12 is used for driving the paper money to move in the transport path of the paper money processing apparatus 1, and the transport module 12 includes a motor driver 121, a transport motor 122, and a transport roller assembly 123 disposed in the transport path. The motor driver 121 is used for outputting the current required by the rotation of the output shaft of the conveying motor 122 according to the control signal output by the control module 10, the output shaft of the conveying motor 122 is in transmission connection with the conveying roller assembly 123, and when the output shaft of the conveying motor 122 rotates, the conveying roller assembly 123 rotates along with the output shaft, so that the paper money is driven to move in the conveying channel.
The first scanning module 13 is used to scan one of the front and back sides of the banknote to obtain an image of the one side. As shown in fig. 1, the first scanning module 13 includes a first image sensor 131 and a first analog front-end chip 132. The first image sensor 131 is configured to collect an optical image of the banknote and convert the acquired optical signal into an analog electrical signal, i.e., an analog image signal. The first Image Sensor 131 is a linear Image Sensor, which may be a Charge-coupled Device (CCD) or a Contact Image Sensor (CIS), and in this embodiment, the first Image Sensor 131 is a CIS. The first image sensor 131 includes a light emitter and a photosensitive array, the light emitted from the light emitter irradiates on the paper money to form reflected light, further, the light emitter includes a plurality of sub-light emitters, such as an ultraviolet light emitter, a white light emitter and an infrared light emitter, wherein the ultraviolet light emitter is used for emitting ultraviolet light irradiating on the paper money, the white light emitter is used for emitting white light irradiating on the paper money, the infrared light emitter is used for emitting infrared light irradiating on the paper money, each sub-light emitter is a line light source extending along a main scanning direction (i.e. a direction perpendicular to a paper money conveying direction), the line light source can be a line light source formed by arranging a plurality of point light sources at intervals, and can also be a line light source converted by a light guide strip; the photosensitive array is formed by arranging a plurality of photoreceptors, the photoreceptors are used for receiving light emitted by a light emitter reflected by paper money and converting the light into analog image signals, so that the reflected image of the paper money is collected, wherein the ultraviolet light reflected image of the paper money is collected when the photoreceptors receive ultraviolet light reflected by the paper money, the white light reflected image of the paper money is collected when the photoreceptors receive white light reflected by the paper money, the infrared light reflected image of the paper money is collected when the photoreceptors receive infrared light reflected by the paper money, the photoreceptors are arranged along the main scanning direction, and each photoreceptor corresponds to one pixel point in one-point row pixel points of the paper money image.
The first analog front-end chip 132 is configured to process the analog voltage value of each pixel output by the first image sensor 131, such as offset processing and gain processing, and then perform AD conversion on the analog voltage value of each pixel to obtain a hexadecimal gray value corresponding to the pixel one by one, so as to generate digital image data of the banknote.
The second scanning module 14 is used to scan the other of the face and the reverse of the banknote to obtain an image of that face. The second scanning module 14 includes a second image sensor 141 and a second analog front end chip 142, and since the second scanning module 14 and the first scanning module 13 have the same composition and working principle, wherein the second image sensor 141 and the first image sensor 131 have the same composition and working principle, and the second analog front end chip 142 and the first analog front end chip 132 have the same composition and working principle, the composition and working principle of each part of the second scanning module 14 will not be described in detail.
The detection module 15 is used for detecting the position of the paper money in the conveying channel, the detection module 15 includes a first sensor 151 and a second sensor 152, the first sensor 151 and the second sensor 152 may be reflective sensors or transmissive sensors, each sensor includes a light generator and a light receiver, the light receiver receives light generated by the light generator and converts the light into an electrical signal, and when the paper money is located at the detection position of the sensor and the paper money is not located at the detection position of the sensor, the light receiver outputs different detection signals. The control module 10 can determine whether there is a banknote covering the sensor at the current time by detecting the detection signals output by the light receivers of the first sensor 151 and the second sensor 152, thereby determining the position of the banknote in the transportation path.
The storage module 16 is used for storing the control program of the banknote handling device 1 and data and variables generated during the operation of the control program, for example, the storage module 16 is used for storing the first distance L1, the second distance L2, the third distance L, the preset gray-level value a, the preset contrast B, and the like. The first distance L1 is a distance between the detection position of the second sensor 152 and the scanning position of the first scanning module 13, the second distance L2 is a distance between the detection position of the second sensor 152 and the scanning position of the second scanning module 14, the scanning position of the first scanning module 13 is a position of the photosensitive array of the first image sensor 131 in the transport path, the scanning position of the second scanning module 14 is a position of the photosensitive array of the second image sensor 141 in the transport path, the third distance L is a length of the reference banknote, the reference banknote is a banknote meeting a preset standard, the preset grayscale value a is a standard grayscale value of an image of a reference surface of the reference banknote, the preset contrast B is a standard contrast of an image of a reference surface of the reference banknote, and the reference surface of the reference banknote is a front surface or a front surface of the preset reference banknote.
The indication module 17 is used for sending out the indication information of replacing the reference paper money and the indication information of re-conveying the reference paper money in the modes of light, sound and the like according to the requirements of the control module 10, and the indication module 17 can be an indication lamp, a liquid crystal display screen, a buzzer, a voice device and the like.
Fig. 2 is a schematic structural diagram of a banknote handling apparatus according to an embodiment of the present invention, which is a banknote sorting machine, as shown in fig. 2, the banknote handling apparatus 1 includes a banknote inlet 21, the banknote inlet 21 is located at a starting end of a conveying channel 31, banknotes enter the conveying channel from the banknote inlet 21, a first sensor 151, a second sensor 152, a first image sensor 131 and a second image sensor 141 are sequentially arranged along a banknote inlet direction, the first sensor 151 is located at an inlet of the conveying channel 31, the first image sensor 131 and the second image sensor 141 are respectively located at two sides of the conveying channel 31, a plurality of sets of conveying roller assemblies 123 are disposed in the conveying channel 31, wherein each set of conveying roller assemblies 123 includes a driving roller and a driven roller which are oppositely disposed, each driving roller is in transmission connection with a conveying motor 122, and each driving roller rotates along with an output shaft of the conveying motor 122, the driving roller rotates the driven roller disposed opposite thereto, thereby driving the paper money to move in the conveyance path 31. While the bill moves in the conveyance path 31, one of the obverse and reverse surfaces thereof is opposed to the photosensitive array of the first image sensor 131, and the other of the obverse and reverse surfaces thereof is opposed to the photosensitive array of the second image sensor 141. The distance between the detection position of the second sensor 152 and the scanning position of the first scanning module 13 is a first distance L1, the distance between the detection position of the second sensor 152 and the scanning position of the second scanning module 14 is a second distance L2, that is, the distance between the detection position of the second sensor 152 and the photosensitive array of the first image sensor 131 is a first distance L1, and the distance between the detection position of the second sensor 152 and the photosensitive array of the second image sensor 141 is a second distance L2.
Fig. 3 is a first flowchart of a scan module calibration method of a banknote handling apparatus according to an embodiment of the present invention, as shown in fig. 3, the method includes the following steps:
step S302, controlling a scanning module to scan the reference paper money to obtain an image of the reference paper money, wherein the scanning module comprises a first scanning module and/or a second scanning module.
In view of the fact that the first scanning module and the second scanning module are respectively arranged on two sides of the conveying channel in the paper money processing device, in the step, not only can the first scanning module and the second scanning module be controlled to respectively scan the reference paper money to obtain the image of the front side of the reference paper money and the image of the back side of the reference paper money, but also any one of the first scanning module and the second scanning module can be controlled to scan one side of the reference paper money to obtain the image of the front side or the image of the back side of the reference paper money.
When the first scanning module and the second scanning module are controlled to respectively scan the reference paper money to obtain the image of the front side and the image of the back side of the reference paper money, the steps are specifically executed as follows: and controlling the first scanning module to scan one surface of the reference paper money to obtain a first image, and controlling the second scanning module to scan the other surface of the reference paper money to obtain a second image. Wherein the second image is an image of the back side of the reference banknote when the first image is an image of the front side of the reference banknote, and the second image is an image of the front side of the reference banknote when the first image is an image of the back side of the reference banknote.
When any one of the first scanning module and the second scanning module is controlled to scan one surface of the reference paper currency to obtain an image of the front surface or an image of the back surface of the reference paper currency, the method specifically comprises the following steps: and controlling a set scanning module to scan one surface of the reference paper money to obtain a third image, wherein the set scanning module comprises a first scanning module or a second scanning module, and the third image is an image of the front surface or the back surface of the reference paper money.
Taking the banknote processing apparatus in fig. 2 as an example, when the first scanning module and the second scanning module are controlled to scan the reference banknote respectively, the operation process of the banknote processing apparatus is as follows: when the reference banknote is fed into the conveying channel, the control module 10 controls the conveying module 12 to drive the reference banknote to move in the banknote feeding direction in the conveying channel (i.e. to move from the banknote feeding port to the conveying channel), during the movement of the reference banknote, the control module 12 detects a detection signal output by the second sensor 152, when the control module 10 detects that the second sensor 152 is changed from an uncovered state to a covered state, the leading edge of the reference banknote is judged to reach the detection position of the second sensor 152, at this time, the control module 10 controls the conveying module 12 to continuously drive the reference banknote to move in the banknote feeding direction and record the movement distance of the reference banknote, when the movement distance recorded to the reference banknote is the first distance L1, the leading edge of the reference banknote is judged to reach the scanning position of the first scanning module 13, and the first scanning module 13 is controlled to scan the surface of the reference banknote opposite to the leading edge, when the moving distance of the reference banknote is recorded as the second distance L2, where the first distance L1 is the distance between the detection position of the second sensor 152 and the scanning position of the first scanning module 13, and the second distance L2 is the distance between the detection position of the second sensor 152 and the scanning position of the second scanning module 14, it is determined that the leading edge of the reference banknote has reached the scanning position of the second scanning module 14, and the second scanning module 14 is controlled to scan the surface of the reference banknote opposite thereto.
When the first scanning module is controlled to scan the reference paper currency, the working process of the paper currency processing device is as follows: when the reference banknote is fed into the transport path, the control module 10 controls the transport module 12 to transport the leading edge of the reference banknote to the scanning position of the first scanning module 13 by using the method described above, and controls the first scanning module 13 to scan the surface of the reference banknote opposite thereto.
When the second scanning module is controlled to scan the reference paper currency, the working process of the paper currency processing device is as follows: when the reference banknote is fed into the conveying channel, the control module 10 controls the conveying module 12 to convey the leading edge of the reference banknote to the scanning position of the second scanning module 14 by adopting the method, and controls the second scanning module 14 to scan the surface of the reference banknote opposite to the leading edge.
In this step, a specific process of scanning the reference banknote by the scanning module is described by taking the first scanning module 13 as an example. The control module 10 controls the transport module 12 to drive the reference banknote to move in the banknote feeding direction in the transport channel, when the transport module 12 drives the reference banknote to move for each minimum unit distance, the control module 10 controls the preset sub-illuminator of the first image sensor 131 to emit light for a preset time, controls the photosensitive array of the first image sensor 131 to collect analog image signals of a dot row of pixels, and controls the first analog front-end chip 132 to convert the analog image signals output by the first image sensor 131 into digital image signals, so as to obtain image data of the dot row of pixels of the reference banknote, and when the whole reference banknote passes through the scanning position of the first scanning module 13 from head to tail, the first scanning module 13 completes scanning of the surface of the reference banknote opposite to the reference banknote.
Since the first scanning module 13 is controlled to scan the reference banknote when the leading edge of the reference banknote reaches the scanning position of the first scanning module 13, when the first scanning module 13 is activated to scan the reference banknote, the control module 10 records the moving distance of the reference banknote during scanning, and determines that the entire reference banknote passes through the scanning position of the first scanning module 13 when the moving distance recorded to the reference banknote is a third distance L, where the third distance L is the length of the reference banknote.
Since the first image sensor 131 may include a plurality of sub-illuminators, when the transport module 12 drives the reference banknote to move a minimum unit distance, the control module 10 may sequentially control the sub-illuminators of the first image sensor 131 to emit light in turn for a preset time, and control the photosensitive array of the first image sensor 131 to collect analog image signals of a dot row of pixels when each light source emits light, when the transport module 12 drives the whole reference banknote to pass through the scanning position of the first scanning module 13 from head to tail, the first scanning module 13 may obtain a plurality of images of the surface of the reference banknote opposite to the whole reference banknote, where each image corresponds to one light source, for example, when the infrared illuminator irradiates the reference banknote, the first scanning module 13 obtains an infrared reflection image of the corresponding surface of the reference banknote, when the ultraviolet illuminator irradiates the reference banknote, the first scanning module 13 acquires an ultraviolet reflection image of the corresponding surface of the reference banknote.
Since the scanning process of the second scanning module 14 is the same as that of the first scanning module 13, the scanning process of the second scanning module 14 is not described herein again.
Considering that the banknote handling apparatus needs to distinguish whether the banknotes transported to the transport path are for normal processing or for correcting the scanning module, therefore, before this step, the control module 10 needs to determine whether a control command for performing the correction is received, for example, the control module 10 detects the data received by the communication module 11, determines whether a control command for performing the correction is received, when it is judged that the control command to perform the correction is received, the control module 10 judges whether or not the reference banknote is fed into the conveyance path, in which the control module 10 detects a detection signal output from the first sensor 151 to determine whether the reference bills are fed into the transport path, for example, when the control module 10 detects that the first sensor 151 changes from the uncovered state to the covered state, the determination reference banknote is fed into the transport path, and at this time, the control module 10 controls the transport module 12 to drive the reference banknote to move in the banknote feeding direction in the transport path.
Step S304, acquiring an image of a reference surface according to the image of the reference banknote, wherein one surface of the reference banknote is set as the reference surface.
The front side or the back side of the reference paper money is set as a reference surface. When the reference banknote is scanned by the first scanning module and the second scanning module respectively in step S302 to obtain the first image and the second image, the image of the reference plane is inevitably one of the first image and the second image, and the specific process of acquiring the image of the reference plane at this time is as follows: (a1) detecting whether or not the first image and the second image contain a feature value for specifying a reference plane, respectively, (a2) setting an image containing the feature value as an image of the reference plane. The reference banknote is printed with a plurality of face-related feature values, such as a crown number, an offset number, a central flower pattern, a watermark pattern, and the like, and the feature values are printed on the front surface or the back surface of the reference banknote.
For example, the front surface of the reference banknote, that is, the surface on which the crown word is located is set as the reference surface of the reference banknote, and the characteristic value for determining the reference surface is the crown word. The control module 10 analyzes the first image scanned by the first scanning module 13 and the second image scanned by the second scanning module 14, detects whether the first image includes a prefix number and detects whether the second image includes the prefix number, determines that the first image is an image of a reference plane when the first image includes the prefix number, and determines that the second image is an image of the reference plane when the second image includes the prefix number.
In view of the fact that when a fault occurs in the banknote processing apparatus, there is a possibility that the images acquired by the first scanning module and the second scanning module are abnormal, and there is a possibility that neither the first image nor the second image includes a feature value for determining the reference surface, in this case, in order to improve the fault tolerance of the banknote processing apparatus itself and ensure smooth completion of scanning of the reference banknote, in this embodiment, after detecting whether the first image and the second image include the feature value for determining the reference surface, if neither the first image nor the second image includes the feature value for determining the reference surface, the method further includes controlling the first scanning module and the second scanning module to scan the reference banknote again. For example, the control module 10 reports error information that neither the first image nor the second image includes a feature value for determining the reference plane to the upper computer, so that the upper computer sends a rescanning control instruction to the communication module 11, and the control module 10 controls the first scanning module and the second scanning module to rescan the reference banknote according to the rescanning control instruction.
In step S302, when one surface of the reference banknote is scanned by the scanning module set as described above to obtain the third image, the third image is used as an image of the reference surface. The set scanning module comprises a first scanning module or a second scanning module. For example, the set scanning module is the first scanning module 13, and the control module 10 controls the first scanning module 13 to scan the reference banknote and uses the scanned image as the image of the reference surface.
In the step, the image of the reference surface is determined in two ways, one way is that the reference surface is preset as the front side or the back side of the reference paper money, the first scanning module and the second scanning module are controlled to respectively scan the reference paper money, and the first image or the second image obtained by scanning is determined as the image of the reference surface; another mode is to set a scanning module, for example, set a first scanning module, and after the user conveys the reference banknote, control the set scanning module to scan the reference banknote, and obtain an image that is the image of the reference surface.
In step S306, the scanning module to which the reference surface faces is corrected based on the image of the reference surface.
After the image of the reference plane is determined in step S304, the scan module to which the reference plane faces is corrected based on the image of the reference plane in this step.
After the image of the reference surface is obtained, the scanning module for scanning the reference surface is the scanning module facing the reference surface. For example, when the first scanning module is controlled to scan the reference banknote to obtain the first image and the second scanning module is controlled to scan the reference banknote to obtain the second image in step S302, when the image of the reference surface is determined to be the first image in step S304, the first scanning module is the scanning module facing the reference surface, and when the image of the reference surface is determined to be the second image in step S304, the second scanning module is the scanning module facing the reference surface; in step S302, when a third image is obtained by controlling the set scanning module to scan a certain surface of the reference banknote and the third image is used as the image of the reference surface, the set scanning module is the scanning module facing the reference surface.
Fig. 4A and 4B are schematic diagrams of the reference banknote being transported in the transport path of the banknote handling apparatus according to the embodiment of the present invention, and as shown in fig. 4, the reference banknote 4 is transported in the transport path 31, and the reference banknote 4 includes a front surface 41 and a back surface 42, where the front surface 41 is set as the reference surface. In the case shown in fig. 4A, the front face 41 of the reference banknote 4 faces the second image sensor 141 and the back face 42 faces the first image sensor 131, with the reference face of the reference banknote 4 facing the second scanning module 14, and in the case shown in fig. 4B, the back face 42 of the reference banknote 4 faces the second image sensor 141 and the front face 41 faces the first image sensor 131, with the reference face of the reference banknote 4 facing the first scanning module 13.
The step of correcting the scanning module facing the reference surface according to the image of the reference surface specifically comprises the following steps:
(c1) performing comparative analysis on an image parameter corresponding to an image of a reference surface and a preset standard image parameter to obtain a correction coefficient, wherein the image parameter comprises a gray value or a contrast, and the preset standard image parameter comprises a preset gray value or a preset contrast;
(c2) and adjusting the scanning parameters of the scanning module faced by the reference surface according to the correction coefficient, or adjusting the image compensation coefficient of the scanning module faced by the reference surface according to the correction coefficient, wherein the image compensation coefficient of the scanning module faced by the reference surface is used for compensating the change of the image output by the scanning module when the paper currency processing device executes paper currency processing.
Taking the banknote handling apparatus in fig. 2 as an example, the scanning module facing the reference surface is assumed to be the first scanning module 13, and the control module 10 corrects the first scanning module 13 based on the image of the reference surface. In one case, the control module 10 calculates an average gray value a1 of the reference surface according to the gray value of each pixel in the image of the reference surface of the reference banknote, calculates a first gray correction coefficient k1 according to a preset gray value a, which is a standard gray value of the image of the reference surface of the reference banknote, and the calculated average gray value a1, and sets the value of the first gray correction coefficient k1 to k1 — a/a 1. In another case, the control module 10 calculates a contrast B1 of the image of the reference plane of the reference banknote, calculates a first contrast correction coefficient m1 from a preset contrast B, which is a standard contrast of the image of the reference plane of the reference banknote, and the calculated contrast B1, sets m1 to B/B1. The control module 10 adjusts the control parameters of the first scanning module 13 according to the first gray scale correction coefficient k1 and/or the first contrast correction coefficient m1, for example, the control module 10 adjusts the set light-emitting brightness of the sub-light-emitter of the image sensor 131 of the first scanning module 13 to k1 times of the current brightness; alternatively, the control module 10 will adjust the image compensation coefficient of the first scanning module 13 according to the first gray scale correction coefficient k1 and/or the first contrast correction coefficient m1, so that the banknote processing device can compensate the banknote image output by the first scanning module 13 by using the adjusted image compensation coefficient when performing banknote processing, for example, the control module 10 adjusts the image compensation coefficient of the first scanning module 13 to be k1 times of the current value, so that the banknote processing device can multiply the gray scale value of each pixel point in the banknote image output by the first scanning module 13 by k1 as the gray scale value of the final output banknote image when performing banknote processing.
Further, when the first scanning module 13 scans a plurality of images corresponding to a plurality of light sources of the reference banknote, the control module 10 sequentially analyzes the images and calculates a correction coefficient corresponding to each image, for example, a first gray scale correction coefficient k11 and a first contrast correction coefficient m11 corresponding to the infrared reflection image, a first gray scale correction coefficient k12 and a first contrast correction coefficient m12 corresponding to the ultraviolet reflection image, and the calculation method refers to the above process. The control module 10 adjusts the control parameters of the first scanning module 13 corresponding to the corresponding light source according to the correction coefficient corresponding to each image, or adjusts the image compensation coefficient of the first scanning module 13 corresponding to the corresponding light source according to the correction coefficient corresponding to each image, so that the banknote processing apparatus can compensate the banknote image of the corresponding light source scanned by the first scanning module 13 by using each image compensation coefficient when performing banknote processing.
Since the specific process of the control module 10 correcting the second scanning module 14 according to the image of the reference surface is similar to the specific process of the control module 10 correcting the first scanning module 13 according to the image of the reference surface when the scanning module facing the reference surface is the second scanning module 14, the detailed description of the correcting process of the second scanning module 14 is omitted here.
The scanning module correction method of the paper money processing device in the embodiment of the invention sets one surface of a reference paper money as a reference surface, scans the reference paper money to obtain an image of the reference paper money, acquires the image of the reference surface according to the image of the reference paper money, and corrects the scanning module facing the reference surface according to the image of the reference surface. According to the scanning module correction method of the paper currency processing device, for any scanning module in the paper currency processing device, the correction reference is the image of the reference surface of the reference paper currency, and the correction reference of the first scanning module and the second scanning module is ensured to be consistent, so that for any surface of the paper currency, the image of the surface output by the paper currency processing device is the same no matter whether the first scanning module or the second scanning module is used for scanning the surface, namely, the processing result output by the paper currency processing device is the same no matter which surface the paper currency enters the conveying channel, and the paper currency processing result is not influenced by the paper currency surface. Therefore, the scanning module correction method of the paper money processing device can effectively solve the problem that the paper money processing result is inconsistent when the same paper money enters the conveying channel downwards at different surfaces in the paper money processing device in the prior art.
Fig. 5 is a second flowchart of a scan module calibration method of a banknote handling apparatus according to an embodiment of the present invention, which can be used as a preferred embodiment of the embodiment in fig. 3.
Considering that the banknote handling apparatus has corrected one scanning module only based on the reference face of the reference banknote by the method in fig. 3, in order to correct the other scanning module, as shown in fig. 5, the method in this embodiment further includes, after step S306:
step S502, the reference paper money is withdrawn from the conveying channel and the user is prompted to change the facing direction of the reference paper money.
The control module 10 controls the transport module 12 to drive the reference banknote to move in the feeding path in the feeding back direction so as to withdraw the reference banknote from the transport path, for example, the control module 10 controls the transport module 12 to drive the reference banknote to move in the feeding back direction in the transport path, detects the detection signal output by the first sensor 151, and determines whether the reference banknote is withdrawn from the transport path according to the detection signal, for example, when the control module 10 determines that the first sensor 151 is changed from the covered state to the uncovered state, the reference banknote is withdrawn from the transport path.
The control module 10 controls the indication module 17 to send a prompt message for changing the orientation of the reference banknote to the user, wherein the prompt message sent by the indication module 17 may be: 1) the indicator light flickers according to a set frequency; 2) text information displayed by the liquid crystal display screen, such as 'please change the orientation of the reference paper currency and send the reference paper currency into the conveying channel again'; 3) the buzzer buzzes according to a set frequency; 4) the voice device sends out voice information such as "please change the face of the reference bill and send the reference bill into the conveying channel again".
Step S504, controlling the uncorrected scanning module to execute the scanning operation, and correcting the uncorrected scanning module according to the image obtained by scanning.
The control module 10 detects whether the reference banknote is fed into the transport path, and when it is detected that the reference banknote is fed into the transport path, the control module 10 controls the transport module 12 to transport the leading edge of the reference banknote to the scanning position of the uncorrected scanning module, and since the user has changed the facing of the reference banknote according to the prompt information when the reference banknote is fed into the transport path again, when the leading edge of the reference banknote reaches the scanning position of the uncorrected scanning module, the reference surface of the reference banknote faces the uncorrected scanning module, and at this time, the control module 10 controls the uncorrected scanning module to scan the image of the reference surface of the reference banknote. For example, the uncorrected scanning module is the second scanning module 14, the control module 10 controls the transport module 12 to transport the leading edge of the reference banknote to the scanning position of the second scanning module 14, and controls the second scanning module 14 to scan the image of the reference surface of the reference banknote.
The control module 10 corrects the uncorrected scan module based on the image of the reference plane. For example, the control module 10 corrects the second scanning module 14 based on the image of the reference plane. The specific correction process is the same as step S306.
The scanning module correcting method of the paper money processing device in the embodiment of the invention is characterized in that after one scanning module is corrected according to the reference surface of the reference paper money, the reference paper money is withdrawn from the conveying channel and the user is prompted to change the facing direction of the reference paper money, then another scanning module is controlled to scan the reference surface of the reference paper money, and another scanning module is corrected according to the image of the reference surface of the reference paper money. By the scanning module correction method of the paper money processing device, a user can be prompted to correct the two scanning modules positioned at two sides of the conveying channel based on the reference surface of the reference paper money, and the usability of the device is improved.
According to the scanning module correction method of the paper money processing device, all scanning modules in the paper money processing device are corrected based on the reference surface of the reference paper money, so that the correction reference is unique and is irrelevant to the freshness of the reference paper money provided by a user, the reference paper money can be the paper money with any freshness specified by the user, the user can easily obtain the reference paper money, and the operability of the correction work of the scanning module is ensured.
Corresponding to the above scanning module calibration method of the banknote processing apparatus, the embodiment of the present invention further provides a scanning module calibration apparatus of a banknote processing apparatus, which is used for executing the above method, and the apparatus can be integrated into the control module 10 in fig. 1.
Fig. 6 is a schematic view of a first module composition of the scanning module correcting apparatus of the paper money processing apparatus according to the embodiment of the present invention, and as shown in fig. 6, the apparatus 6 includes:
the scanning control module 61 is used for controlling the scanning module to scan the reference paper money to obtain an image of the reference paper money, wherein the scanning module comprises a first scanning module and/or a second scanning module;
an acquisition module 62 configured to acquire an image of a reference plane from an image of a reference banknote, wherein one surface of the reference banknote is set as the reference plane;
and the first correction module 63 is used for correcting the scanning module facing the reference surface according to the image of the reference surface.
In view of the fact that the first scanning module and the second scanning module are respectively arranged on two sides of the conveying channel in the paper money processing device, the scanning control module 61 can control the first scanning module and the second scanning module to respectively scan the reference paper money to obtain an image of the front surface of the reference paper money and an image of the back surface of the reference paper money, and can also control any one of the first scanning module and the second scanning module to scan one surface of the reference paper money to obtain an image of the front surface or an image of the back surface of the reference paper money.
When the scanning control module 61 controls the first scanning module and the second scanning module to scan the reference banknote respectively to obtain the image of the front side and the image of the back side of the reference banknote, as shown in fig. 7, the scanning control module 61 is implemented by the following units: the first control unit 611 is configured to control the first scanning module to scan one surface of the reference banknote to obtain a first image, and control the second scanning module to scan the other surface of the reference banknote to obtain a second image, and the obtaining module 62 is implemented by: a feature value detection unit 621 configured to detect whether feature values used to determine the reference plane are included in the first image and the second image, respectively; a first determining unit 622, configured to use the image containing the feature value as an image of the reference plane.
When the scanning control module 61 controls one of the first scanning module and the second scanning module to scan one surface of the reference banknote to obtain an image of the front surface or an image of the back surface of the reference banknote, as shown in fig. 8, the scanning control module 61 is implemented by the following units: and a second control unit 612, configured to control a set scanning module to scan one surface of the reference banknote to obtain a third image, where the set scanning module includes the first scanning module or the second scanning module. The obtaining module 62 is implemented by the following units: a second determining unit 623 configured to use the third image as an image of a reference plane.
In view of the fact that when the banknote processing apparatus fails, there is a possibility that the images acquired by the first scanning module and the second scanning module are abnormal, and there is a possibility that neither the first image nor the second image includes a feature value for determining the reference plane, in this case, in order to improve the fault tolerance of the banknote processing apparatus itself and ensure smooth completion of the reference banknote scanning, as shown in fig. 7, the acquiring module 62 further includes: and a rescanning unit 624, configured to control the first scanning module and the second scanning module to rescan the reference banknote if neither of the first image and the second image includes the feature value for determining the reference surface.
As shown in fig. 7 or fig. 8, the first correction module 63 is implemented by: the parameter comparison unit 631 is configured to compare and analyze an image parameter corresponding to the image of the reference plane with a preset standard image parameter to obtain a correction coefficient; the coefficient adjusting unit 632 is configured to adjust a scanning parameter of the scanning module faced by the reference plane according to the correction coefficient, or adjust an image compensation coefficient of the scanning module faced by the reference plane according to the correction coefficient.
The scanning module correcting device of the paper money processing device in the embodiment of the invention sets one surface of the reference paper money as a reference surface, scans the reference paper money to obtain an image of the reference paper money, acquires the image of the reference surface according to the image of the reference paper money, and corrects the scanning module facing the reference surface according to the image of the reference surface. With the scanning module calibration device of the banknote processing device according to the embodiment of the present invention, for any scanning module in the banknote processing device, the calibration standard is the image of the reference surface of the reference banknote, and it is ensured that the calibration standards of the first scanning module and the second scanning module are consistent, so that, for any surface of the banknote, the image of the surface output by the banknote processing device is the same no matter which surface is scanned by the first scanning module or the second scanning module, that is, no matter which surface the banknote enters the conveying channel, the processing result output by the banknote processing device is the same, and the banknote processing result is not affected by the orientation of the banknote. Therefore, the scanning module correcting device of the paper money processing device can effectively solve the problem that the paper money processing result is inconsistent when the same paper money enters the conveying channel downwards at different surfaces in the paper money processing device in the prior art.
Fig. 9 is a schematic view of a fourth module composition of the scan module correcting apparatus of the banknote handling apparatus according to the embodiment of the present invention, which can be taken as a preferred embodiment of the embodiments in fig. 6 to 8.
Considering that the banknote handling apparatus corrects one scanning module only based on the reference plane of the reference banknote by the apparatus of fig. 6 to 8, in order to correct the other scanning module, as shown in fig. 9, the apparatus of the present embodiment further includes: a face-to-face replacement module 91 for withdrawing the reference banknote from the transport path and prompting a user to replace the face of the reference banknote; and a second correction module 92, configured to control the uncorrected scanning module to perform a scanning operation, and correct the uncorrected scanning module according to the image obtained by scanning.
The scanning module correcting device of the paper money processing device of the embodiment of the invention, after correcting one scanning module according to the reference surface of the reference paper money, withdraws the reference paper money from the conveying channel and prompts a user to change the facing direction of the reference paper money, then controls another scanning module to scan the reference surface of the reference paper money, and corrects another scanning module according to the image of the reference surface of the reference paper money. The scanning module correcting device of the paper money processing device can prompt a user to correct two scanning modules positioned at two sides of the conveying channel based on the reference surface of the reference paper money, and improves the usability of equipment.
The scanning module correcting device of the paper money processing device provided by the embodiment of the invention can be specific hardware on equipment, or software or firmware installed on the equipment, and the like. The device provided by the embodiment of the present invention has the same implementation principle and technical effect as the method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the method embodiments without reference to the device embodiments. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided by the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the present invention in its spirit and scope. Are intended to be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. A method of calibrating a scan module of a banknote handling device, the method comprising:
judging whether a control command for executing correction is received or not, and controlling the conveying module to drive the reference paper money to move in the paper money feeding direction in the conveying channel when the control command for executing correction is judged to be received and the reference paper money is judged to be fed into the conveying channel;
the method comprises the steps that a scanning module is controlled to scan a reference paper currency to obtain an image of the reference paper currency, wherein the scanning module comprises a first scanning module and a second scanning module, the first scanning module comprises a first image sensor, the second scanning module comprises a second image sensor, the first image sensor and the second image sensor respectively comprise a plurality of photoreceptors arranged along a main scanning direction, and the first image sensor and the second image sensor are respectively located on two sides of a conveying channel of a paper currency processing device;
acquiring an image of a reference plane from the image of the reference banknote, wherein one surface of the reference banknote is set as the reference plane;
correcting a scanning module facing the reference surface according to the image of the reference surface;
withdrawing the reference paper money from the conveying channel and prompting a user to change the face of the reference paper money;
controlling an uncorrected scanning module to execute scanning action, and correcting the uncorrected scanning module according to an image obtained by scanning;
the method for controlling the scanning module to scan the reference paper currency to obtain the image of the reference paper currency comprises the following steps:
and controlling the first scanning module to scan one surface of the reference paper currency to obtain a first image, and controlling the second scanning module to scan the other surface of the reference paper currency to obtain a second image.
2. The method of claim 1,
acquiring an image of a reference surface from the image of the reference banknote, comprising:
detecting whether the first image and the second image respectively contain characteristic values for determining a reference plane;
and taking the image containing the characteristic value as an image of a reference plane.
3. The method of claim 1, wherein correcting the scanning module to which the reference plane faces based on the image of the reference plane comprises:
comparing and analyzing the image parameters corresponding to the image of the reference surface with preset standard image parameters to obtain a correction coefficient;
and adjusting the scanning parameters of the scanning module faced by the reference surface according to the correction coefficient, or adjusting the image compensation coefficient of the scanning module faced by the reference surface according to the correction coefficient.
4. A scanning module correction device for a banknote handling apparatus, the device comprising:
the scanning control module is used for judging whether a control command for executing correction is received or not, and controlling the conveying module to drive the reference paper money to move in the paper money feeding direction in the conveying channel when the control command for executing correction is judged to be received and the reference paper money is judged to be fed into the conveying channel; the method comprises the steps that a scanning module is controlled to scan a reference paper currency to obtain an image of the reference paper currency, wherein the scanning module comprises a first scanning module and a second scanning module, the first scanning module comprises a first image sensor, the second scanning module comprises a second image sensor, the first image sensor and the second image sensor respectively comprise a plurality of photoreceptors arranged along a main scanning direction, and the first image sensor and the second image sensor are respectively located on two sides of a conveying channel of a paper currency processing device;
the acquisition module is used for acquiring an image of a reference surface according to the image of the reference banknote, wherein one surface of the reference banknote is set as the reference surface;
the first correction module is used for correcting the scanning module facing the reference surface according to the image of the reference surface;
the face replacement module is used for enabling the reference paper money to exit the conveying channel and prompting a user to replace the face of the reference paper money;
the second correction module is used for controlling the uncorrected scanning module to execute scanning action and correcting the uncorrected scanning module according to the image obtained by scanning;
wherein the scan control module comprises: and the first control unit is used for controlling the first scanning module to scan one surface of the reference paper currency to obtain a first image and controlling the second scanning module to scan the other surface of the reference paper currency to obtain a second image.
5. The apparatus of claim 4,
a feature value detection unit configured to detect whether or not feature values for specifying a reference plane are included in the first image and the second image, respectively;
a first determination unit configured to use an image including the feature value as an image of a reference plane.
6. The apparatus of claim 4, wherein the first correction module comprises:
the parameter comparison unit is used for comparing and analyzing the image parameters corresponding to the image of the reference surface with preset standard image parameters to obtain a correction coefficient;
and the coefficient adjusting unit is used for adjusting the scanning parameters of the scanning module faced by the reference surface according to the correction coefficient, or adjusting the image compensation coefficient of the scanning module faced by the reference surface according to the correction coefficient.
7. A method of calibrating a scan module of a banknote handling device, the method comprising:
judging whether a control command for executing correction is received or not, and controlling the conveying module to drive the reference paper money to move in the paper money feeding direction in the conveying channel when the control command for executing correction is judged to be received and the reference paper money is judged to be fed into the conveying channel;
the method comprises the steps that a scanning module is controlled to scan a reference paper currency to obtain an image of the reference paper currency, wherein the scanning module comprises a first scanning module and a second scanning module, the first scanning module comprises a first image sensor, the second scanning module comprises a second image sensor, the first image sensor and the second image sensor respectively comprise a plurality of photoreceptors arranged along a main scanning direction, and the first image sensor and the second image sensor are respectively located on two sides of a conveying channel of a paper currency processing device;
acquiring an image of a reference plane from the image of the reference banknote, wherein one surface of the reference banknote is set as the reference plane;
correcting a scanning module facing the reference surface according to the image of the reference surface;
withdrawing the reference paper money from the conveying channel and prompting a user to change the face of the reference paper money;
controlling an uncorrected scanning module to execute scanning action, and correcting the uncorrected scanning module according to an image obtained by scanning;
the method for controlling the scanning module to scan the reference paper currency to obtain the image of the reference paper currency comprises the following steps:
and controlling a set scanning module to scan one surface of the reference paper money to obtain a third image, wherein the set scanning module comprises the first scanning module or the second scanning module.
8. The method of claim 7,
acquiring an image of a reference surface from the image of the reference banknote, comprising:
and taking the third image as an image of a reference plane.
9. The method of claim 7, wherein correcting the scanning module to which the reference plane faces based on the image of the reference plane comprises:
comparing and analyzing the image parameters corresponding to the image of the reference surface with preset standard image parameters to obtain a correction coefficient;
and adjusting the scanning parameters of the scanning module faced by the reference surface according to the correction coefficient, or adjusting the image compensation coefficient of the scanning module faced by the reference surface according to the correction coefficient.
10. A scanning module correction device for a banknote handling apparatus, the device comprising:
the scanning control module is used for judging whether a control command for executing correction is received or not, and controlling the conveying module to drive the reference paper money to move in the paper money feeding direction in the conveying channel when the control command for executing correction is judged to be received and the reference paper money is judged to be fed into the conveying channel; the method comprises the steps that a scanning module is controlled to scan a reference paper currency to obtain an image of the reference paper currency, wherein the scanning module comprises a first scanning module and a second scanning module, the first scanning module comprises a first image sensor, the second scanning module comprises a second image sensor, the first image sensor and the second image sensor respectively comprise a plurality of photoreceptors arranged along a main scanning direction, and the first image sensor and the second image sensor are respectively located on two sides of a conveying channel of a paper currency processing device;
the acquisition module is used for acquiring an image of a reference surface according to the image of the reference banknote, wherein one surface of the reference banknote is set as the reference surface;
the first correction module is used for correcting the scanning module facing the reference surface according to the image of the reference surface;
the face replacement module is used for enabling the reference paper money to exit the conveying channel and prompting a user to replace the face of the reference paper money;
the second correction module is used for controlling the uncorrected scanning module to execute scanning action and correcting the uncorrected scanning module according to the image obtained by scanning;
wherein the scan control module comprises: and the second control unit is used for controlling a set scanning module to scan one surface of the reference paper money to obtain a third image, wherein the set scanning module comprises the first scanning module or the second scanning module.
11. The apparatus of claim 10, wherein the obtaining module comprises: a second determination unit configured to use the third image as an image of a reference plane.
12. The apparatus of claim 10, wherein the first correction module comprises:
the parameter comparison unit is used for comparing and analyzing the image parameters corresponding to the image of the reference surface with preset standard image parameters to obtain a correction coefficient;
and the coefficient adjusting unit is used for adjusting the scanning parameters of the scanning module faced by the reference surface according to the correction coefficient, or adjusting the image compensation coefficient of the scanning module faced by the reference surface according to the correction coefficient.
CN201610355444.6A 2016-05-26 2016-05-26 Method and device for correcting scanning module of paper money processing device Active CN107437295B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610355444.6A CN107437295B (en) 2016-05-26 2016-05-26 Method and device for correcting scanning module of paper money processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610355444.6A CN107437295B (en) 2016-05-26 2016-05-26 Method and device for correcting scanning module of paper money processing device

Publications (2)

Publication Number Publication Date
CN107437295A CN107437295A (en) 2017-12-05
CN107437295B true CN107437295B (en) 2020-08-21

Family

ID=60454347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610355444.6A Active CN107437295B (en) 2016-05-26 2016-05-26 Method and device for correcting scanning module of paper money processing device

Country Status (1)

Country Link
CN (1) CN107437295B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110276885A (en) * 2018-03-13 2019-09-24 山东新北洋信息技术股份有限公司 A kind of transition passage method for cleaning and cash recycling equipment
CN116052345B (en) * 2023-03-06 2023-06-16 常州新瑞松电子科技有限公司 ATM paper currency flattening and calibrating system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705338A (en) * 2004-05-26 2005-12-07 虹光精密工业(苏州)有限公司 Sheet feed type scanner having multiline video signal correction function
CN1792086A (en) * 2003-05-21 2006-06-21 夏普株式会社 Image correction method, image correcting tool, and image forming device
CN201585032U (en) * 2009-12-31 2010-09-15 虹光精密工业(苏州)有限公司 Small sheet feed type double-surface scanner
CN101958989A (en) * 2009-07-16 2011-01-26 富士施乐株式会社 Image processing apparatus, image processing system and image processing method
CN103108107A (en) * 2013-03-05 2013-05-15 广州广电运通金融电子股份有限公司 Image processing device and image data correcting method thereof
CN103493108A (en) * 2011-03-28 2014-01-01 乐金信世股份有限公司 Apparatus and method for detecting medium image, and banking machine
CN103491273A (en) * 2012-06-11 2014-01-01 致伸科技股份有限公司 Paper feed type scanning device with correction function
CN103646387A (en) * 2013-12-16 2014-03-19 威海华菱光电股份有限公司 Method and device for image correction
CN104394292A (en) * 2014-10-27 2015-03-04 光宝电子(广州)有限公司 Scanning correction method and image scanning module with correction function
CN104683709A (en) * 2015-02-12 2015-06-03 深圳怡化电脑股份有限公司 Image correcting method and system
CN105427449A (en) * 2015-10-30 2016-03-23 新达通科技股份有限公司 Bank note image optical compensation correction method, bank note testing identification device, and ATM

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003067805A (en) * 2001-08-28 2003-03-07 Hitachi Ltd Device for discriminating truth or falsehood of sheet paper
JP2007172059A (en) * 2005-12-19 2007-07-05 Toshiba Corp Paper sheet discrimination device and paper sheet processor
JP4979756B2 (en) * 2009-12-02 2012-07-18 日立オムロンターミナルソリューションズ株式会社 Reflective image reading unit
JP6013232B2 (en) * 2013-03-01 2016-10-25 株式会社東芝 Image reading apparatus and paper sheet processing apparatus
JP6005031B2 (en) * 2013-12-06 2016-10-12 京セラドキュメントソリューションズ株式会社 Image reading apparatus, skew amount adjusting method, and image forming apparatus

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1792086A (en) * 2003-05-21 2006-06-21 夏普株式会社 Image correction method, image correcting tool, and image forming device
CN1705338A (en) * 2004-05-26 2005-12-07 虹光精密工业(苏州)有限公司 Sheet feed type scanner having multiline video signal correction function
CN101958989A (en) * 2009-07-16 2011-01-26 富士施乐株式会社 Image processing apparatus, image processing system and image processing method
CN201585032U (en) * 2009-12-31 2010-09-15 虹光精密工业(苏州)有限公司 Small sheet feed type double-surface scanner
CN103493108A (en) * 2011-03-28 2014-01-01 乐金信世股份有限公司 Apparatus and method for detecting medium image, and banking machine
CN103491273A (en) * 2012-06-11 2014-01-01 致伸科技股份有限公司 Paper feed type scanning device with correction function
CN103108107A (en) * 2013-03-05 2013-05-15 广州广电运通金融电子股份有限公司 Image processing device and image data correcting method thereof
CN103646387A (en) * 2013-12-16 2014-03-19 威海华菱光电股份有限公司 Method and device for image correction
CN104394292A (en) * 2014-10-27 2015-03-04 光宝电子(广州)有限公司 Scanning correction method and image scanning module with correction function
CN104683709A (en) * 2015-02-12 2015-06-03 深圳怡化电脑股份有限公司 Image correcting method and system
CN105427449A (en) * 2015-10-30 2016-03-23 新达通科技股份有限公司 Bank note image optical compensation correction method, bank note testing identification device, and ATM

Also Published As

Publication number Publication date
CN107437295A (en) 2017-12-05

Similar Documents

Publication Publication Date Title
EP2889846B1 (en) Paper money identification method and device
JP5751760B2 (en) Document reader
US20050179954A1 (en) Image processing apparatus resolving dust problem
US20140009802A1 (en) Document reading apparatus and image processing method
US11750761B2 (en) Image reading apparatus with correction for streak images outside of areas having printed content
CN107437295B (en) Method and device for correcting scanning module of paper money processing device
JP2013070163A (en) Image reading device, image forming device, and image reading program
US10880449B2 (en) Image reading apparatus and image reading method
US20080100879A1 (en) Scanning device and shading correction method thereof
US8085989B2 (en) Method and apparatus for determining authenticity
US6937263B2 (en) Image forming apparatus and light amount correction method
US11190658B2 (en) Image reading apparatus
US11240383B2 (en) Image reading apparatus, defect detection method, and storage medium
JP4867564B2 (en) Image reading device
EP2355056B1 (en) Paper sheet recognition apparatus and paper sheet recognition method
JP5957899B2 (en) Image reading apparatus, image forming apparatus, and white level / black level acquisition method
JP7468150B2 (en) Image reading device, image forming device, and foreign object detection method
JP5255891B2 (en) Image reading device
US9699327B2 (en) Image reading apparatus capable of determining reading position less affected by foreign matter
JP2006020084A (en) Image reader and image forming apparatus
JP6680110B2 (en) Image reading apparatus and image forming apparatus
JP2009059214A (en) Paper sheet discrimination apparatus
JP2004173161A (en) Image reader
JP2021181958A (en) Image inspection device, image formation system and control program
JP2985015B2 (en) Document reading device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant