Specific embodiment
To keep the purposes, technical schemes and advantages of this specification one or more embodiment clearer, below in conjunction with
This specification specific embodiment and corresponding attached drawing carry out the technical solution of this specification one or more embodiment clear, complete
Site preparation description.Obviously, described embodiment is only a part of the embodiment of this specification, instead of all the embodiments.Base
Embodiment in this explanation, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
His embodiment belongs to the range of this specification one or more embodiment protection.
Below in conjunction with attached drawing, the technical solution that each embodiment of this specification provides is described in detail.
Fig. 1 is a kind of interactive interface schematic diagram of papers-scanning method in this specification embodiment.As shown in Figure 1, when needing
When carrying out papers-scanning, opening scanning interface is reminded user that the front of certificate is placed in scanning wire frame 101, is carried out certainly
It is dynamic to generate scanning, it include portrait area positioning identifier 102 in scan box, what needs to be explained here is that, portrait area positioning identifier
102 region can be head portrait contour area in practical application scene and be also possible to border circular areas or square region, mesh
Be alignment additional clause portrait.Certificate includes obverse and reverse, and when specifically carrying out certificate false proof operation, ordinary circumstance is only needed
The front for verifying certificate can identify the true and false of scanned certificate, of course it is not excluded in other cases, it is also necessary to know
The reverse side of other certificate.This is not construed as limiting in this programme.In embodiment below, specifically by taking the front for scanning certificate as an example into
Row explanation.The front of certificate 103 is placed in scan box 101, plane and certificate place plane as far as possible where guarantee camera
It is parallel to carry out front scan, after front scan, then dip sweeping angle is carried out, scanning certificate obtains the side view of certificate
Picture can show " being verified " or other prompts for being used to that user certificate to be prompted to be verified after papers-scanning passes through
Information.
Next, by being specifically described for a kind of papers-scanning method combination attached drawing that specification embodiment provides:
Fig. 2 is a kind of flow diagram for papers-scanning method that this specification embodiment provides.For program angle,
The executing subject of process can be to be equipped on the program or application client of application server.
As shown in Fig. 2, the process may comprise steps of:
Step 202: obtaining the first image of multiframe being scanned with the first scanning angle to certificate, obtain the first figure
Image set, the scanning angle are the angle where plane where scanning lens and the certificate between plane.
Certificate can refer to for proving the certificates such as user identity, experience and file, such as:: resident identification card, the card such as passport
Part.
When carrying out papers-scanning identification, papers-scanning mode can be opened, such as: it is opened by the application program of installation
There is papers-scanning interface in camera function.Scanning angle mentioned herein can be understood as
Angle where plane where camera and certificate between plane.
When shooting direct picture, scan to obtain the first image of front scan with the first scanning angle.First scan angle
Degree can indicate front scan certificate image, and in practical applications, the first scanning angle can indicate flat where scanning lens
Smaller the first image to obtain front scan certificate of angle where face and certificate between plane.First scanning angle can be with table
Show an angle value, can also indicate an angular range.Such as: the first scanning angle is 10 ° or the first scanning angle is
0°-20°。
It should be noted that the first image mentioned in above-mentioned steps does not imply that the front and back sides of certificate, also refer to
The certificate image that front scan obtains, it is understood that are as follows: the first image is that plane where camera is kept as far as possible and swept
Retouch the image that plane where certificate is parallel or less parallel is scanned.
Step 204: obtaining the second image of multiframe for being scanned with the second scanning angle to the certificate, obtain the
Two image sets, second scanning angle are greater than first scanning angle.
Side image also refers to scanning lens and is tilted a certain angle the image that scanning obtains.Therefore, the second scan angle
Degree can be greater than the first scanning angle.Such as: the first scanning angle can be set to 0 ° -20 ° and (be more than or equal to 0 °, be less than
20 °), 20 ° -90 ° are set by the second scanning angle.
Step 206: determining the similarity between the first image collection and second image set.
Determine that the first image and the similarity between the second image set can be understood as determining front elevation image set and side
Similarity between the image set of face.
In practical applications, certificate can generally use laser etching technology, be exactly by laser beam in makrolon material card
It burns and carves in the different level of piece.Such as: Hong Kong smart identity cards additionally use chip warning technology, and surface uses anti false film
With multinomial printing anti-counterfeiting technology.Such as: in gender item destination locations on resident identification card, there is " Great Wall " figure of orientation phototropic
Case, " Chinese CHINA " printed words for thering is light darkening to store under photograph;If certificate front is placed under ultraviolet light, Huo Zheqing
When obliquely view, it can be found that " Great Wall " pattern of fluorescent printing.Certificate had under different light different gloss and
Information, the certificate image scanned from different angles will not be identical.
In addition, when determining the similarity between front elevation image set and side view image set certificate can be being extracted just using CNN
The feature vector in face and side, then alignment similarity.Similarity-rough set can also be carried out using other algorithms, specifically calculate phase
Like degree method in this programme without limitation.
Step 208: judging whether the similarity is less than preset threshold, obtain the first judging result.
Due to the particularity of certificate, anti false film, the warning chip of document surface are under different directional rays or different
The image that angle scanning obtains can be different, wherein anti false film can be a kind of directional light color-changing membrane, therefore, in practical application
In, the first image of the front scan of true certificate and the second image of dip sweeping have difference.
Preset threshold can specifically be set according to the difference of type of credential, be not construed as limiting herein.
Step 210: when first judging result indicates that the similarity is less than preset threshold, display the first prompt letter
Breath, first prompt information is for prompting the certificate to pass through fake certification.
If similarity is higher than preset threshold, it is believed that the front scan image of scanned certificate and the side of dip sweeping
Face image it is essentially identical (such as: can't see " Great Wall " pattern of fluorescent printing when identity card front scan, swept after tilt angle
Can't see the pattern on anti false film in the corresponding different images of the different angle retouched, then illustrate that the certificate is false papers), this
When, it is believed that scanned certificate is false papers.Conversely, when similarity value is less than preset threshold, it is believed that scanned card
Part is true certificate.
When it is true certificate that the result that scanning obtains, which is certificate, show for prompting certificate described in user to pass through fake certification
Or the information that scanning is completed.
It should be appreciated that application architecture dispositions method part step described in this specification one or more embodiment
Sequence can be exchanged with each other according to actual needs or part steps therein also can be omitted or delete.
It should be noted that needing to judge quilt according to two image sets after obtaining the first image set and the second image set
The true and false of certificate is scanned, at this point, in addition to being mentioned in the above method by calculating the similarity between two image sets, and compare
The size of similarity and preset threshold determines except the certificate true and false, can also be for the first image set and the second image obtained
Collection carries out integrated treatment using other recognition methods, judges the true and false of certificate, such as: use character recognition method, icon-based programming
Method, pixel recognition methods etc..This is not construed as limiting in this programme.
Method in Fig. 2 passes through the card for when scanning the image of certificate, guaranteeing to obtain front scan with the first scanning angle
First image of part scans the second image for obtaining the certificate of dip sweeping with second, does not need four sides of alignment to obtain scanning
Image, image could be obtained by avoiding the need for for the four edges of certificate being aligned with the frame at surface sweeping interface, and alignment procedure is many and diverse
Defect improves the efficiency of papers-scanning identification.
It should be noted that above method step can be executed in terminal, by the anti-fake process of papers-scanning terminal into
Row, does not need image being uploaded to server, by the true and false of server identification certificate, and recognition result is returned to terminal;Terminal
The true and false that can directly judge scanned certificate prompts user to rescan when determining that certificate is unsatisfactory for requiring, can be with
It avoids the need for networking and carries out anti-fake work in server-side, lead to the biggish defect of server end operating pressure, reduce server-side
Operating pressure.
Method based on Fig. 2, this specification embodiment additionally provide some specific embodiments of this method, carry out below
Explanation.
It should be noted that described obtain the first image of multiframe being scanned with the first scanning angle to certificate,
It specifically includes:
Obtain multiframe scan image;
Identify that there are the multiframes of certificate identification marking the from the scan image for meeting the first image preset condition
One image, the first image preset condition include the first scanning angle, and the certificate identification marking is in different scanning angles
It is lower that different image informations is presented;
It is described to obtain the second image of multiframe being scanned with the second scanning angle to the certificate, it specifically includes:
The second figure of multiframe there are certificate identification marking is identified from the scan image for meeting the second image preset condition
Picture, the certificate identification marking indicate different image informations under different scanning angles;
Different image informations is presented in the certificate identification marking under different scanning angles;
It should be noted that the scan image in the multiframe scan image obtained can be the figure for having already passed through preliminary screening
Picture, preliminary screening may include filtering out the image for meeting picture quality and/or the image for having head portrait.Specifically, it can extract
Meet the scan image of image preset condition out, image preset condition may include the second predetermined angle and picture quality, institute
Stating picture quality may include one or more of clarity, brightness, colour cast and noise.Such as: in the first graphical-set
Multiple image is scanning angle less than 10 °, the image that has identification marking, have head portrait and meet picture quality condition.
Certificate identification marking can be all correlated identities that can identify the certificate, such as: the anti false film of document surface,
The anti-counterfeiting chip of document surface, anti-fake fingerprint plate etc., certificate identification marking is under different shooting angle or different shootings
The image shot under light condition can be different, such as: it can change colour under different light or in different shootings
Different image informations is shown under angle.
By the above method, get the first image set scanned with the first scanning angle and the second scanning angle and
Second image set, and the image in two image sets meets picture quality condition, comprising head portrait and comprising in certificate identification marking
One or more, can guarantee for compare identification image set be effectively figure image set, can more efficiently identify certificate
The true and false improves certificate recognition efficiency.
Before the first image of multiframe that the acquisition is scanned certificate with the first scanning angle, it can also wrap
It includes:
Show that the second prompt information of the direct picture for prompting user to scan the certificate with the first scanning angle is shown
Show the second prompt information of the direct picture for prompting user to scan with the first scanning angle the certificate.
Further, the display is for prompting user to scan with the first scanning angle the direct picture of the certificate
Second prompt information shows that the second prompt of the direct picture for prompting user to scan the certificate with the first scanning angle is believed
Breath, can specifically include:
Show the first scan box and/or the animation for indicating the direct picture scan operation, first scan box
For rectangle or round rectangle.
Wherein, it may include portrait area positioning identifier in the first scan box.
Second prompt information may include believing for prompting user that certificate is placed on the text that corresponding position is scanned
One or more of breath, the first scan box and/or animation for indicating direct picture scan operation can in conjunction with attached drawing 3 into
Row illustrates.
The interface signal of front scan certificate image in a kind of papers-scanning method that Fig. 3 provides for this specification embodiment
Figure.As shown in figure 3, display is for prompting the scanning of certificate described in scanning input to believe on interface when opening papers-scanning mode
Breath, and show the first scan box 301, guarantee that certificate is located in first scan box 301, such as: display is " please just by certificate
Face is placed in scan box " or " please certificate being placed in present situation, shooting certificate front " etc., may be used also in the first scan box 301
To include portrait area positioning identifier 302, the first scan box at this time can be rectangle or circle, and concrete shape can basis
Actual conditions are defined, and the first scan box in Fig. 3 is rectangle identical with certificate shape.
In specific scanning, four points that can be automatically positioned on four angles of certificate, such as 303 in Fig. 3, automatic positioning is arrived
Four angles of certificate, by the ratio between four points of certificate, plane and camera institute where can probably estimating certificate
Angle between plane, when user sees that four points of certificate in scan box deviate scan box and can consider sweeping at this time farther out
It retouches angle and is unsatisfactory for preset condition.Can also be by the automatic positioning of four points, the object for allowing client to see four point locations
No is certificate to be scanned, such as: certificate is placed on cubic Notepaper and is scanned, four in scan box point may at this time
Four angles for navigating to Notepaper, without navigating on certificate to be scanned, Notepaper can be removed or be adjusted by user at this time
Plane where whole camera is to the distance between certificate place plane or angle.
After the complete certificate of front scan, side is needed to scan certificate image, at this point, the acquisition is with the first scanning angle pair
After the first image of multiframe that certificate is scanned, further includes:
Show the third prompt information of the direct picture for prompting user to scan with the second scanning angle the certificate.
After obtaining the first image set, reclining device is needed, continues to scan on certificate, obtains side image, detailed process
Following steps can be used:
The third prompt of direct picture of the display for prompting user to scan the certificate with the second scanning angle is believed
Breath, can specifically include:
Show the second scan box and/or the animation for indicating side image scan operation, second scan box be with
The different geometric figure of first scan box.
Wherein, it may include portrait area positioning identifier in second scan box.
After the complete certificate of scanning angle front scan less than the first predetermined angle, user inclination angle can be prompted on interface
Degree scanning certificate, specific interactive process can be illustrated in conjunction with Fig. 4.
The interface signal of certificate image is scanned in side in a kind of papers-scanning method that Fig. 4 provides for this specification embodiment
Figure.As shown in figure 4, showing the second scan box 401, human face region identification marking 402 also may include in the second scan box 401,
Wherein, the second scan box 401 can be the geometric figure frame different from the first scan box.In addition to this, in the lower section of scan box
Or any position in scanning interface can also show the animation for indicating side image scan operation, to assist user's reference
Animation completes the operation of side scanning.It indicates to show in the animation of side image scan operation for prompting user specifically to incline
The prompt information of oblique scanning angle, such as: display " please by 20 ° of device inclined or more ".
During above-mentioned dip sweeping, show more for prompting the prompt information of user's progress dip sweeping that can have
The kind form of expression, such as: display text prompt " please tilt 30 ° to be scanned ", display animation play specifically carry out dip sweeping
When operational motion picture etc..Above method step is interpreted as being only used for explaining the meeting in terminal interface when carrying out dip sweeping
It shows corresponding prompt information, the range of this programme is not defined.
It should be noted that under different light conditions, according to different light conditions, choosing whether to open flash lamp
Sub-scanning is carried out, when such as certain variations only used under light condition, then needs to open flash lamp, then exist
Front or after scanning through certificate, in order to increase the object of similarity-rough set, improves anti-fake accuracy, can open scanning
The flash lamp of equipment, front or side shoot the front picture of one or more certificate, and the first image set obtained with scanning is total
With for subsequent similarity-rough set.
By the above method, the first scan box and/or the animation for indicating the direct picture scan operation, In are shown
After the completion of front scan, the geometric figure different from rectangle or round rectangle is shown on interface.Such as: it can show ladder
The scan box of shape, fillet trapezoid or other geometric figures, and the information of display alarm user's dip sweeping, specifically can be with a variety of
Form prompts user to carry out dip sweeping, obtains multiframe side image, enriches the display mode at interface, user is facilitated quickly to manage
User can more intuitively understand and grasps the mode of scanning certificate for the concrete operation step for solving front scan or side scanning,
It avoids scanning the defect not smooth, scan efficiency is low caused by not knowing about papers-scanning mode of operation because of user, improves certificate
The efficiency of scanning recognition.
After scanning obtains multiframe direct picture and multiframe side image, need to compare between direct picture and side image
Similarity, to judge the true and false of certificate, the specific detailed process for determining the similarity between direct picture and side image
It may comprise steps of:
Similarity between the determining the first image collection and second image set, can specifically include:
Determine corresponding first image information of the first certificate identification marking that the first image is concentrated;
Determine corresponding second image information of the second certificate identification marking in second image set;
Calculate the similarity of the first image information and second image information.
Available certificate identification marking pair under the scanning angle of certificate identification marking under different light conditions, different
Different image informations is answered, therefore, in the similarity relatively between direct picture and side image, direct picture can be calculated
Similarity between the corresponding image set of middle certificate identification marking image set corresponding with the certificate identification marking in side image.
It is calculated similar between corresponding first image set of direct picture the second image set corresponding with side image
It after degree, can continue to judge whether similarity is less than preset threshold, when similarity is less than preset threshold, can determine and be swept
Retouching certificate is true certificate, can be shown for prompting prompt information of the certificate by fake certification, such as: it can be in terminal
Upper display indicates that verifying is completed to the icon of hook, can also show text prompt information, such as " certificate verification passes through, please on
The text informations such as biography " or " being verified ", herein, this programme is provided when determining certificate is true certificate, is shown for prompting visitor
The specific representation of the prompt information that family verifying is completed, prompt information can be there are many form of expression, and designer can basis
Actual conditions determine its specific form of expression.
When the judging result indicates that the similarity value is greater than or equal to the preset threshold, certificate knowledge can satisfy
This requirement of different image informations Biao Shi not be corresponded under different scanning angles, can determine that scanned certificate is false evidence
Part can be shown for prompting certificate described in user not by the prompt information of fake certification.Can specifically include: display is used for
The information that prompt user rescans the certificate.
Above method process in order to better understand can be further described in conjunction with attached drawing 5 and attached drawing 6.
The interface schematic diagram that certificate false proof passes through in a kind of papers-scanning method that Fig. 5 provides for this specification embodiment.
As shown in figure 5, when determining that the similarity between the first image set and the second image set is less than preset threshold, it can be with
It indicates that scanned certificate is true certificate, can show the mark being verified and/or text in the lower section of scan box.Certainly, originally
Field is it will be appreciated by the skilled person that the interactive interface in above-mentioned attached drawing and attached drawing is only for carrying out clear interpretation to this programme
In one of interactive interface, in practical applications, the form for the prompt information being particularly shown and interface can be according to realities
Border situation is defined, such as: the prompt information being verified may be displayed in scan box, also may be displayed on scan box
Above or below, the form being particularly shown can be icon, text or other tables that user can be allowed to understand that verifying is completed
Existing form, such as: it can show " scanning is completed ", " being to be completed " or show that the click button of " next step ", " completion " obtain
To clicking button etc..This programme is not construed as limiting this.
The unsanctioned interface signal of certificate false proof in a kind of papers-scanning method that Fig. 6 provides for this specification embodiment
Figure.
As shown in fig. 6, when determining that the similarity between the first image set and the second image set is greater than preset threshold, it can be with
Indicate that scanned certificate is false papers.At this point it is possible to show for prompting user certificate is anti-fake not pass through, need to rescan
Prompt information.As shown in Figure 6, the text information of " certificate mistake please retry " can be shown in the lower section of scan box.Certainly,
In addition to this it is possible to show text information or the icon etc. that other can prompt user to rescan, in practical applications,
It can only show the prompt informations such as " verifying does not pass through " or " certificate mistake ", then
Interface is back to the initial interface comprising the first scan box, to prompt user to need to be scanned to retry.
By the above method, by certificate false proof the results show that can quickly know the true and false of scanned certificate convenient for user.
It should be further noted that, if tilt angle is inadequate, will be unable to obtain at the front of dip sweeping certificate
Scanning angle is greater than the side image of the second predetermined angle, at this point it is possible to show the letter for prompting user to tilt greater angle
Breath, detailed process can use following methods:
The third prompt of direct picture of the display for prompting user to scan the certificate with the second scanning angle is believed
After breath, can also include:
Judge whether the scanning angle of the scanning lens meets second scanning angle, obtains the second judging result;
When second judging result indicates that the scanning angle is unsatisfactory for second scanning angle, show for mentioning
Show that user increases the 4th prompt information of the scanning angle.
When reclining device carries out the scanning of side image, it can detecte whether scanning angle meets the second scanning angle
(greater than the scanning angle of the second predetermined angle) can not obtain the side image of the condition of satisfaction when being unsatisfactory for, at this point it is possible to
The 4th prompt information for prompting user to increase scanning angle is shown in display interface.Its display interface can be as shown in Figure 7.
Prompt user inclination when scanning side image in a kind of papers-scanning method that Fig. 7 provides for this specification embodiment
The interface schematic diagram of greater angle.As shown in fig. 7, when carrying out side image scanning, between scan box 701 and certificate 702
Relative positional relationship be estimated that whether scanning angle meets the second scanning angle, in addition to this, can automatically detection scanning
Whether angle meets the second scanning angle, can be with display operation animation 703 in display interface when being unsatisfactory for, and prompt is used again
Family is operated according to the operating procedure in animation, and text information of the display for prompting user to rescan on interface,
Such as " the scanning failure, scanning angle please be increase and be scanned " shown in Fig. 7.
By the above method, user can be prompted to tilt greater angle and carried out when scanning input angle is unsatisfactory for requiring
Scanning carries out anti-pseudo-operation convenient for subsequent, improves and carry out anti-pseudo-operation to guarantee to scan the validity of obtained side image
Efficiency and accuracy.
In practical applications, when in light than in darker environment or certain specific certificates need different light
Anti-false sign, such as RMB could occur.At this point it is possible to by opening flash lamp, under conditions of opening flash of light light irradiation
Certificate is scanned, the image set scanned under different scanning angle is obtained.The acquisition carries out certificate with the first scanning angle
Before scanning obtained the first image of multiframe, can also include:
Light illumination mode is opened, the scan image of the certificate under light illumination mode is obtained.
It should be noted that can occur anti-false sign under light illumination mode, when shooting environmental is in light than darker
When environment or certain specific certificates need different light that anti-false sign part could occur, light illumination mode is opened, is entirely being swept
Light illumination mode is switched on during retouching, and the image set of front scan and the image set of dip sweeping are obtained with different scanning angles,
The image in two image sets is identified again, judges the certificate true and false.
Light illumination mode may include the flash lamp or flashlight of equipment itself, also may include the light that external equipment provides
Source, its purpose is to allow certificate to show anti-false sign under different light conditions, therefore, and in practical applications, flash of light
Lamp can be replaced using any external equipment for being capable of providing illumination, and can't constitute on the range of this programme influences.Than
Such as: the flashlight of scanning device can be opened when starting scanning, guarantee to carry out front elevation the case where flashlight irradiates certificate
The scanning of picture and side image.Flashlight can also be opened by external equipment and irradiate certificate, obtained when opening scan pattern
The direct picture and side image of certificate.
Above method step can be applied in the scanning recognition of Hong Kong certificate, detailed process can be adopted in conjunction with attached drawing 8
Process is realized using the following method:
Fig. 8 is Hong Kong certificate schematic diagram in a kind of papers-scanning method that this specification embodiment provides.
Such as: by taking the resident identification card of Hong Kong as an example, as shown in figure 8, the certificate identification marking in the resident identification card of Hong Kong can
To include triangle 801, the clarity of additional clause head portrait, number word articulations in certificate, " HONG KONG " mark and card
One or more of the anti false film on part surface.When being scanned, different scanning angles will lead to the knowledge of additional clause certificate
Corresponding image information is not identified to change.In the specific application process, it can will be scanned with the first scanning angle
Direct picture is carried out similarity with the side image scanned with the second scanning angle and compared, specifically, can be by front elevation
The corresponding image set of the first certificate identification marking image set corresponding with the second certificate identification marking in side image as in
Similarity comparison is carried out, anti-fake result is obtained.
Certificate false proof is carried out using the method in this programme, anti-pseudoprocess can carry out in terminal, not need to network,
Without carrying out anti-pseudo-operation in server-side and returning results to terminal, the operating pressure of server-side is alleviated, transmission letter is saved
Flow consumed by ceasing also improves the efficiency that terminal obtains certificate false proof result.
In addition, carrying out certificate false proof using the method in this programme, if it is determined that after certificate is true certificate, can will demonstrate,prove
Part information uploads to server-side, the certificate information uploaded by the further audit terminal of server-side whether with the user information that prestores
Match, auditing result is returned into terminal.
Based on same thinking, this specification embodiment additionally provides the corresponding device of the above method.Fig. 9 is this specification
A kind of structural schematic diagram for papers-scanning device corresponding to Fig. 2 that embodiment provides.As shown in figure 9, the apparatus may include:
First image collection module 902, for obtaining the multiframe being scanned with the first scanning angle to certificate
One image, obtains the first image set, and the scanning angle is between plane where scanning lens and certificate place plane
Angle;
Second image collection module 904, for obtain the certificate is scanned with the second scanning angle it is more
The second image of frame, obtains the second image set, and second scanning angle is greater than first scanning angle;
Similarity determining module 906, for determining the similarity between the first image collection and second image set;
First judgment module 908 obtains the first judging result for judging whether the similarity is less than preset threshold;
Display module 910, for when first judging result indicates that the similarity is less than preset threshold, display the
One prompt information, first prompt information is for prompting the certificate to pass through fake certification.
Optionally, described device can also include:
Second prompt information display module, for showing for prompting user to scan the certificate with the first scanning angle
Second prompt information of direct picture shows the direct picture for prompting user to scan with the first scanning angle the certificate
Second prompt information.
Optionally, the second prompt information display module, specifically can be used for:
Show the first scan box and/or the animation for indicating the direct picture scan operation, first scan box
For rectangle or round rectangle.
It optionally, include portrait area positioning identifier in first scan box.
Optionally, described device can also include:
Third prompt information display module, for showing for prompting user to scan the certificate with the second scanning angle
The third prompt information of direct picture.
Optionally, the third prompt information display module, specifically can be used for:
Show the second scan box and/or the animation for indicating side image scan operation, second scan box be with
The different geometric figure of first scan box.
It optionally, include portrait area positioning identifier in second scan box.
Optionally, the third prompt information display module, can be also used for:
Judge whether the scanning angle of the scanning lens meets second scanning angle, obtains the second judging result;
When second judging result indicates that the scanning angle is unsatisfactory for second scanning angle, show for mentioning
Show that user increases the 4th prompt information of the scanning angle.
Optionally, the first image obtains module 902, can specifically include:
Scan image acquiring unit, for obtaining multiframe scan image;
First image determination unit, for identifying presence from the scan image for meeting the first image preset condition
The first image of multiframe of certificate identification marking, the first image preset condition include the first scanning angle, the certificate identification
Different image informations is presented in mark under different scanning angles;
It is described to obtain the second image of multiframe being scanned with the second scanning angle to the certificate, specifically it can wrap
It includes:
Second image determination unit, for identifying that there are certificates from the scan image for meeting the second image preset condition
Different image informations is presented in the second image of multiframe of identification marking, the certificate identification marking under different scanning angles;
Optionally, the similarity determining module 906, can specifically include:
First image information determination unit, the first certificate identification marking for determining that the first image is concentrated are corresponding
First image information;
Second image information determination unit, for determining that the second certificate identification marking in second image set is corresponding
Second image information;
Similarity calculated, for calculating the similarity of the first image information Yu second image information.
Optionally, described device can also include:
5th prompt information display module, for indicating that the similarity value is greater than or equal to when first judging result
When the preset threshold, show that the 5th prompt information, the 5th prompt information are anti-for prompting certificate described in user not pass through
Puppet verifying.
Optionally, described device can be also used for:
Back to the interface comprising the first scan box.
Optionally, described device can be also used for:
Light illumination mode is opened, the scan image of the certificate under light illumination mode is obtained.
Device in Fig. 9 is guaranteed by the first image collection module of setting and the second image collection module with the first scanning
Angle obtains the first image of the certificate of front scan, with the second image of the certificate of the second scanning acquisition dip sweeping, is not required to
Four sides are aligned to obtain scan image, avoid the need for that the four edges of certificate are aligned and could be obtained with the frame at surface sweeping interface
Image, many and diverse defect of alignment procedure improve the efficiency of papers-scanning identification.
Based on same thinking, this specification embodiment additionally provides the corresponding equipment of the above method.
Figure 10 is a kind of structural schematic diagram for papers-scanning equipment corresponding to Fig. 2 that this specification embodiment provides.Such as
Shown in Figure 10, equipment 1000 may include:
At least one processor 1010;And
The memory 1030 being connect at least one described processor communication;Wherein,
The memory 930 is stored with the instruction 1020 that can be executed by least one described processor 1010, described instruction
Executed by least one described processor 1010 so that at least one described processor 1010 can:
The first image of multiframe being scanned with the first scanning angle to certificate is obtained, the first image set, institute are obtained
Stating scanning angle is the angle where plane where scanning lens and the certificate between plane;
The second image of multiframe being scanned with the second scanning angle to the certificate is obtained, the second image is obtained
Collection, second scanning angle are greater than first scanning angle;
Determine the similarity between the first image collection and second image set;
Judge whether the similarity is less than preset threshold, obtains the first judging result;
When first judging result indicates that the similarity is less than preset threshold, the first prompt information is shown, it is described
First prompt information is for prompting the certificate to pass through fake certification.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment
It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable
Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can
With or may be advantageous.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker
Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer
This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can
Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller
Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited
Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to
Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic
Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it
The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions
For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when specification one or more embodiment.
It should be understood by those skilled in the art that, this specification one or more embodiment can provide for method, system or
Computer program product.Therefore, complete hardware embodiment can be used in this specification one or more embodiment, complete software is implemented
The form of example or embodiment combining software and hardware aspects.Moreover, this specification one or more embodiment can be used one
It is a or it is multiple wherein include computer usable program code computer-usable storage medium (including but not limited to disk storage
Device, CD-ROM, optical memory etc.) on the form of computer program product implemented.
This specification one or more embodiment is referring to method, the equipment according to this specification one or more embodiment
(system) and the flowchart and/or the block diagram of computer program product describe.It should be understood that can be by computer program instructions reality
The now process in each flow and/or block and flowchart and/or the block diagram in flowchart and/or the block diagram and/or side
The combination of frame.Can provide these computer program instructions to general purpose computer, special purpose computer, Embedded Processor or other can
The processor of programming data processing equipment is to generate a machine, so that passing through computer or other programmable data processing devices
The instruction that executes of processor generate for realizing in one box of one or more flows of the flowchart and/or block diagram or
The device for the function of being specified in multiple boxes.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitorymedia), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
This specification one or more embodiment can computer executable instructions it is general on
It hereinafter describes, such as program module.Generally, program module includes executing particular task or realization particular abstract data type
Routine, programs, objects, component, data structure etc..Can also practice in a distributed computing environment this specification one or
Multiple embodiments, in these distributed computing environments, by being executed by the connected remote processing devices of communication network
Task.In a distributed computing environment, the local and remote computer that program module can be located at including storage equipment is deposited
In storage media.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely the embodiments of this specification, are not limited to the implementation of this specification one or more
Example.To those skilled in the art, this specification one or more embodiment can have various modifications and variations.It is all this
The spirit of specification one or more embodiment and any modification, equivalent replacement, improvement and so within principle should all include
Within the scope of the claims of this specification one or more embodiment.