CN104951762B - Bill exchange prevention method and bill exchange prevention system - Google Patents

Bill exchange prevention method and bill exchange prevention system Download PDF

Info

Publication number
CN104951762B
CN104951762B CN201510331168.5A CN201510331168A CN104951762B CN 104951762 B CN104951762 B CN 104951762B CN 201510331168 A CN201510331168 A CN 201510331168A CN 104951762 B CN104951762 B CN 104951762B
Authority
CN
China
Prior art keywords
bill
grid
seal
video
affixing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510331168.5A
Other languages
Chinese (zh)
Other versions
CN104951762A (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 YINZHIJIE TECHNOLOGIES Co Ltd
Original Assignee
SHENZHEN YINZHIJIE TECHNOLOGIES Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN YINZHIJIE TECHNOLOGIES Co Ltd filed Critical SHENZHEN YINZHIJIE TECHNOLOGIES Co Ltd
Priority to CN201510331168.5A priority Critical patent/CN104951762B/en
Publication of CN104951762A publication Critical patent/CN104951762A/en
Application granted granted Critical
Publication of CN104951762B publication Critical patent/CN104951762B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/44Event detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a bill exchange prevention method and a bill exchange prevention system. The bill exchange prevention system comprises a computer, a first camera shooting unit, a second camera shooting unit and a stamping machine, wherein the first camera shooting unit, the second camera shooting unit and the stamping machine are controlled by the computer; the first camera shooting unit is used for carrying out video recording on a bill in a corresponding position of the stamping machine; the second camera shooting unit is used for photographing the bill; the computer is used for receiving bill image data returned by the first camera shooting unit and the second camera shooting unit, controlling the stamping machine to move to a corresponding position above the bill according to a fixed track and stamp the bill, computing image gray difference between each bill image in a bill video before stamping and each image in the bill video after stamping, computing a bill change content ratio after stamping according to the image gray difference, judging whether the bill change content ratio excesses a set bill change content ratio threshold value or not and determining whether to start a bill exchange prevention response scheme according to a judging result.

Description

A kind of anti-bill swap method and anti-bill substitute system
Technical field
The present invention relates to note stamping technical field, more particularly, it relates to a kind of anti-bill swap method and anti-bill Substitute system.
Background technology
Bill can occur often during note stamping and substitute event, and the generation that bill substitutes event will cause not The negotiation of affixing one's seal of Jing internal checks approval to market, to the financial institution based on bank or the bill safety and prestige of industry Make a very bad impression.Just because of this, how to take precautions against bill of common occurrence during affixing one's seal and substitute event, improve negotiation Security, eliminates bill and substitutes the negative effect that behavior brings to the financial institution based on bank or industry, it has also become urgently solve Problem certainly.
The content of the invention
The technical problem to be solved in the present invention is the drawbacks described above for prior art, there is provided a kind of anti-bill side of substituting Method and anti-bill substitute system.
The technical solution adopted for the present invention to solve the technical problems is:Construct a kind of anti-bill swap method, the side Method comprises the steps:
S1, start the first image unit and the second image unit, by the first image unit to being positioned over the phase of seal-affixing machine Answering the bill of position carries out video record, and the bill is taken pictures by the second image unit;
S2, control seal-affixing machine move to bill top relevant position by set running orbit, after the process that carries out affixing one's seal to bill Remove bill region;
S3, calculate each width bill images in the bill video shot with video-corder before affixing one's seal of the first image unit and affix one's seal after The gradation of image difference between every piece image in the bill video shot with video-corder, calculates after affixing one's seal according to the gradation of image difference Bill changes content accounting;
Bill after S4, judgement are affixed one's seal changes the bill variation content accounting threshold whether content accounting meets or exceeds setting Value, decides whether that starting anti-bill substitutes counte-rplan according to the judged result.
In the above-mentioned anti-bill swap method of the present invention, also comprised the steps before step S1:
S0, set for judging the grid gradation of image discrepancy threshold whether ticket contents change, and set for knowing The bill occurred during other note stamping substitutes the bill of event and changes content accounting threshold value.
In the above-mentioned anti-bill swap method of the present invention, following step is also included between step S1 and step S2 Suddenly:
S12, the bill picture that the second image unit shoots is sent to ticket processing personnel and is audited, and examined in bill After core passes through, execution step S2.
In the above-mentioned anti-bill swap method of the present invention, step S3 is specifically included:
S31, sequentially select the first image unit that a width bill images of bill video are shot with video-corder before affixing one's seal, to the width ticket Grid process is carried out according to image, it is uniformly divided into the first grid spaces comprising W*H the first grid, it is right First grid spaces carry out ashing process, calculate the image intensity value of each the first grid;
S32, sequentially select the first image unit that a width bill images of bill video are shot with video-corder after affixing one's seal, to the width ticket Grid process is carried out according to image, it is uniformly divided into the second grid spaces comprising W*H the second grid, it is right Second grid spaces carry out ashing process, calculate the image intensity value of each the second grid;
S33, calculate in the first grid spaces and the second grid spaces one the first grid of residing orientation identical and one Grid gradation of image difference between second grid, judges whether party's table images gray scale difference value exceedes the grid image ash of setting Degree discrepancy threshold, in this way, is then defined as the second grid of ticket contents variation by second grid, and labels and distinguished;
The quantity of tagged second grid, calculates the number of tagged second grid in S34, the second grid spaces of statistics Amount accounts for the percentage of the second grid total quantity in the second grid spaces, and the percent value is defined as into M1%;
S35, circulation execution step S31 to S34, obtain n percent data, respectively M1%, M2%...Mn%, calculates The mean value of the n percent data, is the accounting that bill changes content by the mean value definition;
Wherein n represents the quantity of the bill images included in the bill video shot with video-corder before affixing one's seal;
It is as follows that the bill changes content accounting computing formula:
X represents that bill changes the accounting of content;
M1%, M2%...MN% represent classical prescription in the bill video after affixing one's seal format process bill images in label The second grid quantity account for the width bill images the second grid total quantity percentage.
In the above-mentioned anti-bill swap method of the present invention, occurs the second party of variation in step S33 to ticket contents Lattice also comprise the steps before labelling:
Judge that the ticket contents occurred in the second grid change whether to be changed by seal-affixing machine to cause, in this way, then not to this Two grids are labelled process.
In the above-mentioned anti-bill swap method of the present invention, decided whether according to judged result to start anti-ticket in step S4 Specifically include according to the step of substituting counte-rplan:
S41, judgement affix one's seal before and after ticket contents change percentage whether meet or exceed and changed in the bill of setting in Hold accounting threshold value;In this way, then execution step S42, otherwise, execution step S43;
S42, judge to affix one's seal after be positioned over seal-affixing machine relevant position bill as the bill substituted, generate the first bill take out Event is changed, the first bill is substituted into event write into Databasce, while starting operation of reporting to the police;
S43, the document field monitor video that the first image unit is shot with video-corder further is transferred, whether judge the first image unit The bill that absorbing artificially is carried out moves/substitutes picture, in this way, then judges the relevant position for being positioned over seal-affixing machine after affixing one's seal Bill is the bill substituted, and generates the second bill and substitutes event, and the second bill is substituted into event write into Databasce, while starting report Alert operation, otherwise, the bill after judgement is affixed one's seal is without the bill substituted.
The present invention also constructs a kind of anti-bill and substitutes system, and the anti-bill system of substituting includes:
First image unit and the second image unit, first image unit as video detecting camera, for right Being positioned over the bill of the relevant position of seal-affixing machine carries out video record, and second image unit is used for as camera of taking pictures The bill is taken pictures;
Seal-affixing machine;
For controlling the calculating of first image unit, second image unit and the seal-affixing machine collaborative work Machine, for receive that first image unit passes back affix one's seal before and after bill video, control seal-affixing machine is by the movement of both fixed tracks Process of affixing one's seal, each width ticket in the bill video that calculating is shot with video-corder before affixing one's seal are carried out to bill top relevant position and to bill Gradation of image difference between every piece image of the bill video shot with video-corder according to image and after affixing one's seal, according to the gradation of image difference Bill after calculating is affixed one's seal changes content accounting, and judges that the bill changes the bill variation that content accounting meets or exceeds setting Bill is generated during content accounting threshold value and substitutes event, and start the computer of warning.
Substitute in system in the above-mentioned anti-bill of the present invention, the anti-bill substitutes system also to be included being substituted for recording bill The database of event.
Substitute in system in the above-mentioned anti-bill of the present invention, it is described for receive that first image unit passes back affix one's seal before Bill video afterwards, control seal-affixing machine is moved to bill top relevant position and carries out process of affixing one's seal to bill by both fixed tracks, Calculating affix one's seal before width bill images in the bill video shot with video-corder with affix one's seal after the width image of bill video shot with video-corder it Between gradation of image difference, the bill after affixing one's seal is calculated according to the gradation of image difference and changes content accounting, and judge the bill Change generation bill when content accounting meets or exceeds the bill variation content accounting threshold value of setting and substitute event, and start warning The computer of operation includes:
Communication module, for sending to the first image unit, the second image unit and seal-affixing machine successively control signal is started, And the reception bill video passed back by the first image unit and the bill images passed back by the second image unit;
Selecting module, for the width bill images in the bill video shot with video-corder before sequentially selecting to affix one's seal, and sequentially A width bill images in the bill video that selection is shot with video-corder after affixing one's seal;
Bill images grid processing module, for carrying out at grid to the every width bill images selected by selecting module Reason, it is the first grid comprising W*H the first grid that every width bill images of the bill video shot with video-corder before affixing one's seal are evenly dividing Region, and it is the second grid spaces comprising W*H the second grid that the every width bill images shot with video-corder after affixing one's seal are evenly dividing;
Bill images are ashed processing module, for carrying out respectively at ashing to the first grid spaces and the second grid spaces Reason;
Computing module, for calculating the image intensity value of each the first grid and the gradation of image of each the second grid Value, calculate in the first grid spaces and the second grid spaces one the first grid of residing orientation identical and second grid it Between grid gradation of image difference, judge whether party table images gray scale difference value exceedes the grid gradation of image difference threshold of setting Value, in this way, then second grid is defined as the second grid of ticket contents variation;
Mark module, the second grid for changing to ticket contents is labelled and is distinguished.
Substitute in system in the above-mentioned anti-bill of the present invention, the computing module is additionally operable to count in the bill video after affixing one's seal Classical prescription format process every width bill images in tagged second grid quantity, calculate the quantity of tagged second grid The mean value of the percentage of the second grid total quantity in the second grid spaces when percentage is accounted for, is bill by the mean value definition Change the accounting of content;
The accounting computing formula that the bill changes content is as follows:
Wherein
X represents that bill changes the accounting of content;
M1%, M2%...MN% represent classical prescription in the bill video after affixing one's seal format process bill images in label The second grid quantity the second grid total quantity for accounting for the width bill images percentage n represent affix one's seal before the bill shot with video-corder The quantity of the bill images included in video.
Implement anti-bill swap method of the invention and anti-bill substitutes system, can reach following beneficial effect:
1st, the bill video before and after affixing one's seal by the intake of video detecting camera is present invention employs, is calculated by computer Each width bill images in the bill video that video detecting camera is shot with video-corder before affixing one's seal and the bill shot with video-corder after affixing one's seal Gradation of image difference between every piece image of video, the bill after affixing one's seal is calculated according to the gradation of image difference and changes content Accounting, changes bill content accounting and is compared with the bill variation content accounting threshold value of setting, is judged according to comparative result Whether the bill after affixing one's seal is that the anti-bill of the bill substituted substitutes scheme, therefore the present invention can be based on the bill images before and after affixing one's seal Intensity contrast analysis distinguishes that the bill occurred during note stamping substitutes behavior, generates the bill comprising operating personnel's information and takes out Event is changed, bill is substituted into logout in database, while starting operation of reporting to the police, thus timely and effectively prevented and affixed one's seal The bill occurred in journey substitutes event for another surreptitiously, it is to avoid company sustains a loss.
2nd, on the basis of original anti-bill substitutes scheme, staff of the present invention can also aid in having access to video detecting and take the photograph As the bill video that head is shot with video-corder and is stored in before and after affixing one's seal in database, judge whether video detecting camera is truncated to artificially Bill substitute picture, substitute original document using similar bill evading present system by affixing one's seal to exclude lawless people Gradation of image comparative analysis identification bill in front and back substitutes the situation of event, further increasing anti-bill of the invention and substitutes and is The bill of system substitutes the recognition accuracy of event.
Description of the drawings
Fig. 1 substitutes the structured flowchart of system for the anti-bill that first preferred embodiment of the present invention is provided;
Fig. 2 is the structured flowchart that the anti-bill shown in Fig. 1 substitutes the computer under system;
The flow chart of the anti-bill swap method that Fig. 3 is provided for second preferred embodiment of the present invention;
Fig. 4 changes the operational flowchart of content accounting for bill after affixing one's seal in the anti-bill swap method shown in Fig. 3.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described.Based on the embodiment in the present invention, The every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made, belongs to this The scope of bright protection.
Embodiment one
The present embodiment discloses a kind of anti-bill and substitutes system.
As shown in figure 1, the anti-bill substitutes system and including computer 100, being controlled by the first image unit of computer 100 300th, the database 500 of the second image unit 400, seal-affixing machine 200 and connection computer 100.
Wherein, the first image unit 300 is used as video detecting camera, for the corresponding positions to being positioned over seal-affixing machine 200 The bill put carries out video record, passes the bill video shot with video-corder back computer 100;
Second image unit 400 enters as camera of taking pictures, the bill for the relevant position to being positioned over seal-affixing machine 200 Row is taken pictures, and passes the bill images of shooting back computer 100.
Computer 100 is used to the bill images that the second image units of Jing 400 are passed back are sent to ticket processing personnel to carry out Examination & verification, after ticket processing passes through, control seal-affixing machine 200 is moved to bill position top and bill is carried out by both fixed tracks Affix one's seal and removed after processing.
The computer 100 is additionally operable to receive the bill video for affixing one's seal front/rear passed back by the first image unit 300, calculates Each width bill images in the bill video that first image unit 300 is shot with video-corder before affixing one's seal and the bill shot with video-corder after affixing one's seal are regarded The gradation of image difference between every piece image in frequency, the bill after affixing one's seal is calculated according to the gradation of image difference and changes content Accounting, the bill of the bill is changed into content accounting and setting changes content accounting threshold value and is compared, according to judging to tie Fruit decides whether that starting anti-bill substitutes counte-rplan.(for example, meet or exceed setting in the accounting for judging bill variation content Bill when changing content accounting threshold value, generate bill and substitute event, bill is substituted into event write into Databasce 500, and start Report to the police and operate).In the present embodiment, bill variation content accounting threshold value is preferably 30%.
As shown in Fig. 2 the computer 100 includes communication module 101, selecting module 102, the bill image space being sequentially connected Processing module of formatting 103, bill images ashing processing module 104, computing module 105 and mark module 106.Wherein:
The communication module 101 is used to send to the first image unit 300, the second image unit 400 and seal-affixing machine 200 successively Start control signal, receive the bill video passed back by the first image unit 300 and the ticket passed back by the second image unit 400 According to image.
The width bill images that the selecting module 102 is used in the bill video that sequentially selection is shot with video-corder before affixing one's seal, and Sequentially select the width bill images in the bill video shot with video-corder after affixing one's seal.
The bill images grid processing module 103 is used to enter the every width bill images selected by the selecting module 102 The process of row gridization, it is comprising W*H the first grid that every width bill images of the bill video shot with video-corder before affixing one's seal are evenly dividing The first grid spaces, and it is comprising W*H the second grids that the every width bill images shot with video-corder after affixing one's seal are evenly dividing Two grid spaces.
The bill images ashing processing module 104 is used to be ashed the first grid spaces and the second grid spaces respectively Process.
The computing module 105 is used to calculate the image intensity value of each the first grid and the image of each the second grid Gray value, calculates one the first grid of residing orientation identical and a second party in the first grid spaces and the second grid spaces Grid gradation of image difference between lattice, judges whether party's table images gray scale difference value exceedes the grid gradation of image difference of setting Threshold value, in this way, then second grid is defined as the second grid of ticket contents variation.
The mark module 106 is used to label the second grid that ticket contents change and is distinguished.
The computing module 105 be additionally operable to count classical prescription in the bill video after affixing one's seal format process every width bill images in The quantity of tagged second grid, the quantity for calculating tagged second grid accounts for the second grid sum in the second grid spaces The mean value of the percentage of the amount when percentage, is the accounting that bill changes content by the mean value definition;
In the present invention, the accounting computing formula of bill variation content is as follows:
Wherein
X represents that bill changes the accounting of content;
M1%, M2%...Mn%M1%, M2%...MN% represent that classical prescription in the bill video after affixing one's seal is formatted the ticket of process The percentage of the second grid total quantity of the width bill images is accounted for according to the quantity of tagged second grid in image;
N represents the quantity of the bill images included in the bill video shot with video-corder before affixing one's seal.
Embodiment two
The present embodiment discloses a kind of anti-bill swap method.The method includes following process step:
Step 101, preset for judging the grid gradation of image the difference threshold whether ticket contents of grid change (in the present embodiment, grid gradation of image discrepancy threshold is preferably 50*W*H to value, and W*H represents that classical prescription is formatted the bill after processing The grid quantity on surface), and the bill of appearance is substituted in the bill variation of event during setting for recognizing note stamping (in the present embodiment, bill changes content accounting threshold value and is preferably 30%) to hold accounting threshold value.
Step 102, computer 100 start the first image unit 300 and the second image unit 400, single by the first shooting First 300 pairs of bills put carry out video recording, are taken pictures by 400 pairs of bills put of the second image unit, by second The bill images that image unit 400 is passed back are sent to ticket contents auditor and are audited.
Step 103, judge ticket contents examination & verification whether pass through.
Audit such as ticket contents and passed through, then return to step 102, otherwise, execution step 104.
Step 104, computer 100 calculate in the bill video shot with video-corder before affixing one's seal of the first image unit 300 per width Gradation of image difference between each image of the bill video that bill images and the first image unit 300 are shot with video-corder after affixing one's seal, The bill before and after affixing one's seal is calculated according to the gradation of image difference value and changes content accounting.
Step 105, judge that bill changes content accounting and whether exceedes in the bill of setting and change content accounting threshold value.
Content accounting threshold value is changed as Jing multilevel iudges bill is changed in bill of the content accounting not less than setting, is then performed Step 106, otherwise, execution step 107.
Step 106, first camera is transferred from database 500 in the bill video shot with video-corder in front and back of affixing one's seal, judge first Whether image unit 300 captures artificial bill is substituted picture.In this way, then execution step 107, otherwise, execution step 108.
Step 107, computer 100 generate bill and substitute event, and bill is substituted into logout in database 500, and open Dynamic operation of reporting to the police (for example, open buzzer to be reported to the police, while the red light of flicker is sent by LED alarm indicators, with Remind related personnel to process and investigate occurred bill in time and substitute behavior).
Step 108, computer 100 judge that the bill of the relevant position for being placed in seal-affixing machine 200 is replaced, and return step Rapid 102.
As shown in figure 4, in anti-bill swap method of the invention, step 104 further includes following subprocessing step:
Step 1041, computer 100 sequentially select the first image unit 300 to be taken the photograph before affixing one's seal by selecting module 102 The width bill images are carried out grid process by one width bill images of record bill video, and it is uniformly divided into The first grid spaces comprising W*H the first grid.
Step 1042, computer 100 sequentially select the first image unit 300 to be taken the photograph after affixing one's seal by selecting module 102 The width bill images are carried out grid process by one width bill images of record bill video, and it is uniformly divided into The second grid spaces comprising W*H the second grid.
Step 1043, calculate in the first grid spaces and the second grid spaces one the first grid of residing orientation identical and Grid gradation of image difference between one the second grid.
Step 1044, judge whether party table images gray scale difference value exceedes the grid gradation of image discrepancy threshold of setting.Such as It is, then execution step 1045, otherwise, execution step 1046.
Step 1045, judge that the ticket contents of the second grid change whether to be changed by seal-affixing machine 200 and cause.In this way, then hold Row step 1046, otherwise, execution step 1047.
Step 1046, process that or not second grid do not labelled.
Step 1047, the second grid is defined as the grid that ticket contents change, and the second grid is labelled, with It is easy to distinguish and counts.
The quantity of tagged second grid accounts for the hundred of the second grid total quantity in step 1048, the second grid spaces of calculating Divide ratio.Step 1048 be finished after return to step 1041.
Step 1049, circulation execution step 1041 obtain N group percent datas to step 1048, calculate the N group percentages The mean value of data, as bill change the accounting of content.
It is as follows that the present invention changes content accounting computing formula in bill after affixing one's seal:
Wherein
X represents that bill changes the accounting of content;
M1%, M2%...Mn%M1%, M2%...MN% represent that classical prescription in the bill video after affixing one's seal is formatted the ticket of process The percentage of the second grid total quantity of the width bill images is accounted for according to the quantity of tagged second grid in image;
N represents the quantity of the bill images included in the bill video shot with video-corder before affixing one's seal.
In sum, anti-bill swap method of the invention and the anti-bill system of substituting have the advantage that and be especially embodied in:
1st, the bill video before and after affixing one's seal by the intake of video detecting camera is present invention employs, by computer 100 Calculate each width bill images in the bill video shot with video-corder before affixing one's seal of video detecting camera and shot with video-corder after affixing one's seal Gradation of image difference between the corresponding width image of bill video, the bill after affixing one's seal is calculated according to the gradation of image difference and is changed Content accounting, changes bill content accounting and is compared with the bill variation content accounting threshold value of setting, according to comparative result Judge whether the bill after affixing one's seal substitutes scheme as the anti-bill of the bill substituted, therefore the present invention can be based on the bill before and after affixing one's seal Gradation of image comparative analysis distinguishes that the bill occurred during note stamping substitutes behavior, generates the ticket comprising operating personnel's information According to the event of substituting, bill is substituted into logout in database 500, while starting operation of reporting to the police, thus timely and effectively prevented The bill occurred during affixing one's seal substitutes event for another surreptitiously, it is to avoid company sustains a loss.
2nd, on the basis of original anti-bill substitutes scheme, staff of the present invention can also aid in having access to video detecting and take the photograph As the bill video that head is shot with video-corder and is stored in before and after affixing one's seal in database 500, judge whether video detecting camera is truncated to Artificial bill substitutes picture, is passed through evading present system with excluding lawless people and substituting original document using similar bill Gradation of image comparative analysis identification bill before and after affixing one's seal substitutes the situation of event, further increasing anti-bill of the invention and takes out The bill for changing system substitutes the recognition accuracy of event.
One of ordinary skill in the art will appreciate that realizing all or part of link in above-described embodiment method, can be The hardware of correlation is instructed by the program of computer 100 completing, described program can be stored in a computer 100 and can read deposits In storage media, the program is upon execution, it may include such as the link of the embodiment of above-mentioned each method.Wherein, described storage medium Can be magnetic disc, CD, read-only memory (Read Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Embodiments of the invention are described above in conjunction with accompanying drawing, but be the invention is not limited in above-mentioned concrete Embodiment, above-mentioned specific embodiment is only schematic, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of without departing from present inventive concept and scope of the claimed protection, can also make a lot Form, these are belonged within the protection of the present invention.

Claims (7)

1. a kind of anti-bill swap method, it is characterised in that methods described comprises the steps:
S1, start the first image unit and the second image unit, by the first image unit to being positioned over the corresponding positions of seal-affixing machine The bill put carries out video record, and the bill is taken pictures by the second image unit;
S2, control seal-affixing machine move to bill top relevant position by set running orbit, remove after the process that carries out affixing one's seal to bill Bill region;
S3, calculate each width bill images in the bill video shot with video-corder before affixing one's seal of the first image unit and shoot with video-corder after affixing one's seal Bill video in every piece image between gradation of image difference, the bill after affixing one's seal is calculated according to the gradation of image difference Change content accounting;
Bill after S4, judgement are affixed one's seal changes the bill variation content accounting threshold value whether content accounting meets or exceeds setting, Decide whether that starting anti-bill substitutes counte-rplan according to the judged result;
Wherein, step S3 is specifically included:
S31, sequentially select the first image unit that a width bill images of bill video are shot with video-corder before affixing one's seal, to the width bill As carrying out grid process, it is uniformly divided into the first grid spaces comprising W*H the first grid, to first Grid spaces carry out ashing process, calculate the image intensity value of each the first grid;
S32, sequentially select the first image unit that a width bill images of bill video are shot with video-corder after affixing one's seal, to the width bill As carrying out grid process, it is uniformly divided into the second grid spaces comprising W*H the second grid, to second Grid spaces carry out ashing process, calculate the image intensity value of each the second grid;
S33, calculate in the first grid spaces and the second grid spaces one the first grid of residing orientation identical and one second Grid gradation of image difference between grid, judges whether party's table images gray scale difference value exceedes the grid gradation of image for setting poor Different threshold value, in this way, is then defined as the second grid of ticket contents variation by second grid, and labels and distinguished;
The quantity of tagged second grid in S34, the second grid spaces of statistics, the quantity for calculating tagged second grid is accounted for The percentage of the second grid total quantity, by the percent value M is defined as in second grid spaces1%;
S35, circulation execution step S31 to S34, obtain n percent data, respectively M1%, M2%...Mn%, calculates the n The mean value of individual percent data, is the accounting that bill changes content by the mean value definition;
Wherein n represents the quantity of the bill images included in the bill video shot with video-corder before affixing one's seal;
It is as follows that the bill changes content accounting computing formula:
X = M 1 % + M 2 % + ...... + M n % n ;
X represents that bill changes the accounting of content;
M1%, M2%...Mn% represent classical prescription in the bill video after affixing one's seal format process bill images in tagged second The quantity of grid accounts for the percentage of the second grid total quantity of the width bill images.
2. anti-bill swap method according to claim 1, it is characterised in that also included before step S1 as follows Step:
S0, set for judging the grid gradation of image discrepancy threshold whether ticket contents change, and set for recognizing ticket The bill for substituting event according to the bill occurred during affixing one's seal changes content accounting threshold value.
3. anti-bill swap method according to claim 2, it is characterised in that step S1 and step S2 it Between also comprise the steps:
S12, the bill picture that the second image unit shoots is sent to ticket processing personnel and is audited, and it is logical in ticket processing Later, execution step S2.
4. anti-bill swap method according to claim 1, it is characterised in that ticket contents are gone out in step S33 The second grid for now changing also comprises the steps before labelling:
Judge that the ticket contents occurred in the second grid change whether to be changed by seal-affixing machine to cause, in this way, then not to the second party Lattice are labelled process.
5. anti-bill swap method according to claim 4, it is characterised in that according to the judged result in step S4 Decide whether to start the step of anti-bill substitutes counte-rplan and specifically include:
Whether the ticket contents change percentage before and after S41, judgement are affixed one's seal meets or exceeds and change in the bill of setting content and account for Compare threshold value;In this way, then execution step S42, otherwise, execution step S43;
S42, judge to affix one's seal after be positioned over seal-affixing machine relevant position bill as the bill substituted, generate the first bill substitute thing Part, by the first bill event write into Databasce is substituted, while starting operation of reporting to the police;
S43, the document field monitor video that the first image unit is shot with video-corder further is transferred, judge whether the first image unit absorbs Picture is moved/substituted to the bill for artificially carrying out, in this way, then the bill of the relevant position for being positioned over seal-affixing machine after affixing one's seal is judged For the bill substituted, generate the second bill and substitute event, the second bill is substituted into event write into Databasce, while starting the behaviour that reports to the police Make, otherwise, it is determined that the bill after affixing one's seal is without the bill substituted.
6. a kind of anti-bill of anti-bill swap method of application as described in arbitrary in claim 1 to 5 substitutes system, its feature It is that the anti-bill system of substituting includes:
First image unit and the second image unit, first image unit as video detecting camera, for placing Bill in the relevant position of seal-affixing machine carries out video record, second image unit as camera of taking pictures, for this Bill is taken pictures;
Seal-affixing machine;
For controlling the computer of first image unit, second image unit and the seal-affixing machine collaborative work, use In receive that first image unit passes back affix one's seal before and after bill video, control seal-affixing machine is moved to bill by both fixed tracks Top relevant position simultaneously carries out process of affixing one's seal to bill, each width bill images in the bill video that calculating is shot with video-corder before affixing one's seal With affix one's seal after gradation of image difference between every piece image of bill video for shooting with video-corder, lid is calculated according to the gradation of image difference Bill after chapter changes content accounting, and judges that bill variation content accounting meets or exceeds the bill variation content of setting and accounts for Event is substituted than generating bill during threshold value, and starts the computer of operation of reporting to the police;
Wherein, it is described for receive that first image unit passes back affix one's seal before and after bill video, control seal-affixing machine was by both Fixed track is moved to bill top relevant position and process of affixing one's seal is carried out to bill, in the bill video that calculating is shot with video-corder before affixing one's seal A width bill images and the width image for the bill video shot with video-corder after affixing one's seal between gradation of image difference, according to image ash Degree difference calculates the bill after affixing one's seal and changes content accounting, and judges that the bill changes the ticket that content accounting meets or exceeds setting Substituting event according to bill is generated when changing content accounting threshold value, and start the computer of operation of reporting to the police includes:
Communication module, for sending to the first image unit, the second image unit and seal-affixing machine successively control signal is started, and is connect Receive the bill video passed back by the first image unit and the bill images passed back by the second image unit;
Selecting module, for the width bill images in the bill video shot with video-corder before sequentially selecting to affix one's seal, and sequentially selects A width bill images in the bill video shot with video-corder after affixing one's seal;
Bill images grid processing module, for carrying out grid process to the every width bill images selected by selecting module, It is the first grid zone comprising W*H the first grid that every width bill images of the bill video shot with video-corder before affixing one's seal are evenly dividing Domain, and it is the second grid spaces comprising W*H the second grid that the every width bill images shot with video-corder after affixing one's seal are evenly dividing;
Bill images are ashed processing module, for carrying out ashing process respectively to the first grid spaces and the second grid spaces;
Computing module, for calculating the image intensity value of each the first grid and the image intensity value of each the second grid, Calculate in the first grid spaces and the second grid spaces between one the first grid of residing orientation identical and second grid Grid gradation of image difference, judge whether party table images gray scale difference value exceedes the grid gradation of image discrepancy threshold of setting, In this way, then by second grid be defined as ticket contents variation the second grid;
Mark module, the second grid for changing to ticket contents is labelled and is distinguished;
The computing module be additionally operable to count classical prescription in the bill video after affixing one's seal format process every width bill images in mark-on The quantity of the second grid of note, the quantity for calculating tagged second grid accounts for the second grid total quantity in the second grid spaces The mean value of the percentage when percentage, is the accounting that bill changes content by the mean value definition;
The accounting computing formula that the bill changes content is as follows:
X = M 1 % + M 2 % + ...... + M n % n ;
Wherein
X represents that bill changes the accounting of content;
N represents the quantity of the bill images included in the bill video shot with video-corder before affixing one's seal;
M1%, M2%...Mn% represent respectively classical prescription in the bill video after affixing one's seal format process bill images in it is tagged The quantity of the second grid accounts for the percentage of the second grid total quantity of the width bill images.
7. anti-bill according to claim 6 substitutes system, it is characterised in that the anti-bill substitutes system also to be included using The database of event is substituted in record bill.
CN201510331168.5A 2015-06-15 2015-06-15 Bill exchange prevention method and bill exchange prevention system Active CN104951762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510331168.5A CN104951762B (en) 2015-06-15 2015-06-15 Bill exchange prevention method and bill exchange prevention system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510331168.5A CN104951762B (en) 2015-06-15 2015-06-15 Bill exchange prevention method and bill exchange prevention system

Publications (2)

Publication Number Publication Date
CN104951762A CN104951762A (en) 2015-09-30
CN104951762B true CN104951762B (en) 2017-05-10

Family

ID=54166404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510331168.5A Active CN104951762B (en) 2015-06-15 2015-06-15 Bill exchange prevention method and bill exchange prevention system

Country Status (1)

Country Link
CN (1) CN104951762B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105644168B (en) * 2016-01-29 2019-01-22 珠海汇金科技股份有限公司 A kind of file is affixed one's seal method
CN107323114B (en) * 2017-06-22 2019-08-16 珠海汇金科技股份有限公司 Intrusion detection method, system and the print control instrument of print control instrument

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5201395A (en) * 1990-09-27 1993-04-13 Oki Electric Industry Co., Ltd. Bill examination device
CN100345155C (en) * 2004-09-22 2007-10-24 珠海金联安警用技术研究发展中心有限公司 Anti-fake bill processing system
CN103208004A (en) * 2013-03-15 2013-07-17 北京英迈杰科技有限公司 Automatic recognition and extraction method and device for bill information area

Also Published As

Publication number Publication date
CN104951762A (en) 2015-09-30

Similar Documents

Publication Publication Date Title
CN101894260B (en) Method for identifying forgery seal based on feature line randomly generated by matching feature points
TW201917616A (en) Document verification and identity verification method and device
CN107133265A (en) A kind of method and device of identification behavior abnormal user
CN110348312A (en) A kind of area video human action behavior real-time identification method
CN104244016B (en) A kind of H264 video contents altering detecting method
CN104951762B (en) Bill exchange prevention method and bill exchange prevention system
CN106779292A (en) A kind of is the method and device of offering customers service based on recognition of face
CN109784158A (en) Credential management control method, device, computer equipment and storage medium
CN104156691B (en) A kind of detection pedestrian based on image procossing crosses the monitoring method of gate
CN108491697A (en) File content is divulged a secret management system and retroactive method of divulging a secret
CN107909009A (en) A kind of obstacle detection method and device based on road surface study
CN100354898C (en) Antifake method and apparatus for banker's bill based on digital video-frequency
CN107241231A (en) A kind of fast accurate localization method of raw network data bag
Hoffman et al. Reporting recidivism rates: The criterion and follow-up issues
CN110309737A (en) A kind of information processing method applied to cigarette sales counter, apparatus and system
CN112884480B (en) Method, device, computer equipment and medium for constructing abnormal transaction identification model
CN116340928B (en) Data security management method and system for intelligent equipment of Internet of things
CN111667243A (en) Business audit system based on ERP system
CN110111200A (en) A kind of data exception intelligent control method and intelligent monitoring and controlling device based on PSI
CN113723071B (en) Electronic archive verification method, system, storage medium and equipment
CN115731707A (en) Highway vehicle traffic control method and system
WO2022222174A1 (en) Dangerous goods supervision system and method based on video image analysis
CN106934920B (en) A kind of doubt paper money processing method and processing device
CN110769205A (en) Monitoring system and method for early warning campus cheating
CN205722109U (en) Banknote anti-counterfeiting detection equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A Method and System for Preventing Ticket Swapping

Effective date of registration: 20231109

Granted publication date: 20170510

Pledgee: Shenzhen hi tech investment small loan Co.,Ltd.

Pledgor: SHENZHEN INFOTECH TECHNOLOGIES Co.,Ltd.

Registration number: Y2023980064999

PE01 Entry into force of the registration of the contract for pledge of patent right