CN106373254B - The localization method and device of magnetic security line - Google Patents

The localization method and device of magnetic security line Download PDF

Info

Publication number
CN106373254B
CN106373254B CN201610712727.1A CN201610712727A CN106373254B CN 106373254 B CN106373254 B CN 106373254B CN 201610712727 A CN201610712727 A CN 201610712727A CN 106373254 B CN106373254 B CN 106373254B
Authority
CN
China
Prior art keywords
magnetic
magnet passage
passage
image
magnet
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.)
Expired - Fee Related
Application number
CN201610712727.1A
Other languages
Chinese (zh)
Other versions
CN106373254A (en
Inventor
薛敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Original Assignee
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yihua Computer Co Ltd, Shenzhen Yihua Time Technology Co Ltd, Shenzhen Yihua Financial Intelligent Research Institute filed Critical Shenzhen Yihua Computer Co Ltd
Priority to CN201610712727.1A priority Critical patent/CN106373254B/en
Publication of CN106373254A publication Critical patent/CN106373254A/en
Application granted granted Critical
Publication of CN106373254B publication Critical patent/CN106373254B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
    • G07D7/04Testing magnetic properties of the materials thereof, e.g. by detection of magnetic imprint

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Inspection Of Paper Currency And Valuable Securities (AREA)
  • Pinball Game Machines (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

The embodiment of the invention discloses the localization methods and device of a kind of magnetic security line, are applied to money-checking equipment.This method comprises: obtaining the zone boundary of background patterns magnetic regions in magnetic image;In the magnetic image other than the zone boundary, according to the quantity of magnetic dot number in magnet passage, the position of magnetic security line is determined, the magnet passage is the column in magnetic image.The embodiment of the present invention solve when cash inspecting machine aging or it is contaminated when, using the localization method of existing magnetic security line, the problem of may cause the position inaccurate of magnetic security line, realize the effect for improving the accuracy of magnetic security line positioning in bank note.

Description

The localization method and device of magnetic security line
Technical field
The present embodiments relate to safety line identification technology more particularly to a kind of localization methods and dress of magnetic security line It sets.
Background technique
The safe Line feature of RMB is the important evidence of RMB authenticity verification.Only it is being properly positioned magnetic peace Behind the position of all fronts, cash inspecting machine could the feature to magnetic security line further detected, thus improve RMB knowledge Not rate.
For 50 yuans, in background patterns magnetic regions, crown word number magnetic regions and magnetic security line region, lead to The magnetic dot quantity crossing magnetic ink and pre-seting is different.The localization method of existing magnetic security line, passes through currency examination device pair The magnetic dot pre-seted on bank note is detected, such as (such as 50 yuans of Potala Palace is magnetic to background patterns magnetic regions Region) magnetic dot number, the magnetic dot number of crown word number magnetic regions and the magnetic dot number in magnetic security line region detect respectively;Then The position of magnetic security line is determined by comparing the magnetic dot number of all magnetic regions.
Since background patterns magnetic regions are larger, and the region magnetic dot number connects with the magnetic dot number in magnetic security line region Closely, when cash inspecting machine aging or it is contaminated when, cash inspecting machine obtain magnetic dot number may have error, to generate magnetic security line Position inaccurate the problem of.
Summary of the invention
The embodiment of the present invention provides the localization method and device of a kind of magnetic security line, to improve magnetic security line in bank note The accuracy of positioning.
In a first aspect, being applied to money-checking equipment, packet the embodiment of the invention provides a kind of localization method of magnetic security line It includes:
Obtain the zone boundary of background patterns magnetic regions in magnetic image;
In the magnetic image other than the zone boundary, according to the quantity of magnetic dot number in magnet passage, magnetic security line is determined Position, the magnet passage be magnetic image in column.
Further, the zone boundary for obtaining background patterns magnetic regions in magnetic image includes:
Since the first passage of magnetic image, it is incremented by that direction finding magnetic dot number is more than given threshold along magnet passage serial number One magnet passage, and be more than first magnet passage of given threshold as starting magnet passage using the magnetic dot number;
Since the most end channel of magnetic image, successively decrease the of direction finding magnetic dot number more than given threshold along magnet passage serial number One magnet passage, and be more than first magnet passage of given threshold as termination magnet passage using the magnetic dot number;
In the starting magnet passage and each intermediate magnet passage terminated between magnet passage, according in intermediate magnet passage Magnetic dot number, obtain magnetic image in background patterns magnetic regions zone boundary.
Further, in the starting magnet passage and each intermediate magnet passage terminated between magnet passage, in Between magnetic dot number in magnet passage, obtain the zone boundary of background patterns magnetic regions in magnetic image, comprising:
Since originating magnet passage, adjacent the sum of the magnetic dot number of N number of magnet passage is obtained towards magnet passage direction is terminated, and remember For nSum1, wherein N is positive integer and 2 < N < 5;
Since terminating magnet passage, adjacent the sum of the magnetic dot number of N number of magnet passage is obtained towards starting magnet passage direction, and remember For nSum2, wherein N is positive integer and 2 < N < 5;
Compare the numerical values recited of nSum1 and nSum2;
According to comparison result, the zone boundary of background patterns magnetic regions in the magnetic image is obtained.
It is further, described that the zone boundary of background patterns magnetic regions in the magnetic image is obtained according to comparison result, Include:
As nSum1 > nSum2, the left margin of background patterns magnetic regions in the magnetic image is positioned as starting magnet passage;
Since the starting magnet passage, it is incremented by the most phase that direction finding magnetic dot number is less than given threshold along magnet passage serial number Adjacent magnet passage;
The most adjacent magnet passage that the magnetic dot number is less than given threshold is positioned as background patterns magnetic in the magnetic image The right margin in property region.
It is further, described that the zone boundary of background patterns magnetic regions in the magnetic image is obtained according to comparison result, Include:
As nSum1 < nSum2, the right margin of background patterns magnetic regions in the magnetic image is positioned to terminate magnet passage;
Since the termination magnet passage, along magnet passage serial number successively decrease direction finding magnetic dot number be less than given threshold most phase Adjacent magnet passage;
The most adjacent magnet passage that the magnetic dot number is less than given threshold is positioned as background patterns magnetic in the magnetic image The left margin in property region.
Further, in the magnetic image other than the zone boundary, according to the quantity of magnetic dot number in magnet passage, magnetic is determined The position of property safety line, comprising:
In the magnetic image other than the zone boundary, the most channel of magnetic dot number in magnet passage is determined as magnetic security The position of line.
Second aspect, the embodiment of the invention also provides a kind of positioning devices of magnetic security line, are applied to money-checking equipment, Include:
Module is obtained, for obtaining the zone boundary of background patterns magnetic regions in magnetic image;
Locating module, in the magnetic image other than the zone boundary, according to the quantity of magnetic dot number in magnet passage, really Determine the position of magnetic security line, the magnet passage is the column in magnetic image.
Further, the acquisition module includes:
Starting magnet passage determines submodule, for being incremented by direction along magnet passage serial number since the first passage of magnetic image First magnet passage that magnetic dot number is more than given threshold is found, and is more than first magnet passage of given threshold by the magnetic dot number As starting magnet passage;
It terminates magnet passage and determines submodule, for since the most end channel of magnetic image, successively decrease direction along magnet passage serial number First magnet passage that magnetic dot number is more than given threshold is found, and is more than first magnet passage of given threshold by the magnetic dot number As termination magnet passage;
Zone boundary acquisition submodule, in the starting magnet passage and each intermediate magnetic terminated between magnet passage In channel, according to the magnetic dot number in intermediate magnet passage, the zone boundary of background patterns magnetic regions in magnetic image is obtained.
Further, the zone boundary acquisition submodule includes:
First acquisition unit, for obtaining adjacent N number of magnet passage towards magnet passage direction is terminated since originating magnet passage The sum of magnetic dot number, and be denoted as nSum1, wherein N is positive integer and 2 < N < 5;
Second acquisition unit, for obtaining adjacent N number of magnet passage towards starting magnet passage direction since terminating magnet passage The sum of magnetic dot number, and be denoted as nSum2, wherein N is positive integer and 2 < N < 5;
Comparing unit, for comparing the numerical values recited of nSum1 and nSum2;
Third acquiring unit, for obtaining the region of background patterns magnetic regions in the magnetic image according to comparison result Boundary.
Further, the third acquiring unit includes:
First locator unit, for positioning background patterns magnetic regions in the magnetic image as nSum1 > nSum2 Left margin is starting magnet passage;
First finds subelement, for being incremented by direction finding magnetic dot along magnet passage serial number since the starting magnet passage Number is less than the most adjacent magnet passage of given threshold;
Second locator unit, the most adjacent magnet passage for the magnetic dot number to be less than given threshold are positioned as described The right margin of background patterns magnetic regions in magnetic image.
Further, the third acquiring unit includes:
Third locator unit, for positioning background patterns magnetic regions in the magnetic image as nSum1 < nSum2 Right margin is to terminate magnet passage;
Second finds subelement, for since the termination magnet passage, successively decreases direction finding magnetic dot along magnet passage serial number Number is less than the most adjacent magnet passage of given threshold;
4th locator unit, the most adjacent magnet passage for the magnetic dot number to be less than given threshold are positioned as described The left margin of background patterns magnetic regions in magnetic image.
Further, the locating module includes:
Position determination submodule, it is in the magnetic image other than the zone boundary, magnetic dot number in magnet passage is most Channel be determined as the position of magnetic security line.
The zone boundary that the embodiment of the present invention passes through background patterns magnetic regions in acquisition magnetic image;In the zone boundary In magnetic image in addition, according to the quantity of magnetic dot number in magnet passage, the position of magnetic security line is determined, the magnet passage is magnetic chart As in column, solve when cash inspecting machine aging or it is contaminated when, using the localization method of existing magnetic security line, may cause The problem of position inaccurate of magnetic security line, realizes the effect for improving the accuracy of magnetic security line positioning in bank note.
Detailed description of the invention
Fig. 1 is the flow chart of the localization method of one of embodiment of the present invention one magnetic security line;
Fig. 2 is the flow chart of the localization method of one of embodiment of the present invention two magnetic security line;
Fig. 3 is the structure chart of the positioning device of one of embodiment of the present invention three magnetic security line.
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 limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart of the localization method of one of embodiment of the present invention one magnetic security line, and the present embodiment can fit For needing to position magnetic security line, the case where to carry out RMB magnetic security Line feature, this method can be by magnetism The positioning device of safety line executes, and wherein the device can be by software and or hardware realization, which can be integrated in money-checking and set In standby.With reference to Fig. 1, the localization method of magnetic security line provided in this embodiment can specifically include following steps:
S110, the zone boundary for obtaining background patterns magnetic regions in magnetic image.
Specifically, the background patterns magnetic regions are printed with magnetic ink, for example, the background patterns magnetic regions can Think 50 yuans of Potala Palace magnetic regions, etc..It can be obtained according to the magnetic dot distribution characteristics of magnetic image to be checked The zone boundary of background patterns magnetic regions in the magnetic image of RMB, can also be different according to magnetic image different zones magnetic dot number Magnetic image of the principle to obtain RMB to be checked in background patterns magnetic regions zone boundary, or using other modes come Obtain the zone boundary of background patterns magnetic regions in the magnetic image of RMB to be checked.
S120, in the magnetic image other than the zone boundary, according to the quantity of magnetic dot number in magnet passage, determine magnetic peace The position of all fronts, the magnet passage are the column in magnetic image.
Specifically, in obtaining magnetic image after the zone boundary of background patterns magnetic regions, to shield the RMB Background patterns magnetic regions mode, determine the position of magnetic security line.I.e. in the magnetic image other than the zone boundary, According to the quantity of magnetic dot number in magnet passage, the position of magnetic security line is determined, the magnet passage is the column in magnetic image.By institute It states in the magnetic image other than zone boundary, has magnetic region and there was only crown word number magnetic regions and magnetic security line region, because And optionally, in the magnetic image other than the zone boundary, according to the quantity of magnetic dot number in magnet passage, determine magnetic security The position of line may include: to determine the most channel of magnetic dot number in magnet passage in the magnetic image other than the zone boundary For the position of magnetic security line.It certainly, can also be according to the specific distribution of magnetic dot in the magnetic image other than the zone boundary Feature determines the position of magnetic security line.Alternatively, using other modes.
The zone boundary that the technical solution of the present embodiment passes through background patterns magnetic regions in acquisition magnetic image;In the area In magnetic image other than the boundary of domain, according to the quantity of magnetic dot number in magnet passage, the position of magnetic security line, the magnet passage are determined For the column in magnetic image, solve when cash inspecting machine aging or it is contaminated when, can using the localization method of existing magnetic security line The problem of capable of leading to the position inaccurate of magnetic security line, realizes the effect for improving the accuracy of magnetic security line positioning in bank note Fruit.
Embodiment two
Fig. 2 is the flow chart of the localization method of one of embodiment of the present invention two magnetic security line, and the present embodiment is upper It states and increases on the basis of embodiment one according to the magnetic dot number in intermediate magnet passage, obtain background patterns magnetic regions in magnetic image Zone boundary optional technical solution.With reference to Fig. 2, the localization method of magnetic security line provided in this embodiment specifically be can wrap Include following steps:
S210, since the first passage of magnetic image, along magnet passage serial number be incremented by direction finding magnetic dot number be more than setting threshold First magnet passage of value, and be more than first magnet passage of given threshold as starting magnet passage using the magnetic dot number.
Specifically, the given threshold can be 5 or the numerical value of other very littles.Since the first passage of magnetic image, Being incremented by first magnet passage that direction finding magnetic dot number is more than given threshold along magnet passage serial number can be used as starting magnet passage.Example Such as, it is assumed that the given threshold is 5, if being incremented by direction finding since the first passage of magnetic image along magnet passage serial number and arriving Magnetic dot number is more than that 5 first magnet passages are the third channel of magnetic image, then, just the third channel of the magnetic image is made To originate magnet passage.
S220, since the most end channel of magnetic image, along magnet passage serial number successively decrease direction finding magnetic dot number be more than setting threshold First magnet passage of value, and be more than first magnet passage of given threshold as termination magnet passage using the magnetic dot number.
Specifically, the given threshold can be 5 or the numerical value of other very littles.Since the most end channel of magnetic image, More than first magnet passage of given threshold it can be used as termination magnet passage along the magnet passage serial number direction finding magnetic dot number that successively decreases.Example Such as, it is assumed that the given threshold is 5, if since the most end channel (i.e. the 18th channel) of magnetic image, along magnet passage serial number It is the 17th channel of magnetic image that the direction finding that successively decreases, which is more than 5 first magnet passages to magnetic dot number, then, just by the magnetic 17th channel of image is as termination magnet passage.
In S230, each intermediate magnet passage between the starting magnet passage and the termination magnet passage, according to intermediate magnetic Magnetic dot number in channel obtains the zone boundary of background patterns magnetic regions in magnetic image.
Specifically, it is assumed that the starting magnet passage is the third channel of magnetic image;The magnet passage that terminates is magnetic image 17th channel, then, just in each intermediate magnet passage between the third channel and the 17th channel, according to centre Magnetic dot number in magnet passage obtains the zone boundary of background patterns magnetic regions in magnetic image.
Optionally, in the starting magnet passage and each intermediate magnet passage terminated between magnet passage, according to centre Magnetic dot number in magnet passage obtains the zone boundary of background patterns magnetic regions in magnetic image, comprising:
Since originating magnet passage, adjacent the sum of the magnetic dot number of N number of magnet passage is obtained towards magnet passage direction is terminated, and remember For nSum1, wherein N is positive integer and 2 < N < 5.
Specifically, since the background patterns magnetic regions and the crown word number magnetic regions at least occupy 4 magnet passages, Then optional 4 magnet passages of N number of magnet passage.Assuming that the starting magnet passage is the third channel of magnetic image;The termination magnetic Channel is the 17th channel of magnetic image, then, just since the third channel, obtained towards the 17th channel direction adjacent The sum of the magnetic dot number of 4 magnet passages, and it is denoted as nSum1.
Since terminating magnet passage, adjacent the sum of the magnetic dot number of N number of magnet passage is obtained towards starting magnet passage direction, and remember For nSum2, wherein N is positive integer and 2 < N < 5.
Specifically, assuming that the starting magnet passage is the third channel of magnetic image;The magnet passage that terminates is magnetic image 17th channel;And N=4, then, just since the 17th channel, 4 adjacent magnetic are obtained towards third channel direction The sum of the magnetic dot number in channel, and it is denoted as nSum2.
Compare the numerical values recited of nSum1 and nSum2.
According to comparison result, the zone boundary of background patterns magnetic regions in the magnetic image is obtained.
Specifically, obtaining background patterns magnetic in the magnetic image according to the size comparison result of nSum1 and nSum2 numerical value The zone boundary in property region.
It is further, described that the zone boundary of background patterns magnetic regions in the magnetic image is obtained according to comparison result, May include:
As nSum1 > nSum2, the left margin of background patterns magnetic regions in the magnetic image is positioned as starting magnet passage.
Specifically, assume that the starting magnet passage is the third channel of magnetic image, then, as nSum1 > nSum2, positioning The left margin of background patterns magnetic regions is third channel in the magnetic image.
Since the starting magnet passage, it is incremented by the most phase that direction finding magnetic dot number is less than given threshold along magnet passage serial number Adjacent magnet passage.
Specifically, the given threshold can be equally 5 or the numerical value of other very littles.Assuming that the starting magnet passage It is 5 for the third channel of magnetic image and the given threshold, then, just since the third channel, along magnet passage sequence Number most adjacent magnet passage of the incremental direction finding magnetic dot number less than 5.
The most adjacent magnet passage that the magnetic dot number is less than given threshold is positioned as background patterns magnetic in the magnetic image The right margin in property region.
It is further, described that the zone boundary of background patterns magnetic regions in the magnetic image is obtained according to comparison result, Can also include:
As nSum1 < nSum2, the right margin of background patterns magnetic regions in the magnetic image is positioned to terminate magnet passage.
Specifically, assume that the termination magnet passage is the 17th channel of magnetic image, then, it is fixed as nSum1 < nSum2 The right margin of background patterns magnetic regions is the 17th channel in the magnetic image of position.
Since the termination magnet passage, along magnet passage serial number successively decrease direction finding magnetic dot number be less than given threshold most phase Adjacent magnet passage.
Specifically, the given threshold can be equally 5 or the numerical value of other very littles.Assuming that the termination magnet passage It is 5 for the 17th channel of magnetic image and the given threshold, then, just since the 17th channel, along magnetic flux Road serial number is successively decreased most adjacent magnet passage of the direction finding magnetic dot number less than 5.
The most adjacent magnet passage that the magnetic dot number is less than given threshold is positioned as background patterns magnetic in the magnetic image The left margin in property region.
S240, in the magnetic image other than the zone boundary, according to the quantity of magnetic dot number in magnet passage, determine magnetic peace The position of all fronts, the magnet passage are the column in magnetic image.
The technical solution of the present embodiment is by finding starting magnet passage and terminating magnet passage;In the starting magnet passage and institute It states in each intermediate magnet passage terminated between magnet passage, according to the magnetic dot number in intermediate magnet passage, obtains Background in magnetic image The zone boundary of case magnetic regions;In the magnetic image other than the zone boundary, according to the quantity of magnetic dot number in magnet passage, really Determine the position of magnetic security line, the magnet passage is the column in magnetic image, solve when cash inspecting machine aging or it is contaminated when, utilize The localization method of existing magnetic security line, realizes raising paper at the problem of may cause the position inaccurate of magnetic security line The effect for the accuracy that magnetic security line positions in coin.
Embodiment three
Fig. 3 is the structure chart of the positioning device of one of embodiment of the present invention three magnetic security line, and the present embodiment can fit For needing to position magnetic security line, the case where to carry out RMB magnetic security Line feature, which can be integrated in and test In paper money equipment.With reference to Fig. 3, the structure of the positioning device of magnetic security line provided in this embodiment specifically be can be such that
Module 310 is obtained, for obtaining the zone boundary of background patterns magnetic regions in magnetic image;
Locating module 320, in the magnetic image other than the zone boundary, according to the number of magnetic dot number in magnet passage Amount, determines the position of magnetic security line, and the magnet passage is the column in magnetic image.
Optionally, the acquisition module includes:
Starting magnet passage determines submodule, for being incremented by direction along magnet passage serial number since the first passage of magnetic image First magnet passage that magnetic dot number is more than given threshold is found, and is more than first magnet passage of given threshold by the magnetic dot number As starting magnet passage;
It terminates magnet passage and determines submodule, for since the most end channel of magnetic image, successively decrease direction along magnet passage serial number First magnet passage that magnetic dot number is more than given threshold is found, and is more than first magnet passage of given threshold by the magnetic dot number As termination magnet passage;
Zone boundary acquisition submodule, in the starting magnet passage and each intermediate magnetic terminated between magnet passage In channel, according to the magnetic dot number in intermediate magnet passage, the zone boundary of background patterns magnetic regions in magnetic image is obtained.
Optionally, the zone boundary acquisition submodule includes:
First acquisition unit, for obtaining adjacent N number of magnet passage towards magnet passage direction is terminated since originating magnet passage The sum of magnetic dot number, and be denoted as nSum1, wherein N is positive integer and 2 < N < 5;
Second acquisition unit, for obtaining adjacent N number of magnet passage towards starting magnet passage direction since terminating magnet passage The sum of magnetic dot number, and be denoted as nSum2, wherein N is positive integer and 2 < N < 5;
Comparing unit, for comparing the numerical values recited of nSum1 and nSum2;
Third acquiring unit, for obtaining the region of background patterns magnetic regions in the magnetic image according to comparison result Boundary.
Optionally, the third acquiring unit includes:
First locator unit, for positioning background patterns magnetic regions in the magnetic image as nSum1 > nSum2 Left margin is starting magnet passage;
First finds subelement, for being incremented by direction finding magnetic dot along magnet passage serial number since the starting magnet passage Number is less than the most adjacent magnet passage of given threshold;
Second locator unit, the most adjacent magnet passage for the magnetic dot number to be less than given threshold are positioned as described The right margin of background patterns magnetic regions in magnetic image.
Optionally, the third acquiring unit includes:
Third locator unit, for positioning background patterns magnetic regions in the magnetic image as nSum1 < nSum2 Right margin is to terminate magnet passage;
Second finds subelement, for since the termination magnet passage, successively decreases direction finding magnetic dot along magnet passage serial number Number is less than the most adjacent magnet passage of given threshold;
4th locator unit, the most adjacent magnet passage for the magnetic dot number to be less than given threshold are positioned as described The left margin of background patterns magnetic regions in magnetic image.
Optionally, the locating module includes:
Position determination submodule, it is in the magnetic image other than the zone boundary, magnetic dot number in magnet passage is most Channel be determined as the position of magnetic security line.
The positioning device of magnetic security line provided in this embodiment, with magnetic security provided by any embodiment of the invention The localization method of line belongs to same inventive concept, and the positioning side of magnetic security line provided by any embodiment of the invention can be performed Method has the corresponding functional module of localization method and beneficial effect for executing magnetic security line.It is not detailed in the present embodiment to retouch The technical detail stated, reference can be made to the localization method for the magnetic security line that any embodiment of that present invention provides.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (12)

1. a kind of localization method of magnetic security line is applied to money-checking equipment characterized by comprising
Obtain the zone boundary of background patterns magnetic regions in magnetic image;
In the magnetic image other than the zone boundary, according to the quantity of magnetic dot number in magnet passage, the position of magnetic security line is determined It sets, the magnet passage is the column in magnetic image.
2. the method according to claim 1, wherein the area for obtaining background patterns magnetic regions in magnetic image Domain boundary includes:
Since the first passage of magnetic image, it is incremented by first that direction finding magnetic dot number is more than given threshold along magnet passage serial number Magnet passage, and be more than first magnet passage of given threshold as starting magnet passage using the magnetic dot number;
It is more than first of given threshold along the magnet passage serial number direction finding magnetic dot number that successively decreases since the most end channel of magnetic image Magnet passage, and be more than first magnet passage of given threshold as termination magnet passage using the magnetic dot number;
In the starting magnet passage and each intermediate magnet passage terminated between magnet passage, according to the magnetic in intermediate magnet passage Points obtain the zone boundary of background patterns magnetic regions in magnetic image.
3. according to the method described in claim 2, it is characterized in that, between the starting magnet passage and the termination magnet passage Each intermediate magnet passage in, according to the magnetic dot number in intermediate magnet passage, obtain the region of background patterns magnetic regions in magnetic image Boundary, comprising:
Since originating magnet passage, adjacent the sum of the magnetic dot number of N number of magnet passage is obtained towards magnet passage direction is terminated, and be denoted as NSum1, wherein N is positive integer and 2 < N < 5;
Since terminating magnet passage, adjacent the sum of the magnetic dot number of N number of magnet passage is obtained towards starting magnet passage direction, and be denoted as NSum2, wherein N is positive integer and 2 < N < 5;
Compare the numerical values recited of nSum1 and nSum2;
According to comparison result, the zone boundary of background patterns magnetic regions in the magnetic image is obtained.
4. according to the method described in claim 3, obtaining and being carried on the back in the magnetic image it is characterized in that, described according to comparison result The zone boundary of scape pattern magnetic regions, comprising:
As nSum1 > nSum2, the left margin of background patterns magnetic regions in the magnetic image is positioned as starting magnet passage;
Since the starting magnet passage, it is incremented by direction finding magnetic dot number along magnet passage serial number and is less than the most adjacent of given threshold Magnet passage;
The most adjacent magnet passage that the magnetic dot number is less than given threshold is positioned as background patterns magnetic area in the magnetic image The right margin in domain.
5. according to the method described in claim 3, obtaining and being carried on the back in the magnetic image it is characterized in that, described according to comparison result The zone boundary of scape pattern magnetic regions, comprising:
As nSum1 < nSum2, the right margin of background patterns magnetic regions in the magnetic image is positioned to terminate magnet passage;
It is most adjacent less than given threshold along the magnet passage serial number direction finding magnetic dot number that successively decreases since the termination magnet passage Magnet passage;
The most adjacent magnet passage that the magnetic dot number is less than given threshold is positioned as background patterns magnetic area in the magnetic image The left margin in domain.
6. the method according to claim 1, wherein in the magnetic image other than the zone boundary, according to magnetic The quantity of magnetic dot number in channel, determines the position of magnetic security line, comprising:
In the magnetic image other than the zone boundary, the most channel of magnetic dot number in magnet passage is determined as magnetic security line Position.
7. a kind of positioning device of magnetic security line is applied to money-checking equipment characterized by comprising
Module is obtained, for obtaining the zone boundary of background patterns magnetic regions in magnetic image;
Locating module, for according to the quantity of magnetic dot number in magnet passage, determining magnetic in the magnetic image other than the zone boundary Property safety line position, the magnet passage be magnetic image in column.
8. device according to claim 7, which is characterized in that the acquisition module includes:
Starting magnet passage determines submodule, for being incremented by direction finding along magnet passage serial number since the first passage of magnetic image Magnetic dot number be more than given threshold first magnet passage, and using the magnetic dot number be more than given threshold first magnet passage as Originate magnet passage;
It terminates magnet passage and determines submodule, for since the most end channel of magnetic image, successively decrease direction finding along magnet passage serial number Magnetic dot number be more than given threshold first magnet passage, and using the magnetic dot number be more than given threshold first magnet passage as Terminate magnet passage;
Zone boundary acquisition submodule, in the starting magnet passage and each intermediate magnet passage terminated between magnet passage In, according to the magnetic dot number in intermediate magnet passage, obtain the zone boundary of background patterns magnetic regions in magnetic image.
9. device according to claim 8, which is characterized in that the zone boundary acquisition submodule includes:
First acquisition unit, for obtaining the magnetic of adjacent N number of magnet passage towards termination magnet passage direction since originating magnet passage The sum of points, and it is denoted as nSum1, wherein N is positive integer and 2 < N < 5;
Second acquisition unit, for obtaining the magnetic of adjacent N number of magnet passage towards starting magnet passage direction since terminating magnet passage The sum of points, and it is denoted as nSum2, wherein N is positive integer and 2 < N < 5;
Comparing unit, for comparing the numerical values recited of nSum1 and nSum2;
Third acquiring unit, for obtaining the zone boundary of background patterns magnetic regions in the magnetic image according to comparison result.
10. device according to claim 9, which is characterized in that the third acquiring unit includes:
First locator unit, for positioning the left side of background patterns magnetic regions in the magnetic image as nSum1 > nSum2 Boundary is starting magnet passage;
First finds subelement, for it is small to be incremented by direction finding magnetic dot number along magnet passage serial number since the starting magnet passage In the most adjacent magnet passage of given threshold;
Second locator unit, the most adjacent magnet passage for the magnetic dot number to be less than given threshold are positioned as the magnetic chart The right margin of background patterns magnetic regions as in.
11. device according to claim 9, which is characterized in that the third acquiring unit includes:
Third locator unit, for positioning the right of background patterns magnetic regions in the magnetic image as nSum1 < nSum2 Boundary is to terminate magnet passage;
Second finds subelement, small along the magnet passage serial number direction finding magnetic dot number that successively decreases for since the termination magnet passage In the most adjacent magnet passage of given threshold;
4th locator unit, the most adjacent magnet passage for the magnetic dot number to be less than given threshold are positioned as the magnetic chart The left margin of background patterns magnetic regions as in.
12. device according to claim 7, which is characterized in that the locating module includes:
Position determination submodule, in the magnetic image other than the zone boundary, by most logical of magnetic dot number in magnet passage Road is determined as the position of magnetic security line.
CN201610712727.1A 2016-08-24 2016-08-24 The localization method and device of magnetic security line Expired - Fee Related CN106373254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610712727.1A CN106373254B (en) 2016-08-24 2016-08-24 The localization method and device of magnetic security line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610712727.1A CN106373254B (en) 2016-08-24 2016-08-24 The localization method and device of magnetic security line

Publications (2)

Publication Number Publication Date
CN106373254A CN106373254A (en) 2017-02-01
CN106373254B true CN106373254B (en) 2019-04-26

Family

ID=57878999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610712727.1A Expired - Fee Related CN106373254B (en) 2016-08-24 2016-08-24 The localization method and device of magnetic security line

Country Status (1)

Country Link
CN (1) CN106373254B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108198322B (en) * 2018-02-07 2020-03-27 深圳怡化电脑股份有限公司 Magnetic stripe positioning method and device
CN108765689B (en) * 2018-03-12 2020-09-15 深圳怡化电脑股份有限公司 Method and system for determining position of paper money magnetic safety line

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778778A (en) * 2015-03-23 2015-07-15 深圳怡化电脑股份有限公司 Money checking method and system
CN105069893A (en) * 2015-08-17 2015-11-18 深圳怡化电脑股份有限公司 Method and apparatus for checking bank note
CN105427448A (en) * 2015-10-29 2016-03-23 深圳怡化电脑股份有限公司 Method and device of obtaining banknote security thread boundary

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778778A (en) * 2015-03-23 2015-07-15 深圳怡化电脑股份有限公司 Money checking method and system
CN105069893A (en) * 2015-08-17 2015-11-18 深圳怡化电脑股份有限公司 Method and apparatus for checking bank note
CN105427448A (en) * 2015-10-29 2016-03-23 深圳怡化电脑股份有限公司 Method and device of obtaining banknote security thread boundary

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
纸币磁性安全线的鉴伪识别算法;白卫国;《华中科技大学硕士论文》;20130101;第3章第17页

Also Published As

Publication number Publication date
CN106373254A (en) 2017-02-01

Similar Documents

Publication Publication Date Title
CN103698687B (en) In integrated circuit hardware Trojan horse detection signal processing method and system
CN105069900B (en) A kind of method and device for handling bank note information
CN106373254B (en) The localization method and device of magnetic security line
CN107331031B (en) A kind of recognition methods of note denomination, device, equipment and storage medium
Borg et al. Observations of magnetic flux ropes during magnetic reconnection in the Earth's magnetotail
CN105354913B (en) A kind of method and device of detection bank note
CN103926522B (en) The method and system of hardware Trojan horse detection and location is carried out based on voltage
JP6107418B2 (en) Carrier frequency point search method and apparatus
CN103888266A (en) PUF reliability guarantee system and method based on RRC
CN107067533A (en) The method and device that a kind of bank note differentiates
CN103886669A (en) Compatible soft/hard magnetic characteristic signal detection magnetic head
CN105069899B (en) The method and banknote tester of a kind of currency examination
EP3236431B1 (en) Sampling method and sampling apparatus for anti-counterfeiting information about cash note
CN106570978A (en) Apparatus used for detecting anti-fake component and method thereof
BRPI0810566B1 (en) transponder activation method
CN106789948A (en) A kind of network web page method for detecting abnormality
CN105184954B (en) A kind of method and banknote tester for detecting bank note
CN102681936A (en) Verification method and device for test result of financial system
CN105680964B (en) A kind of frequency spectrum sensing method and frequency spectrum perception system, client and server-side
CN106789951A (en) A kind of network web page abnormality detection realizes system
CN106878248A (en) A kind of verification method and equipment
CN106504409B (en) A kind of detection method and device of bank note magnetic security line
CN104700492B (en) The false-proof detection method and device of a kind of marketable securities
CN106896309A (en) Signal processing apparatus and method, signal offset detection system and method
CN105260263B (en) A kind of the dynamic antidote and system of money-checking magnetic data

Legal Events

Date Code Title Description
C06 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190426

CF01 Termination of patent right due to non-payment of annual fee