CN108197512A - Recognition methods, device, bill handling apparatus and the storage medium of bill magnetic code - Google Patents
Recognition methods, device, bill handling apparatus and the storage medium of bill magnetic code Download PDFInfo
- Publication number
- CN108197512A CN108197512A CN201810072061.7A CN201810072061A CN108197512A CN 108197512 A CN108197512 A CN 108197512A CN 201810072061 A CN201810072061 A CN 201810072061A CN 108197512 A CN108197512 A CN 108197512A
- Authority
- CN
- China
- Prior art keywords
- magnetic
- image
- bill
- code
- magnetic code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/08—Methods or arrangements for sensing record carriers, e.g. for reading patterns by means detecting the change of an electrostatic or magnetic field, e.g. by detecting change of capacitance between electrodes
- G06K7/082—Methods or arrangements for sensing record carriers, e.g. for reading patterns by means detecting the change of an electrostatic or magnetic field, e.g. by detecting change of capacitance between electrodes using inductive or magnetic sensors
- G06K7/087—Methods or arrangements for sensing record carriers, e.g. for reading patterns by means detecting the change of an electrostatic or magnetic field, e.g. by detecting change of capacitance between electrodes using inductive or magnetic sensors flux-sensitive, e.g. magnetic, detectors
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07D—HANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
- G07D7/00—Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
- G07D7/04—Testing magnetic properties of the materials thereof, e.g. by detection of magnetic imprint
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- Inspection Of Paper Currency And Valuable Securities (AREA)
Abstract
The invention discloses a kind of recognition methods, device, bill handling apparatus and the storage mediums of bill magnetic code.This method includes:The magnetic data of bill to be identified is acquired by the magnetic head of magnetic sensor, wherein, the magnetic head is strip magnetic head, to sense the relevant width in one side with bill to be identified;The first image of the bill to be identified is acquired by the first imaging sensor for being located at homonymy with the magnetic sensor, the second image of the bill to be identified is acquired by the second imaging sensor for being located at opposite side with the magnetic sensor;According to the magnetic data, described first image and second image, determine that there is the image of magnetic code in described first image and second image, and position position of the magnetic code in described image;According to position of the magnetic code in described image, the magnetic code in described image is identified.The present invention can not limit the precision for towards ticket is put, improving magnetic code identification, improve discrimination.
Description
Technical field
The present embodiments relate to magnetic identification technology more particularly to a kind of recognition methods of bill magnetic code, device, bills
Processing equipment and storage medium.
Background technology
Existing bill module, it usually needs have magnetic code identification technology, abbreviation MICR (Magnetic Ink
Character Recognition, magnetic ink character identification).The mode of this character recognition can read and be printed by magnetic ink
Text, by detecting the magnetisable material in ink the shape of character is determined, once it is determined that character shape, it is possible to use
Character shape is converted into computer version by character identifying method.
In the prior art, the magnetic head and magnetic code be close on one side with single-point channel that there will be magnetic code are needed when crossing ticket
Direction will cross ticket perpendicular to ticket direction is crossed, and just can guarantee the stabilization of magnetic signal, and reach relatively effective identification, but due to
After magnetic ink use, easily there is abrasion, signal will be caused to weaken, therefore, MICR is often not possible to ensure that reliable identification
Rate, in addition, because the magnetic code on bill is printed when drawing a bill, therefore print position is there are certain uncertainty, to knowing
Other precision also results in certain influence.
Invention content
In view of this, the embodiment of the present invention provides a kind of recognition methods of bill magnetic code, device, bill handling apparatus and deposits
Storage media to improve the precision of magnetic code identification, improves discrimination.
In a first aspect, an embodiment of the present invention provides a kind of recognition methods of bill magnetic code, the method includes:
The magnetic data of bill to be identified is acquired by the magnetic head of magnetic sensor, wherein, the magnetic head is strip magnetic
Head, to sense the relevant width in one side with bill to be identified;
The first of the bill to be identified is acquired by the first imaging sensor for being located at homonymy with the magnetic sensor
Image acquires the second figure of the bill to be identified by the second imaging sensor for being located at opposite side with the magnetic sensor
Picture;
According to the magnetic data, described first image and second image, described first image and described are determined
In two images there is the image of magnetic code, and position position of the magnetic code in described image;
According to position of the magnetic code in described image, the magnetic code in described image is identified.
Second aspect, the embodiment of the present invention additionally provide a kind of identification device of bill magnetic code, and described device includes:
Magnetic data acquisition module, for passing through the magnetic data that the magnetic head of magnetic sensor acquires bill to be identified,
In, the magnetic head is strip magnetic head, to sense the relevant width in one side with bill to be identified;
Image collection module, for by being located at the magnetic sensor described in the first imaging sensor acquisition of homonymy
First image of bill to be identified is treated by being located at the magnetic sensor described in the second imaging sensor acquisition of opposite side
Identify the second image of bill;
Magnetic code locating module, for according to the magnetic data, described first image and second image, determining described
In first image and second image there is the image of magnetic code, and position position of the magnetic code in described image;
Magnetic code identification module for the position according to magnetic code in described image, identifies the magnetic code in described image.
The third aspect, the embodiment of the present invention additionally provide a kind of bill handling apparatus, and the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
Magnetic sensor, for acquiring magnetic data;
It is located at the first imaging sensor of homonymy with magnetic sensor and is located at the second figure of opposite side with magnetic sensor
As sensor, for acquiring image;
When one or more of programs are performed by one or more of processors so that one or more of processing
Device realizes the recognition methods of the bill magnetic code described in any embodiment of the present invention.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer
Program realizes the recognition methods of the bill magnetic code described in any embodiment of the present invention when the program is executed by processor.
The technical solution of the embodiment of the present invention acquires ticket to be identified by using the magnetic sensor with strip magnetic head
According to magnetic data and bill to be identified the first image and the second image, and according to magnetic data, the first image and the second figure
Picture determines there is the image of magnetic code in the first image and the second image, and positions the position of magnetic code in the picture, is existed according to magnetic code
Position in image, identify image in magnetic code, due to strip magnetic head can sense it is relevant with one side of bill to be identified
Width, and the dual-side image of bill to be identified is acquired, so as to not limit the essence for towards ticket is put, improving magnetic code identification
Degree, improves discrimination.
Description of the drawings
Fig. 1 is a kind of flow chart of the recognition methods for bill magnetic code that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of the recognition methods of bill magnetic code provided by Embodiment 2 of the present invention;
Fig. 3 a- Fig. 3 d are magnetic sensor in the embodiment of the present invention and check towards identification schematic diagram;
Fig. 4 is a kind of structure diagram of the identification device for bill magnetic code that the embodiment of the present invention three provides;
Fig. 5 is the structure diagram of a kind of bill handling apparatus that the embodiment of the present invention four provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just
Part related to the present invention rather than full content are illustrated only in description, attached drawing.
Embodiment one
Fig. 1 is a kind of flow chart of the recognition methods for bill magnetic code that the embodiment of the present invention one provides, and the present embodiment can fit
For the situation that bill magnetic code is identified, this method can be performed by the identification device of bill magnetic code, which can be with
It is realized, can be generally integrated in bill handling apparatus, this method specifically comprises the following steps by software and/or hardware:
Step 110, the magnetic data of bill to be identified is acquired by the magnetic head of magnetic sensor, wherein, the magnetic head is
Strip magnetic head, to sense the relevant width in one side with bill to be identified.
Wherein, the magnetic head includes multiple channels, and multiple channels are uniformly distributed in strip magnetic head, by having
The strip magnetic head of multiple channels can sense with the relevant width in one side of bill to be identified, as sense with bill to be identified
The relevant width of short side or sensing and the relevant width of long side of bill to be identified, when crossing ticket can according to short side into ticket,
It can be according to long side into ticket.The width of the strip magnetic head can be equal to or more than the width on one side of bill to be identified,
The width on one side of bill preferably greater than to be identified.The bill to be identified is preferably check.
The magnetic signal in bill to be identified is sensed by the magnetic head of magnetic sensor, by magnetic sensor to magnetism
The processing of signal forms magnetic data.For example, strip magnetic head has 12 channels, when acquisition columns is 100 row, then collect
Magnetic data be a 12*100 matrix.
Step 120, the bill to be identified is acquired by being located at the imaging sensor of homonymy with the magnetic sensor
First image acquires the second figure of the bill to be identified by the imaging sensor for being located at opposite side with the magnetic sensor
Picture.
When acquiring the image of bill to be identified, need to acquire the dual-side image of bill to be identified, so as in two-sided figure
The image with magnetic code is chosen as in identify magnetic code therein.Therefore, it is necessary to be acquired respectively by two imaging sensors
The two-sided image of bill to be identified, i.e., by the first image sensing of the homonymy for being located at bill to be identified with the magnetic sensor
Device acquires the first image of bill to be identified, the second figure of the opposite side by being located at bill to be identified with the magnetic sensor
As sensor acquires the second image of bill to be identified.Wherein, described first image and the second image can be coloured image,
It can be gray level image.
Step 130, according to the magnetic data, described first image and second image, described first image is determined
Image with having magnetic code in second image, and positions position of the magnetic code in described image.
Wherein, magnetic code is magnetic number, is by the number of 0-9 and/or other symbol magnetic ink printings or with magnetic
Colour band is printed upon check or the positive specific position of other tickets.For example, it is required according to standard《ANSIX9.100-160Part
The layout of 2-2007 magnetic inks printing (MICR) and positioning》, the printing position of MICR is:Magnetic code is imprinted on lower section 5/8 " intermediate 1/
4 " in band-like range, the position of upper and lower each remaining 3/16 " must be allowed to blank, avoid influencing the magnetic font in magnetic code.
According to magnetic data, the first image or the second image come determine bill to be identified towards and then in the first image
There is the image of magnetic code with selection in the second image, and according to the correspondence between magnetic data and the image with magnetic code of selection
Relationship, the position of positioning magnetic code in the picture.According to magnetic data and the first image determine towards being consistent, and according to
Two images determine towards with according to magnetic data and the first image determine towards being opposite.
For example, magnetic code, which at the front of bill to be identified, can be preset towards for front, includes magnetic code, pass through magnetic data
Determine bill to be identified towards be that front is positive or front is reversed when, it may be determined that the first image towards to be positive positive or
It is positive reversely, determine the second image towards positive or reverse side is reversed for reverse side, and respectively with default towards being compared, so as to
It determines that the first image includes magnetic code, chooses the first image as the image with magnetic code.
Step 140, the position according to magnetic code in described image identifies the magnetic code in described image.
After the position of magnetic code in the picture is determined, the image in the position can be extracted, to be identified, so as to
To magnetic code therein.
Wherein, the position according to magnetic code in described image, identify described image in magnetic code, it is optional including:
According to position of the magnetic code in described image, magnetic code image is extracted from described image;
Optical character identification is carried out to the magnetic code image, obtains the magnetic code in magnetic code image.
Wherein, optical character identification (Optical Character Recognition, OCR) refer to electronic equipment (such as
Scanner or digital camera) check the character printed on paper, it determines its shape by detecting dark, bright pattern, then uses character
Shape is translated into the process of computword by recognition methods;That is, for printed character, it is using optical mode that papery is literary
Text conversion in shelves becomes the image file of black and white lattice, and passes through identification software by the text conversion in image into text lattice
Formula, the technology further edited and processed for word processor.
The position of magnetic code in the picture includes the row bound of magnetic code in the picture and row boundary, so as to according to row bound and row
Boundary is split image, extracts, image of the extraction with magnetic code from image, as magnetic code image, to magnetic code image into
Row OCR obtains the magnetic code in magnetic code image.By extracting magnetic code image, to identify magnetic code therein, magnetic code is further improved
The precision of identification.
The technical solution of the present embodiment acquires bill to be identified by using the magnetic sensor with strip magnetic head
The first image and the second image of magnetic data and bill to be identified, and according to magnetic data, the first image and the second image, really
There is the image of magnetic code in fixed first image and the second image, and position the position of magnetic code in the picture, according to magnetic code in image
In position, identify image in magnetic code, due to strip magnetic head can sense with the relevant width in one side of bill to be identified,
And the dual-side image of bill to be identified is acquired, so as to not limit the precision for towards ticket is put, improving magnetic code identification, carry
High discrimination, further improves the accuracy to bill false distinguishing.
Embodiment two
Fig. 2 is a kind of flow chart of the recognition methods of bill magnetic code provided by Embodiment 2 of the present invention, and the present embodiment is upper
It states and is optimized on the basis of embodiment, specifically, will be " according to the magnetic data, described first image and described second
Image determines there is the image of magnetic code in described first image and second image, and positions magnetic code in described image
Position " advanced optimize for " according to the magnetic data, determine the bill to be identified towards;According to described towards determining
There is the image of magnetic code in described first image and second image;According to the magnetic data and described image, magnetic is positioned
Position of the code in described image ".This method specifically comprises the following steps:
Step 210, the magnetic data of bill to be identified is acquired by the magnetic head of magnetic sensor, wherein, the magnetic head is
Strip magnetic head, to sense the relevant width in one side with bill to be identified.
Step 220, the bill to be identified is acquired by being located at the imaging sensor of homonymy with the magnetic sensor
First image acquires the second figure of the bill to be identified by the imaging sensor for being located at opposite side with the magnetic sensor
Picture.
Step 230, according to the magnetic data, determine the bill to be identified towards.
According to magnetic data, determine the position of magnetic code, so according to the location determination bill to be identified of magnetic code towards.It adopts
The magnetic data collected is a matrix, in magnetic data, has number of the data than no magnetic signal of magnetic signal
According to big, 0 is generally without the data of magnetic signal, and then can determine to have the position of the data of magnetic signal in a matrix
It puts, has also determined that position of the magnetic code in magnetic data.When bill to be identified is check, if magnetic code is in magnetic data
Position be located at lower section position to the left, then be shown to be positive forward direction;If position of the magnetic code in magnetic data is located at lower section
Position to the right is then shown to be reverse side forward direction;If position of the magnetic code in magnetic data is located above position to the right, table
Bright is positive reversed;If position of the magnetic code in magnetic data is located above position to the left, it is reversed to be shown to be reverse side.
For example, Fig. 3 a- Fig. 3 d be magnetic sensor in the embodiment of the present invention and check towards identification schematic diagram, such as scheme
Shown in 3a- Fig. 3 d, the magnetic head of magnetic sensor 1 includes multiple channels, i.e. channel 1, channel 2 ..., channel n, wherein, n is magnetic head
The total quantity of middle channel, according to short side into ticket, the position correspondence of magnetic sensor 1 and bill 2 to be identified is as shown in the figure, vacation
If n is 12, acquisition columns is 100 row, then two-dimensional matrix of the collected data for a 12*100, according to Fig. 3 a- Fig. 3 d institutes
When showing direction into ticket, if magnetic signal is distributed in 7-12 channels, it is determined that bill 2 to be identified towards being shown in Fig. 3 a
Reverse side shown in positive positive or Fig. 3 c is positive, if the distance of magnetic signal and left margin is less than magnetic signal and right margin
Distance, it is determined that bill 2 to be identified towards being that front shown in Fig. 3 a is positive, if the distance of magnetic signal and left margin
More than the distance of magnetic signal and right margin, it is determined that bill 2 to be identified towards being that reverse side shown in Fig. 3 c is positive;If magnetic
Property signal distributions in 1-6 channels, it is determined that bill 2 to be identified towards be shown in Fig. 3 b front reversely or Fig. 3 d shown in
Reverse side is reversed, if the distance of magnetic signal and left margin is more than the distance of magnetic signal and right margin, it is determined that ticket to be identified
According to 2 towards being positive reversed shown in Fig. 3 b, if the distance of magnetic signal and left margin is less than magnetic signal and right margin
Distance, it is determined that bill 2 to be identified towards being that reverse side shown in Fig. 3 d is reversed.
Wherein, according to the magnetic data, determine the bill to be identified towards, it is optional including:
The magnetic data is projected and arranged into every trade respectively and is projected;
Projection is projected and arranged according to the row, determines position of the magnetic code in the magnetic data;
According to position of the magnetic code in the magnetic data, determine the bill to be identified towards.
Wherein, row projection is the sum of all data in every data line in the magnetic data of difference calculating matrix form,
Row projection is the sum of all data in each column data in the magnetic data of difference calculating matrix form.
Magnetic sensor can sense the magnetic signal in magnetic code.In magnetic data, due to magnetic signal
Data are bigger than the data of no magnetic signal, therefore, the row bound of magnetic code can be determined according to row projection, can according to row projection
To determine the row boundary of magnetic code, so that it is determined that position of the magnetic code in magnetic data, according to position of the magnetic code in magnetic data
Position of the pre-set magnetic code in magnetic data and bill to be identified towards correspondence in inquire, it may be determined that
Bill to be identified towards.Since the data volume of collected magnetic data is smaller, ticket to be identified is determined by magnetic data
According to it is smaller towards calculation amount, computation complexity is relatively low, so as to improve the speed towards identification.
Step 240, according to it is described towards, determine in described first image and second image have magnetic code image.
According to magnetic data determine bill to be identified towards rear, towards can be from the according to where preset magnetic code
The image with magnetic code is chosen in one image and the second image, specifically, the face of bill to be identified determined according to magnetic data
To with preset magnetic code where towards it is consistent when, determine the first image be the image with magnetic code;It is determined according to magnetic data
Bill to be identified towards with preset magnetic code where towards it is opposite when, determine the second image be the image with magnetic code.
Step 250, according to the magnetic data and described image, position of the positioning magnetic code in described image.
After position of the magnetic code in magnetic data is determined, closed according to magnetic data is corresponding with the image data of image
Position of the magnetic code in magnetic data is mapped to position in the picture, and then navigate to the position of magnetic code in the picture by system.
Wherein, according to the magnetic data and described image, position of the positioning magnetic code in described image, it is optional including:
If described image is the first image, according to position of the magnetic code in the magnetic data and the magnetic data
Correspondence between the image data of described image determines position of the magnetic code in described image;
If described image is the second image, mirror image processing is carried out to the magnetic data, obtains mirror image magnetic data,
Position of the magnetic code in mirror image magnetic data is determined, according to position of the magnetic code in mirror image magnetic data and the mirror image magnetic number
According to the correspondence between the image data of described image, position of the magnetic code in described image is determined.
When described image is the first image, since magnetic sensor and the first imaging sensor are located at bill to be identified
Homonymy, so as to by magnetic data determine towards with bill to be identified in the first image towards identical, can direct basis
Position of the magnetic code in magnetic data is mapped to magnetic code and schemed by the correspondence between magnetic data and the image data of image
Position as in, so that it is determined that the position of magnetic code in the picture.Since the data volume of magnetic data is small, according to the mapping relations into
Row mapping obtains the position of magnetic code in the picture, reduces computation complexity.For example, magnetic data is the matrix of m*n, image
Image data is the matrix of M*N, and position of the magnetic code in magnetic data is (x, y), then is mapped as the position in the picture
Position is (x*M/m, y*N/n).
When described image is the second image, since magnetic sensor and the second imaging sensor are located at bill to be identified
Opposite side, it is therefore desirable to mirror image processing be carried out to magnetic data, obtain mirror image magnetic data, and to magnetic code in magnetic data
Position carries out mirror image processing, position of the magnetic code in mirror image data is obtained, according to the image data of mirror image magnetic data and image
Between correspondence, position of the magnetic code in mirror image magnetic data is mapped to position of the magnetic code in image data, so as to
Determine the position of magnetic code in the picture.Since the data volume of magnetic data is small, mapped to obtain magnetic code according to the mapping relations
Position in the picture, reduces computation complexity.
Step 260, the position according to magnetic code in described image identifies the magnetic code in described image.
The technical solution of the present embodiment, by according to magnetic data determine bill to be identified towards, according to it is described towards,
Determine that there is the image of magnetic code in the first image and the second image, according to magnetic data and described image, positioning magnetic code is in image
In position, since the data volume of magnetic data is smaller than the data volume of image, so as to be determined by magnetic data towards then fixed
The position of position magnetic code in the picture, it is possible to reduce computation complexity, and improve the recognition speed of magnetic code.
Embodiment three
Fig. 4 be the embodiment of the present invention three provide a kind of bill magnetic code identification device structure diagram, the present embodiment
The situation that bill magnetic code is identified is applicable to, which can be realized by software and/or hardware, can be generally integrated in
In bill handling apparatus.As shown in figure 4, the identification device of the bill magnetic code described in the present embodiment includes:Magnetic data obtains mould
Block 310, image collection module 320, magnetic code locating module 330 and magnetic code identification module 340.
Wherein, magnetic data acquisition module 310, for passing through the magnetism that the magnetic head of magnetic sensor acquires bill to be identified
Data, wherein, the magnetic head is strip magnetic head, to sense the relevant width in one side with bill to be identified;
Image collection module 320, for being acquired by the first imaging sensor for being located at homonymy with the magnetic sensor
First image of the bill to be identified acquires institute by the second imaging sensor for being located at opposite side with the magnetic sensor
State the second image of bill to be identified;
Magnetic code locating module 330, for according to the magnetic data, described first image and second image, determining
In described first image and second image there is the image of magnetic code, and position position of the magnetic code in described image;
Magnetic code identification module 340 for the position according to magnetic code in described image, identifies the magnetic code in described image.
Optionally, the magnetic code locating module includes:
Towards recognition unit, for according to the magnetic data, determine the bill to be identified towards;
Image determination unit, for according to described towards determining that there is magnetic in described first image and second image
The image of code;
Magnetic code positioning unit, for according to the magnetic data and described image, position of the positioning magnetic code in described image
It puts.
Optionally, it is described to be specifically used for towards recognition unit:
The magnetic data is projected and arranged into every trade respectively and is projected;
Projection is projected and arranged according to the row, determines position of the magnetic code in the magnetic data;
According to position of the magnetic code in the magnetic data, determine the bill to be identified towards.
Optionally, the magnetic code positioning unit is specifically used for:
If described image is the first image, according to position of the magnetic code in the magnetic data and the magnetic data
Correspondence between the image data of described image determines position of the magnetic code in described image;
If described image is the second image, mirror image processing is carried out to the magnetic data, obtains mirror image magnetic data,
Position of the magnetic code in mirror image magnetic data is determined, according to position of the magnetic code in mirror image magnetic data and the mirror image magnetic number
According to the correspondence between the image data of described image, position of the magnetic code in described image is determined.
Optionally, the magnetic code identification module includes:
Magnetic code image extraction unit for the position according to magnetic code in described image, extracts magnetic code from described image
Image;
Magnetic code recognition unit for carrying out optical character identification to the magnetic code image, obtains the magnetic code in magnetic code image.
Optionally, the bill to be identified is check.
The identification device of above-mentioned bill magnetic code can perform the identification side of bill magnetic code that any embodiment of the present invention is provided
Method has the corresponding function module of execution method and advantageous effect.The not technical detail of detailed description in the present embodiment, can join
See the recognition methods for the bill magnetic code that any embodiment of the present invention provides.
Example IV
Fig. 5 is the structure diagram of a kind of bill handling apparatus that the embodiment of the present invention four provides, as shown in figure 5, the ticket
Include processor 410, memory 420, input unit 430, output device 440, magnetic sensor 450, first according to processing equipment
460 and second imaging sensor 470 of imaging sensor;The quantity of processor 410 can be one or more in bill handling apparatus
It is a, in Fig. 5 by taking a processor 410 as an example;Processor 410, memory 420, input unit 430 in bill handling apparatus,
Output device 440, magnetic sensor 450, the first imaging sensor 460 and the second imaging sensor 470 can by bus or
Other modes connect, in Fig. 5 for being connected by bus.
Memory 420 is used as a kind of computer readable storage medium, and journey is can perform available for storage software program, computer
Sequence and module, if the corresponding program instruction/module of the recognition methods of the bill magnetic code in the embodiment of the present invention is (for example, bill
Magnetic data acquisition module 310, image collection module 320, magnetic code locating module 330 and magnetic code in the identification device of magnetic code are known
Other module 340).Processor 410 is stored in software program, instruction and module in memory 420 by operation, so as to perform
The recognition methods of above-mentioned bill magnetic code is realized in the various function application of bill handling apparatus and data processing.
Memory 420 can mainly include storing program area and storage data field, wherein, storing program area can store operation system
Application program needed for system, at least one function;Storage data field can be stored uses created data etc. according to terminal.This
Outside, memory 420 can include high-speed random access memory, can also include nonvolatile memory, for example, at least one
Disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 420 can be into one
Step include relative to the remotely located memory of processor 410, these remote memories can be by network connection to bill at
Manage equipment.The example of above-mentioned network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input unit 430 can be used for receiving the number inputted or character information and generation and the use of bill handling apparatus
The key signals input that family is set and function control is related.Output device 440 may include that display screen etc. shows equipment.Magnetic transducing
For device 450 for acquiring magnetic data, the first imaging sensor 460 is located at homonymy, the second imaging sensor with magnetic sensor 450
470 are located at opposite side, the first imaging sensor 460 and the second imaging sensor 470 with magnetic sensor 450 schemes for acquiring
Picture.
Embodiment five
The embodiment of the present invention five also provides a kind of storage medium for including computer executable instructions, and the computer can be held
When being performed by computer processor for performing a kind of recognition methods of bill magnetic code, this method includes for row instruction:
The magnetic data of bill to be identified is acquired by the magnetic head of magnetic sensor, wherein, the magnetic head is strip magnetic
Head, to sense the relevant width in one side with bill to be identified;
The first of the bill to be identified is acquired by the first imaging sensor for being located at homonymy with the magnetic sensor
Image acquires the second figure of the bill to be identified by the second imaging sensor for being located at opposite side with the magnetic sensor
Picture;
According to the magnetic data, described first image and second image, described first image and described are determined
In two images there is the image of magnetic code, and position position of the magnetic code in described image;
According to position of the magnetic code in described image, the magnetic code in described image is identified.
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, computer
The method operation that executable instruction is not limited to the described above, can also be performed the bill magnetic code that any embodiment of the present invention is provided
Recognition methods in relevant operation.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but the former is more in many cases
Good embodiment.Based on such understanding, what technical scheme of the present invention substantially in other words contributed to the prior art
Part can be embodied in the form of software product, which can be stored in computer readable storage medium
In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions with so that a computer is set
Standby (can be personal computer, server or the network equipment etc.) performs the method described in each embodiment of the present invention.
It is worth noting that, in the embodiment of the identification device of above-mentioned bill magnetic code, included each unit and module
It is only divided according to function logic, but is not limited to above-mentioned division, as long as corresponding function can be realized;
In addition, the specific name of each functional unit is also only to facilitate mutually distinguish, the protection domain being not intended to restrict the invention.
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The present invention is not limited to specific embodiment described here, can carry out for a person skilled in the art various apparent variations,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
1. a kind of recognition methods of bill magnetic code, which is characterized in that the method includes:
The magnetic data of bill to be identified is acquired by the magnetic head of magnetic sensor, wherein, the magnetic head is strip magnetic head, with
The relevant width in one side of sensing and bill to be identified;
The first image of the bill to be identified is acquired by the first imaging sensor for being located at homonymy with the magnetic sensor,
The second image of the bill to be identified is acquired by the second imaging sensor for being located at opposite side with the magnetic sensor;
According to the magnetic data, described first image and second image, described first image and second figure are determined
As in there is the image of magnetic code, and position position of the magnetic code in described image;
According to position of the magnetic code in described image, the magnetic code in described image is identified.
2. according to the method described in claim 1, it is characterized in that, according to the magnetic data, described first image and described
Second image determines there is the image of magnetic code in described first image and second image, and positions magnetic code in described image
In position, including:
According to the magnetic data, determine the bill to be identified towards;
According to it is described towards, determine in described first image and second image have magnetic code image;
According to the magnetic data and described image, position of the positioning magnetic code in described image.
3. according to the method described in claim 2, it is characterized in that, according to the magnetic data, the bill to be identified is determined
Towards, including:
The magnetic data is projected and arranged into every trade respectively and is projected;
Projection is projected and arranged according to the row, determines position of the magnetic code in the magnetic data;
According to position of the magnetic code in the magnetic data, determine the bill to be identified towards.
4. according to the method described in claim 3, it is characterized in that, according to the magnetic data and described image, magnetic code is positioned
Position in described image, including:
If described image is the first image, according to position of the magnetic code in the magnetic data and the magnetic data and institute
The correspondence between the image data of image is stated, determines position of the magnetic code in described image;
If described image is the second image, mirror image processing is carried out to the magnetic data, obtains mirror image magnetic data, is determined
Position of the magnetic code in mirror image magnetic data, according to position of the magnetic code in mirror image magnetic data and the mirror image magnetic data and
Correspondence between the image data of described image determines position of the magnetic code in described image.
5. according to the method described in claim 1, it is characterized in that, position according to magnetic code in described image, described in identification
Magnetic code in image, including:
According to position of the magnetic code in described image, magnetic code image is extracted from described image;
Optical character identification is carried out to the magnetic code image, obtains the magnetic code in magnetic code image.
6. according to the method described in claim 1, it is characterized in that, the bill to be identified is check.
7. a kind of identification device of bill magnetic code, which is characterized in that described device includes:
Magnetic data acquisition module, for passing through the magnetic data that the magnetic head of magnetic sensor acquires bill to be identified, wherein, institute
Magnetic head is stated as strip magnetic head, to sense the relevant width in one side with bill to be identified;
Image collection module, for waiting to know described in the first imaging sensor acquisition of homonymy by with the magnetic sensor being located at
First image of other bill is acquired described to be identified by the second imaging sensor for being located at opposite side with the magnetic sensor
Second image of bill;
Magnetic code locating module, for according to the magnetic data, described first image and second image, determining described first
In image and second image there is the image of magnetic code, and position position of the magnetic code in described image;
Magnetic code identification module for the position according to magnetic code in described image, identifies the magnetic code in described image.
8. device according to claim 7, which is characterized in that the magnetic code locating module includes:
Towards recognition unit, for according to the magnetic data, determine the bill to be identified towards;
Image determination unit, for according to described towards determining in described first image and second image with magnetic code
Image;
Magnetic code positioning unit, for according to the magnetic data and described image, position of the positioning magnetic code in described image.
9. a kind of bill handling apparatus, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
Magnetic sensor, for acquiring magnetic data;
The second image for being located at the first imaging sensor of homonymy with magnetic sensor and being located at opposite side with magnetic sensor passes
Sensor, for acquiring image;
When one or more of programs are performed by one or more of processors so that one or more of processors are real
The now recognition methods of the bill magnetic code as described in any in claim 1-6.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The recognition methods of the bill magnetic code as described in any in claim 1-6 is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810072061.7A CN108197512B (en) | 2018-01-25 | 2018-01-25 | Bill magnetic code recognition method and device, bill processing equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810072061.7A CN108197512B (en) | 2018-01-25 | 2018-01-25 | Bill magnetic code recognition method and device, bill processing equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108197512A true CN108197512A (en) | 2018-06-22 |
CN108197512B CN108197512B (en) | 2021-03-12 |
Family
ID=62591204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810072061.7A Active CN108197512B (en) | 2018-01-25 | 2018-01-25 | Bill magnetic code recognition method and device, bill processing equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108197512B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050010776A1 (en) * | 2003-03-31 | 2005-01-13 | Kenen Leo M. | Optically variable devices with encrypted embedded data for authentication of identification documents |
CN1784035A (en) * | 2004-12-02 | 2006-06-07 | 乐金电子(中国)研究开发中心有限公司 | CeU phone with magnetic detection function and magnetic bar code identifying method |
CN103136845A (en) * | 2013-01-23 | 2013-06-05 | 浙江大学 | Renminbi (RMB) counterfeit identifying method based on crown-word image characters |
CN104091388A (en) * | 2014-07-22 | 2014-10-08 | 新达通科技股份有限公司 | Paper currency authentic identification method and device based on magnetic images |
CN104346858A (en) * | 2014-10-10 | 2015-02-11 | 新达通科技股份有限公司 | Paper currency face value identification method and device based on magnetic image |
CN104408814A (en) * | 2014-12-13 | 2015-03-11 | 天津远目科技有限公司 | Method for identifying RMB code |
CN105160756A (en) * | 2015-08-18 | 2015-12-16 | 深圳怡化电脑股份有限公司 | Paper money facing direction recognition method and device |
CN107610320A (en) * | 2017-09-06 | 2018-01-19 | 深圳怡化电脑股份有限公司 | A kind of bank slip recognition method and apparatus |
-
2018
- 2018-01-25 CN CN201810072061.7A patent/CN108197512B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050010776A1 (en) * | 2003-03-31 | 2005-01-13 | Kenen Leo M. | Optically variable devices with encrypted embedded data for authentication of identification documents |
CN1784035A (en) * | 2004-12-02 | 2006-06-07 | 乐金电子(中国)研究开发中心有限公司 | CeU phone with magnetic detection function and magnetic bar code identifying method |
CN103136845A (en) * | 2013-01-23 | 2013-06-05 | 浙江大学 | Renminbi (RMB) counterfeit identifying method based on crown-word image characters |
CN104091388A (en) * | 2014-07-22 | 2014-10-08 | 新达通科技股份有限公司 | Paper currency authentic identification method and device based on magnetic images |
CN104346858A (en) * | 2014-10-10 | 2015-02-11 | 新达通科技股份有限公司 | Paper currency face value identification method and device based on magnetic image |
CN104408814A (en) * | 2014-12-13 | 2015-03-11 | 天津远目科技有限公司 | Method for identifying RMB code |
CN105160756A (en) * | 2015-08-18 | 2015-12-16 | 深圳怡化电脑股份有限公司 | Paper money facing direction recognition method and device |
CN107610320A (en) * | 2017-09-06 | 2018-01-19 | 深圳怡化电脑股份有限公司 | A kind of bank slip recognition method and apparatus |
Non-Patent Citations (2)
Title |
---|
HELONG LI等: "Study on the Recognition and Precaution of Financial", 《INTERNATIONAL CONFERENCE ON NETWORK AND FINANCE DEVELOPMENT》 * |
李业丽等: "嵌入式票据喷码质量控制系统的设计", 《北京印刷学院学报》 * |
Also Published As
Publication number | Publication date |
---|---|
CN108197512B (en) | 2021-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110135411A (en) | Business card identification method and device | |
CN101441714B (en) | Book ticket disposal route and banknote processing system | |
US7587079B2 (en) | Check printing auditing systems and methods | |
US5748809A (en) | Active area identification on a machine readable form using form landmarks | |
US6345130B1 (en) | Method and arrangement for ensuring quality during scanning/copying of images/documents | |
JP2008276766A (en) | Form automatic filling method and device | |
CN101321223B (en) | Information processing method, information processing apparatus | |
US20060061777A1 (en) | Modifying digital documents | |
WO2018073986A1 (en) | Operation assistance device and operation assistance program | |
US20140086473A1 (en) | Image processing device, an image processing method and a program to be used to implement the image processing | |
CN106557733A (en) | Information processor and information processing method | |
CN108197512A (en) | Recognition methods, device, bill handling apparatus and the storage medium of bill magnetic code | |
JP2009223612A (en) | Image recognition device and program | |
CN114612919A (en) | Bill information processing system, method and device | |
JP2019125099A (en) | Business form recognition program, business form recognition method, and business form recognition device | |
US6330360B1 (en) | Image processing apparatus and method | |
CN106161828A (en) | A kind of copy method and photocopier for certificate being carried out safety information mark | |
CN102376080B (en) | Image processing device and program for realizing the same | |
US20220237931A1 (en) | Systems and methods for printed code inspection | |
JP3412441B2 (en) | Image processing device | |
JP2784502B2 (en) | Method and apparatus for recording and reading two-dimensional data on digital data recording paper. | |
JP3006294B2 (en) | Optical character reader | |
JPH1125214A (en) | Device for identifying picture | |
JP4597399B2 (en) | Mark-type voting card recognition processing method, program, and recording medium | |
CN118038479A (en) | Printing position determining method and device and electronic equipment |
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 |