CN117237682A - Certificate verification method and device, storage medium and electronic equipment - Google Patents

Certificate verification method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN117237682A
CN117237682A CN202311340711.9A CN202311340711A CN117237682A CN 117237682 A CN117237682 A CN 117237682A CN 202311340711 A CN202311340711 A CN 202311340711A CN 117237682 A CN117237682 A CN 117237682A
Authority
CN
China
Prior art keywords
certificate
image
verified
posture
verification
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.)
Pending
Application number
CN202311340711.9A
Other languages
Chinese (zh)
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.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202311340711.9A priority Critical patent/CN117237682A/en
Publication of CN117237682A publication Critical patent/CN117237682A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the specification discloses a certificate verification method, a device, a storage medium and electronic equipment, wherein the method comprises the following steps: in response to a certificate verification instruction, a first verification policy corresponding to the certificate verification instruction is firstly determined, the first verification policy is to change a certificate to be verified from a first posture to a second posture, then a first posture image of the certificate to be verified in the first posture, a second posture image of the certificate to be verified in the second posture and at least one intermediate posture image in the process of changing the certificate to be verified from the first posture to the second posture are collected, and finally certificate verification is carried out according to the first posture image, the second posture image and the at least one intermediate posture image, so that a certificate verification result corresponding to the certificate to be verified is obtained.

Description

Certificate verification method and device, storage medium and electronic equipment
Technical Field
The present invention relates to computer technologies, and in particular, to a method and apparatus for verifying credentials, a storage medium, and an electronic device.
Background
In recent years, with the rapid development of the internet, people can transact various services online and verify related certificates online.
The on-line certificate verification is different from the off-line mode, and the on-line verification mode of verification only through the certificate pictures enables verification safety to be greatly tested. Therefore, on-line certificate verification puts higher requirements on the security and accuracy of certificate anti-counterfeiting detection.
Disclosure of Invention
The embodiment of the specification provides a certificate verification method, which is used for performing certificate verification according to a plurality of gesture images by collecting the plurality of gesture images in the process of changing the gesture of the certificate, so that the safety and the accuracy of the certificate verification are improved.
According to the above object, an embodiment of the present specification proposes a certificate verification method, including:
responding to a certificate verification instruction, and determining a first verification strategy corresponding to the certificate verification instruction, wherein the first verification strategy is to change the certificate to be verified from a first posture to a second posture;
collecting a first posture image of the certificate to be verified in the first posture, a second posture image of the certificate to be verified in the second posture and at least one middle posture image in the process of changing the certificate to be verified from the first posture to the second posture;
and carrying out certificate verification according to the first posture image, the second posture image and at least one intermediate posture image to obtain a certificate verification result corresponding to the certificate to be verified.
Further, in some embodiments, the acquiring a first pose image of the document to be verified in the first pose, a second pose image of the document to be verified in the second pose, and at least one intermediate pose image of the document to be verified during a change from the first pose to the second pose, includes:
starting an image acquisition function and displaying images acquired based on the image acquisition function on a display interface frame by frame;
detecting whether the display interface contains the certificate to be verified or not frame by frame, and determining that an image of the certificate to be verified containing a first gesture is the first gesture image;
detecting gesture information of the to-be-verified certificate in the display interface frame by frame in the process that the to-be-verified certificate is changed from the first gesture to the second gesture, and determining at least one intermediate gesture image containing the to-be-verified certificate;
and determining a second posture image positioned in the second posture when the posture information meets the second posture.
Further, in some embodiments, the determining that the image of the document to be authenticated that includes the first pose is the first pose image includes:
Determining that a first frame contains the certificate to be verified in an image of the certificate to be verified as a first gesture;
and determining the image of the certificate to be verified containing the first gesture as the first gesture image.
Further, in some embodiments, the determining that the image of the document to be authenticated that includes the first pose is the first pose image includes:
when the display interface is detected to contain the certificate to be verified, detecting the gesture information of the certificate to be verified in the display interface frame by frame;
and determining that the image with the gesture information being the first gesture is the first gesture image.
Further, in some embodiments, the detecting, frame by frame, whether the document to be authenticated is included in the display interface includes:
detecting whether the display interface contains the certificate to be verified or not based on a certificate detection algorithm;
when the fact that the display interface contains the certificate to be verified is detected, outputting position coordinate information of the certificate to be verified;
and detecting the gesture information of the certificate to be verified in the display interface frame by frame, wherein the gesture information comprises:
intercepting an attitude identification image containing the certificate to be verified in the next frame of image in the display interface based on the position coordinate information;
And detecting the gesture information of the certificate to be verified in the gesture recognition image.
Still further, in some embodiments, the acquiring a first pose image of the document to be verified in the first pose, a second pose image of the document to be verified in the second pose, and at least one intermediate pose image of the document to be verified during a change from the first pose to the second pose, includes:
carrying out certificate corner recognition on the acquired image in the display interface to obtain each corner coordinate of the certificate to be verified;
calculating and generating posture information corresponding to the certificate to be verified according to the coordinates of each corner of the certificate to be verified;
and acquiring a first posture image of the certificate to be verified in the first posture, a second posture image of the certificate to be verified in the second posture and at least one middle posture image in the process of changing the certificate to be verified from the first posture to the second posture according to the posture information.
Further, in some embodiments, the performing the certificate verification according to the first pose image, the second pose image, and at least one intermediate pose image to obtain a certificate verification result corresponding to the certificate to be verified includes:
Sequencing the first posture image, the second posture image and at least one middle posture image according to the acquisition time to obtain a sequenced posture image sequence;
and carrying out certificate verification according to the gesture image sequence to obtain a certificate verification result corresponding to the certificate to be verified.
Further, in some embodiments, after determining the first verification policy corresponding to the certificate verification instruction, the method further includes:
and displaying verification indication information corresponding to the first verification strategy on a display interface.
Further, in some embodiments, after obtaining the certificate verification result corresponding to the certificate to be verified, the method further includes:
and if the certificate verification result indicates that the certificate to be verified is not verified, outputting a re-verification indication message to indicate the user to perform secondary verification, wherein the gesture changing direction of the second verification strategy of the secondary verification is different from that of the first verification strategy.
The embodiment of the specification also provides a certificate verification device, which comprises:
the policy determining module is used for responding to the certificate verification instruction and determining a first verification policy corresponding to the certificate verification instruction, wherein the first verification policy is to change the certificate to be verified from a first posture to a second posture;
The image acquisition module is used for acquiring a first posture image of the certificate to be verified in the first posture, a second posture image of the certificate to be verified in the second posture and at least one middle posture image in the process of changing the certificate to be verified from the first posture to the second posture;
and the certificate verification module is used for performing certificate verification according to the first posture image, the second posture image and at least one intermediate posture image to obtain a certificate verification result corresponding to the certificate to be verified.
The present description also provides a computer program product storing at least one instruction adapted to be loaded by a processor and to perform the above-described method steps.
The present description also provides a computer storage medium storing a computer program adapted to be loaded by a processor and to perform the steps of the above-described method.
The embodiment of the specification also provides an electronic device, including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the steps of the method described above.
According to the certificate verification method provided by the embodiment of the specification, the first verification strategy corresponding to the certificate verification instruction is firstly determined in response to the certificate verification instruction, the first verification strategy is to change the certificate to be verified from the first posture to the second posture, then the first posture image of the certificate to be verified, the second posture image of the certificate to be verified and at least one middle posture image in the process of changing the certificate to be verified from the first posture to the second posture are collected, finally the certificate verification is carried out according to the first posture image, the second posture image and the at least one middle posture image, so that the certificate verification result corresponding to the certificate to be verified is obtained, namely, in the certificate verification process, a plurality of different posture images of the certificate in the posture change process are collected according to the preset first verification strategy, and the certificate verification is carried out according to the images of the plurality of certificates in the different postures, so that the accuracy and the safety of the certificate verification can be effectively improved.
Drawings
FIG. 1 is a schematic flow chart of a certificate verification method according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart of a certificate verification method according to an embodiment of the present disclosure;
FIG. 3 is an exemplary schematic diagram of a gesture recognition image according to an embodiment of the present disclosure;
FIG. 4 is an exemplary schematic diagram of a sequence of pose images provided in embodiments of the present disclosure;
FIG. 5 is a schematic flow chart of a certificate verification method according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating an indication message according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a document authentication device according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an image capturing module according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram of a document authentication device according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present specification more apparent, the technical solutions of the present specification will be clearly and completely described below with reference to specific embodiments of the present specification and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present specification. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are intended to be within the scope of the present disclosure.
eKYC is electronic identity authentication, namely, the process of automatically verifying user identity authentication is remotely completed by using an AI technology, so that the true identity of a user is known, the risk caused by identity fraud is reduced, and compared with the traditional offline KYC flow, the online authentication method is simpler and more efficient and has better user experience. In a typical eKYC process, a user is required to take a photograph of his Identity (ID) document (e.g., an identification card, driver's license, passport, etc.) as part of an authentication process to verify ownership factors (i.e., whether the user possesses the actual physical document) and intrinsic factors (i.e., whether the user is the person he/she claims to be).
However, in the related art, identification and verification are performed on user credentials, only one frame of credential image is collected for verification, so that the characteristics of the obtained credential image are limited, and the security and accuracy of credential verification cannot be ensured.
Based on this, the embodiment of the specification provides a method for verifying a certificate, in response to a certificate verification instruction, first determining a first verification policy corresponding to the certificate verification instruction, where the first verification policy is to change a to-be-verified certificate from a first posture to a second posture, then collecting a first posture image of the to-be-verified certificate in the first posture, a second posture image of the to-be-verified certificate in the second posture, and at least one intermediate posture image in the process of changing the to-be-verified certificate from the first posture to the second posture, and finally performing certificate verification according to the first posture image, the second posture image and the at least one intermediate posture image to obtain a certificate verification result corresponding to the to-be-verified certificate; by adopting the method, in the certificate verification process, a plurality of images with different postures of the certificate in the posture change process are collected according to the preset first verification strategy, and the certificate verification is carried out according to the images with different postures of the plurality of certificates, so that the accuracy and the safety of the certificate verification can be effectively improved.
Referring to fig. 1, a schematic flow chart of a certificate verification method is provided in an embodiment of the present disclosure. In the embodiments of the present specification, the certificate verification method is applied to a certificate verification apparatus or an electronic device provided with the certificate verification apparatus. The following details the flow shown in fig. 1, and the certificate verification method specifically includes the following steps:
s102, responding to a certificate verification instruction, and determining a first verification strategy corresponding to the certificate verification instruction, wherein the first verification strategy is to change a certificate to be verified from a first posture to a second posture;
in one or more embodiments of the present description, the credential verification instructions may be user initiated operation instructions or preset instructions for timing settings. And the certificate verification device or the electronic equipment provided with the certificate verification device responds to the certificate verification instruction to acquire a first verification strategy corresponding to the certificate verification instruction.
The first verification policy is a preset verification policy corresponding to a certificate verification instruction, and the first verification policy comprises a posture change policy of a certificate to be verified. In this specification embodiment, the first verification policy is to change the pose of the document to be predicted from a first pose to a second pose.
The first gesture is the starting gesture of image acquisition, and the second gesture is the ending gesture of image acquisition. That is, the certificate verification method provided in the embodiment of the present disclosure is used to start the collection of the gesture image when the to-be-verified certificate is in the first gesture, and end the collection of the gesture image when the to-be-verified certificate is in the second gesture, and finally perform the certificate verification according to the collected at least two gesture images, so as to obtain the certificate verification result corresponding to the to-be-verified certificate.
In a possible embodiment, the first attitude may be at a pitch angle of 0 ° and the second attitude may be at a pitch angle of 30 °.
Optionally, after determining the first verification policy corresponding to the certificate verification instruction, displaying verification indication information corresponding to the first verification policy on a display interface. For example, when the first posture is a pitch angle of 0 ° and the second posture is a pitch angle of 30 ° in the first verification policy, indication information for deflecting the pitch angle of the document to be verified from 0 ° to 30 ° is displayed on the display interface.
The display interface may be an image acquisition interface displaying an acquired image or other interfaces outside the image acquisition interface.
In one or more embodiments of the present disclosure, the verification instruction information may be any one or more of text information, voice information, and animation information.
It should be noted that, the certificate verification method provided in the embodiment of the present disclosure may be applied to only the terminal device, or may be applied to a system architecture formed by the terminal device and the server. When the method is applied to terminal equipment, the terminal executes all steps of collecting an attitude image and verifying credentials; when applied to a system architecture formed by a terminal device and a server, one possible implementation mode can be that the terminal device is only used for acquiring an attitude image, and the server is used for verifying credentials according to the attitude image.
S104, acquiring a first posture image of the certificate to be verified in a first posture, a second posture image of the certificate to be verified in a second posture and at least one middle posture image in the process of changing the certificate to be verified from the first posture to the second posture;
in one or more embodiments of the present disclosure, when a user changes the pose of a document to be authenticated following a first authentication policy, during a pose change, a first pose image of the document to be authenticated in a first pose, a second pose image of the document to be authenticated in a second pose, and at least one intermediate pose image of the document to be authenticated during a change from the first pose to the second pose are acquired.
Optionally, in one or more embodiments of the present disclosure, in response to a certificate verification instruction, the certificate verification device or the electronic device configured with the certificate verification device starts an image capturing function, captures an image in a framing range based on the image capturing function in real time, and displays the image captured based on the image capturing function on a display interface frame by frame, while detecting whether the display interface contains a certificate to be verified or not frame by frame, determining that the image of the certificate to be verified containing a first pose is a first pose image, and detecting pose information of the certificate to be verified in the display interface frame by frame in a process that the certificate to be verified is changed from the first pose to the second pose, determining at least one intermediate pose image containing the certificate to be verified, and determining a second pose image located in the second pose when the pose information satisfies the second pose.
Optionally, in one or more embodiments of the present disclosure, whether the document to be authenticated is included in the display interface is detected frame by frame based on a document detection algorithm.
It can be understood that in the process of collecting the image containing the certificate to be verified based on the image collecting function in real time, the certificate verifying device or the electronic device provided with the certificate verifying device performs certificate detection on each frame of image displayed on the display interface by using a certificate detecting algorithm, and judges whether the image contains the certificate to be verified.
Optionally, in one or more embodiments of the present disclosure, whether the document to be verified is included in the display interface is detected frame by frame, and the image of the document to be verified including the first pose is determined to be the first pose image, or it may be determined that the document to be verified in the image of the document to be verified including the first frame is the first pose, and further it is determined that the image of the document to be verified including the first pose is the first pose image.
It can be understood that whether the display interface contains the certificate to be verified is detected frame by frame, when the first frame is detected to contain the image of the certificate to be verified, the current gesture of the certificate to be verified in the image is taken as a first gesture, and the image is taken as a first gesture image. That is, the first pose may be an unfixed pose, and in the image acquisition process, the pose of the document to be verified in the first frame is taken as the first pose.
Optionally, in one or more embodiments of the present disclosure, when it is detected that the display interface includes the document to be verified, gesture information of the document to be verified in the display interface is detected frame by frame, and an image in which the gesture information is determined to be the first gesture is the first gesture image.
It can be understood that in the image acquisition process, whether each frame image in the display interface contains the certificate to be verified is firstly identified based on the certificate detection algorithm, when the frame image containing the certificate to be verified is detected, the gesture information detection is carried out on the image subsequently displayed on the display interface from the frame image containing the certificate to be verified, and when the gesture information of the certificate to be verified is detected to be the first gesture, the image is taken as the first gesture image.
It should be noted that, the document detection algorithm only needs to detect whether the image contains the document to be verified, while the algorithm for detecting the gesture information of the document to be verified needs to implement more complex detection operation, and the operation power consumption is far higher than that of the document detection algorithm. Therefore, gesture information detection is performed after the credentials to be verified are contained in the image, and power consumption control of the electronic equipment is facilitated.
Optionally, in one or more embodiments of the present disclosure, whether the display interface includes the certificate to be verified is detected based on a certificate detection algorithm, when the display interface includes the certificate to be verified is detected, position coordinate information of the certificate to be verified is output, then a gesture recognition image including the certificate to be verified is intercepted in a next frame image in the display interface based on the position coordinate information, and gesture information of the certificate to be verified in the gesture recognition image is detected.
It should be noted that when the certificate detection algorithm is utilized to detect that the image contains the certificate to be verified, the certificate detection algorithm outputs the position coordinate information of the certificate to be verified, when the next frame of image is detected, the gesture recognition image containing the certificate to be verified can be intercepted according to the position coordinate information, the image range and the size of the gesture recognition image are far smaller than those of the original image displayed on the display interface, and the detection is performed according to the intercepted gesture recognition image, so that the detection efficiency can be improved and the operation power consumption can be reduced.
Optionally, in one or more embodiments of the present disclosure, the acquired image in the display interface may be identified by a document corner, so as to obtain coordinates of each corner of the document to be verified, then pose information corresponding to the document to be verified is calculated and generated according to the coordinates of each corner of the document to be verified, and finally, a first pose image of the document to be verified in a first pose, a second pose image of the document to be verified in a second pose, and at least one intermediate pose image of the document to be verified in a process from the first pose to the second pose are acquired according to the pose information.
S106, carrying out certificate verification according to the first posture image, the second posture image and at least one middle posture image to obtain a certificate verification result corresponding to the certificate to be verified.
In one or more embodiments of the present disclosure, after acquiring a first posture image, a second posture image, and at least one intermediate posture image, certificate verification is performed according to the first posture image, the second posture image, and the at least one intermediate posture image, so as to obtain a certificate verification result corresponding to a certificate to be verified.
The certificate verification result may be a true and false identification result of the certificate to be verified. And when the certificate verification result indicates that the certificate to be verified is a true certificate, determining that the certificate passes the verification, and when the certificate verification result indicates that the certificate to be verified is a false certificate, determining that the certificate does not pass the verification.
Optionally, in one or more embodiments of the present disclosure, after acquiring the first posture image, the second posture image, and the at least one intermediate posture image, the first posture image, the second posture image, and the at least one intermediate posture image are ordered according to the acquisition time, so as to obtain an ordered posture image sequence, and then certificate verification is performed according to the posture image sequence, so as to obtain a certificate verification result corresponding to the certificate to be verified.
It can be understood that, in the method for verifying a certificate provided in the embodiment of the present disclosure, the pose images of the certificate to be verified, which are located in different poses in the process of changing the poses, are collected to perform certificate verification, and the first pose image, the second pose image and at least one intermediate pose image are sequenced according to the acquisition time, so that a sequenced pose image sequence is obtained, and in the process of performing certificate verification according to the pose image sequence, a time feature is added, so that the certificate verification effect is further improved.
Optionally, in one or more embodiments of the present disclosure, after obtaining a certificate verification result corresponding to a certificate to be verified, if the certificate verification result indicates that verification of the certificate to be verified is not passed, a duplicate verification instruction is output to instruct the user to perform the second verification, where a posture change direction of the second verification policy and the first verification policy of the second verification is different.
It is worth mentioning that when the certificate verification fails, the user can be guided to perform secondary verification, so that the fact that the real certificate fails to pass the certificate verification due to verification errors is avoided. The second authentication policy for the secondary authentication may be different from the first authentication policy.
In a possible embodiment, the first verification policy is to change the document to be verified from a first posture to a second posture, where the first posture may be at a pitch angle of 0 °, the second posture may be at a pitch angle of 30 °, the second verification policy is to change the document to be verified from a third posture to a fourth posture, where the third posture may be at a yaw angle of-20 °, and the fourth posture may be at a yaw angle of 50 °.
In one or more embodiments of the present disclosure, in response to a certificate verification instruction, a first verification policy corresponding to the certificate verification instruction is first determined, the first verification policy is to change a to-be-verified certificate from a first pose to a second pose, then a first pose image of the to-be-verified certificate in the first pose, a second pose image of the to-be-verified certificate in the second pose, and at least one intermediate pose image of the to-be-verified certificate in the process of changing the first pose to the second pose are collected, finally certificate verification is performed according to the first pose image, the second pose image and the at least one intermediate pose image, so as to obtain a certificate verification result corresponding to the to-be-verified certificate, that is, in the process of certificate verification, a plurality of different pose images of the to-be-verified certificate in the process of changing the pose are collected according to the preset first verification policy, and certificate verification is performed according to the images of the plurality of certificates in the different poses, so that accuracy and safety of certificate verification can be effectively improved.
Fig. 2 is a schematic flow chart of a certificate verification method according to an embodiment of the present disclosure. As shown in fig. 2, the method comprises the steps of:
s202, responding to a certificate verification instruction, and determining a first verification strategy corresponding to the certificate verification instruction, wherein the first verification strategy is to change a certificate to be verified from a first posture to a second posture;
in step S202, please refer to the detailed description of step S102 in another embodiment of the present disclosure, and the detailed description is omitted here.
S204, starting an image acquisition function and displaying images acquired based on the image acquisition function on a display interface frame by frame;
in one or more embodiments of the present disclosure, after the electronic device receives the certificate verification instruction, an image capturing function is turned on, an image of a viewfinder range is captured based on the image capturing function, and the captured image is displayed on a display interface frame by frame.
It should be noted that, the function of starting the image acquisition may be to start an image capturing device associated with the electronic device, and the image capturing device may be a device module integrated on the electronic device, or may be an external device in communication connection with the electronic device.
In one embodiment, the display interface may be a display screen integrated on the electronic device, or may be an external display communicatively coupled to the electronic device.
S206, detecting whether the display interface contains the certificate to be verified or not frame by frame, and determining that the image of the certificate to be verified containing the first gesture is the first gesture image;
it can be understood that, for the images collected by the image collecting device, the continuously collected continuous frame images are sequentially displayed on the display interface, and the collected continuous frame images are detected frame by frame, so that a first gesture image of the certificate to be verified containing the first gesture is determined.
In one or more embodiments of the present disclosure, whether a document to be authenticated is included in a display interface is detected frame by frame based on a document detection algorithm, and when it is detected that a first frame includes an image of the document to be authenticated, a current pose of the document to be authenticated in the image is taken as a first pose, and the image is taken as a first pose image.
It may be appreciated that in one or more embodiments of the present disclosure, the first gesture in the first verification policy may be a fixed preset gesture or an unfixed gesture. And when the first gesture is an unfixed gesture, determining the gesture of the to-be-verified document in the image of the to-be-verified document detected by the first frame as the first gesture.
When the first gesture is a fixed preset gesture, identifying whether each frame image in the display interface contains a to-be-verified certificate based on a certificate detection algorithm, when the frame image containing the to-be-verified certificate is detected, detecting gesture information of the image subsequently displayed on the display interface from the frame image containing the to-be-verified certificate, and when the gesture information of the to-be-verified certificate is detected to be the first gesture, taking the image as the first gesture image.
It should be noted that, the document detection algorithm only needs to detect whether the image contains the document to be verified, while the algorithm for detecting the gesture information of the document to be verified needs to implement more complex detection operation, and the operation power consumption is far higher than that of the document detection algorithm. Therefore, gesture information detection is performed after the credentials to be verified are contained in the image, and power consumption control of the electronic equipment is facilitated.
Optionally, in one or more embodiments of the present disclosure, whether the display interface includes the certificate to be verified is detected based on a certificate detection algorithm, when the display interface includes the certificate to be verified is detected, position coordinate information of the certificate to be verified is output, then a gesture recognition image including the certificate to be verified is intercepted in a next frame image in the display interface based on the position coordinate information, and gesture information of the certificate to be verified in the gesture recognition image is detected.
It should be noted that when the certificate detection algorithm is utilized to detect that the image contains the certificate to be verified, the certificate detection algorithm outputs the position coordinate information of the certificate to be verified, when the next frame of image is detected, the gesture recognition image containing the certificate to be verified can be intercepted according to the position coordinate information, the image range and the size of the gesture recognition image are far smaller than those of the original image displayed on the display interface, and the detection is performed according to the intercepted gesture recognition image, so that the detection efficiency can be improved and the operation power consumption can be reduced.
Referring to fig. 3, an exemplary schematic diagram of a gesture recognition image according to an embodiment of the present disclosure is provided. As shown in fig. 3, the certificate detection algorithm detects the certificate to be verified in the current frame image and outputs the position coordinate information of the certificate to be verified, and then the next frame image is cut according to the position coordinate information to obtain the gesture recognition image.
In one or more embodiments of the present disclosure, gesture detection may be performed based on a deep-learned gesture detection model when detecting gesture information of a document to be verified in a display interface on a frame-by-frame basis.
In one or more embodiments of the present disclosure, when detecting pose information of a document to be verified in a display interface frame by frame, recognition of document corner points may be performed on an acquired image in the display interface to obtain coordinates of each corner point of the document to be verified, and then pose information corresponding to the document to be verified is calculated and generated according to the coordinates of each corner point of the document to be verified.
In one or more embodiments of the present disclosure, after obtaining the corner coordinates of the to-be-verified document, a virtual document frame corresponding to the to-be-verified document is generated according to each corner coordinate of the to-be-verified document, and the virtual document frame is displayed on a display interface, so as to enhance the interaction experience of the user and the device.
S208, detecting the posture information of the to-be-verified certificate in the display interface frame by frame in the process that the to-be-verified certificate is changed from the first posture to the second posture, and determining at least one intermediate posture image containing the to-be-verified certificate;
in one or more embodiments of the present specification, after determining the first pose image, pose information detection is performed on an image subsequently displayed on the display interface starting from the first pose image, and a plurality of frames of images located between the first pose and the second pose are randomly acquired as intermediate pose images.
S210, when the gesture information meets the second gesture, determining a second gesture image positioned in the second gesture;
in one or more embodiments of the present disclosure, after determining the first pose image, the pose information detection is performed on an image subsequently displayed on the display interface starting from the first pose image, and when the pose information of the document to be verified is detected as the second pose, the image is taken as the second pose image.
In one or more embodiments of the present description, the second gesture may be a determined preset gesture. For example, the first attitude is a pitch angle of 0 °, and the second attitude is a pitch angle of 30 °. The second pose may also be an unfixed pose, for example, when the first pose is at a pitch angle of 15 °, and the first verification strategy is to forward deflect the pitch angle of the document to be verified by 30 °, then the second pose is at a pitch angle of 45 °.
S212, sequencing the first posture image, the second posture image and at least one middle posture image according to the acquisition time to obtain a sequenced posture image sequence;
referring to fig. 4, an exemplary schematic diagram of a pose image sequence according to an embodiment of the present disclosure is provided. As shown in fig. 4, when the first verification policy is that the first pose is at a yaw angle of 0 ° and the second pose is at a yaw angle of 90 °, four pose images as shown in the figure may be acquired in a process of changing the document to be verified from the first pose to the second pose, wherein the four pose images include a first pose image at a yaw angle of 0 °, a second pose image at a yaw angle of 90 ° and two intermediate pose images at a yaw angle of 30 ° and 60 °, and the four pose images may be ordered according to an acquisition order.
S214, carrying out certificate verification according to the gesture image sequence to obtain a certificate verification result corresponding to the certificate to be verified.
It can be understood that, in the method for verifying a certificate provided in the embodiment of the present disclosure, the pose images of the certificate to be verified, which are located in different poses in the process of changing the poses, are collected to perform certificate verification, and the first pose image, the second pose image and at least one intermediate pose image are sequenced according to the acquisition time, so that a sequenced pose image sequence is obtained, and in the process of performing certificate verification according to the pose image sequence, a time feature is added, so that the certificate verification effect is further improved.
In one or more embodiments of the present disclosure, in response to a certificate verification instruction, a first verification policy corresponding to the certificate verification instruction is first determined, the first verification policy is to change a to-be-verified certificate from a first pose to a second pose, then a first pose image of the to-be-verified certificate in the first pose, a second pose image of the to-be-verified certificate in the second pose, and at least one intermediate pose image of the to-be-verified certificate in the process of changing the first pose to the second pose are collected, finally certificate verification is performed according to the first pose image, the second pose image and the at least one intermediate pose image, so as to obtain a certificate verification result corresponding to the to-be-verified certificate, that is, in the process of certificate verification, a plurality of different pose images of the to-be-verified certificate in the process of changing the pose are collected according to the preset first verification policy, and certificate verification is performed according to the images of the plurality of certificates in the different poses, so that accuracy and safety of certificate verification can be effectively improved.
Fig. 5 is a schematic flow chart of a certificate verification method according to an embodiment of the present disclosure. As shown in fig. 5, the method comprises the steps of:
s302, responding to a certificate verification instruction, and determining a first verification strategy corresponding to the certificate verification instruction, wherein the first verification strategy is to change a certificate to be verified from a first posture to a second posture;
Step S302 is shown in another embodiment of the present disclosure, and the detailed description of step S102 is omitted here.
S304, displaying verification indication information corresponding to the first verification strategy on a display interface;
s306, acquiring a first posture image of the certificate to be verified in a first posture, a second posture image of the certificate to be verified in a second posture and at least one middle posture image in the process of changing the certificate to be verified from the first posture to the second posture;
in one or more embodiments of the present disclosure, after the image acquisition function is turned on, the verification indication information may be changed in real time with the acquisition stage during the image acquisition process.
In one embodiment, after the image capturing function is turned on, please refer to fig. 6, which is a schematic diagram illustrating an indication message provided in the embodiment of the present disclosure. As shown in fig. 6, the display interface displays a first document view-finding frame corresponding to the document to be verified in the first posture, and the first document view-finding frame is used for collecting the first posture image according to the first document view-finding frame, and the first document view-finding frame is displayed with corresponding first view-finding indication information, wherein the first view-finding indication information is used for indicating a user to collect the document to be verified in the first document view-finding frame. When the certificate to be verified is completely placed in the first certificate viewfinder and the gesture is the first gesture, determining a first gesture image of the certificate to be verified in the first gesture. And then displaying a second certificate view frame corresponding to the certificate to be verified in the second posture on the display interface, collecting a second posture image according to the second certificate view frame, and displaying corresponding second view indication information on the second certificate view frame, wherein the second view indication information is used for indicating a user to collect the certificate to be verified in the second certificate view frame. And when the certificate to be verified is completely placed in the second certificate viewfinder and the gesture is the second gesture, determining a second gesture image of the certificate to be verified in the second gesture. And at least one intermediate posture image is randomly acquired in the process of converting the certificate to be verified from the first posture to the second posture.
S308, carrying out certificate verification according to the first posture image, the second posture image and at least one middle posture image to obtain a certificate verification result corresponding to the certificate to be verified.
In one or more embodiments of the present disclosure, in response to a certificate verification instruction, a first verification policy corresponding to the certificate verification instruction is first determined, the first verification policy is to change a to-be-verified certificate from a first pose to a second pose, then a first pose image of the to-be-verified certificate in the first pose, a second pose image of the to-be-verified certificate in the second pose, and at least one intermediate pose image of the to-be-verified certificate in the process of changing the first pose to the second pose are collected, finally certificate verification is performed according to the first pose image, the second pose image and the at least one intermediate pose image, so as to obtain a certificate verification result corresponding to the to-be-verified certificate, that is, in the process of certificate verification, a plurality of different pose images of the to-be-verified certificate in the process of changing the pose are collected according to the preset first verification policy, and certificate verification is performed according to the images of the plurality of certificates in the different poses, so that accuracy and safety of certificate verification can be effectively improved.
Fig. 7 is a schematic structural diagram of a credential verification device according to an embodiment of the present disclosure. As shown in fig. 7, the credential verification device 1 can be implemented as all or part of an electronic device by software, hardware, or a combination of both. According to some embodiments, the credential verification device 1 includes a policy determination module 11, an image acquisition module 12, and a credential verification module 13, specifically including:
The policy determining module 11 is configured to determine, in response to a certificate verification instruction, a first verification policy corresponding to the certificate verification instruction, where the first verification policy is to change the certificate to be verified from a first pose to a second pose;
an image acquisition module 12, configured to acquire a first pose image of the document to be verified in the first pose, a second pose image of the document to be verified in the second pose, and at least one intermediate pose image during a process of changing the document to be verified from the first pose to the second pose;
and the certificate verification module 13 is used for performing certificate verification according to the first posture image, the second posture image and at least one intermediate posture image to obtain a certificate verification result corresponding to the certificate to be verified.
Optionally, please refer to fig. 8, which is a schematic structural diagram of an image capturing module according to an embodiment of the present disclosure. As shown in fig. 8, the image acquisition module 12 includes:
a function acquisition unit 121 for turning on an image acquisition function and displaying images acquired based on the image acquisition function on a display interface frame by frame;
a first determining unit 122, configured to detect, frame by frame, whether the display interface includes the certificate to be verified, and determine that an image of the certificate to be verified including a first pose is the first pose image;
An intermediate determining unit 123, configured to detect, frame by frame, pose information of the document to be verified in the display interface, and determine at least one intermediate pose image including the document to be verified, in a process in which the document to be verified changes from the first pose to the second pose;
a second determining unit 124 for determining a second pose image located at a second pose when the pose information satisfies the second pose.
Optionally, when the first determining unit 122 performs the determining that the image of the document to be authenticated including the first pose is the first pose image, the first determining unit is specifically configured to:
determining that a first frame contains the certificate to be verified in an image of the certificate to be verified as a first gesture;
and determining the image of the certificate to be verified containing the first gesture as the first gesture image.
Optionally, when the first determining unit 122 performs the determining that the image of the document to be authenticated including the first pose is the first pose image, the first determining unit is specifically configured to:
when the display interface is detected to contain the certificate to be verified, detecting the gesture information of the certificate to be verified in the display interface frame by frame;
And determining that the image with the gesture information being the first gesture is the first gesture image.
Optionally, when executing the frame-by-frame detection to determine whether the display interface includes the certificate to be verified, the first determining unit 122 is specifically configured to:
detecting whether the display interface contains the certificate to be verified or not based on a certificate detection algorithm;
when the fact that the display interface contains the certificate to be verified is detected, outputting position coordinate information of the certificate to be verified;
the intermediate determining unit 123 is specifically configured to, when executing the frame-by-frame detection of the pose information of the document to be verified in the display interface:
intercepting an attitude identification image containing the certificate to be verified in the next frame of image in the display interface based on the position coordinate information;
and detecting the gesture information of the certificate to be verified in the gesture recognition image.
Optionally, the image acquisition module 12 is specifically configured to:
carrying out certificate corner recognition on the acquired image in the display interface to obtain each corner coordinate of the certificate to be verified;
calculating and generating posture information corresponding to the certificate to be verified according to the coordinates of each corner of the certificate to be verified;
And acquiring a first posture image of the certificate to be verified in the first posture, a second posture image of the certificate to be verified in the second posture and at least one middle posture image in the process of changing the certificate to be verified from the first posture to the second posture according to the posture information.
Optionally, the certificate verification module 13 is specifically configured to:
sequencing the first posture image, the second posture image and at least one middle posture image according to the acquisition time to obtain a sequenced posture image sequence;
and carrying out certificate verification according to the gesture image sequence to obtain a certificate verification result corresponding to the certificate to be verified.
Optionally, please refer to fig. 9, which is a schematic structural diagram of a document authentication device according to an embodiment of the present disclosure. As shown in fig. 9, the certificate verification device 1 further includes an information indication module 14, specifically configured to:
and displaying verification indication information corresponding to the first verification strategy on a display interface.
Optionally, as shown in fig. 9, the certificate verification device 1 further includes a duplicate verification module 15, specifically configured to:
and if the certificate verification result indicates that the certificate to be verified is not verified, outputting a re-verification indication message to indicate the user to perform secondary verification, wherein the gesture changing direction of the second verification strategy of the secondary verification is different from that of the first verification strategy.
The foregoing apparatus embodiments correspond to the method embodiments, and specific descriptions may be referred to descriptions of method embodiment portions, which are not repeated herein. The device embodiments are obtained based on corresponding method embodiments, and have the same technical effects as the corresponding method embodiments, and specific description can be found in the corresponding method embodiments.
The embodiment of the present disclosure further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are adapted to be loaded by a processor and executed by the processor to implement the living body detection model training method according to the embodiment shown in fig. 1 to 6, and the specific implementation process may refer to the specific description of the embodiment shown in fig. 1 to 6, which is not repeated herein.
The present disclosure further provides a computer program product, where the computer program product stores at least one instruction, where the at least one instruction is loaded by the processor and executed by the processor to implement the living body detection model training method according to the embodiment shown in fig. 1 to 6, and the specific execution process may refer to the specific description of the embodiment shown in fig. 1 to 6, which is not repeated herein.
The embodiment of the specification also provides a schematic structural diagram of the electronic device shown in fig. 10. At the hardware level, as in fig. 10, the electronic device includes a processor, an internal bus, a network interface, a memory, and a nonvolatile memory, and may of course include hardware required by other services. The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to realize the voice activity detection method.
Of course, other implementations, such as logic devices or combinations of hardware and software, are not excluded from the present description, that is, the execution subject of the following processing flows is not limited to each logic unit, but may be hardware or logic devices.
In the 90 s of the 20 th century, improvements to one technology could clearly be distinguished as improvements in hardware (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or software (improvements to the process flow). However, with the development of technology, many improvements of the current method flows can be regarded as direct improvements of hardware circuit structures. Designers almost always obtain corresponding hardware circuit structures by programming improved method flows into hardware circuits. Therefore, an improvement of a method flow cannot be said to be realized by a hardware entity module. For example, a programmable logic device (Programmable Logic Device, PLD) (e.g., field programmable gate array (Field Programmable Gate Array, FPGA)) is an integrated circuit whose logic function is determined by the programming of the device by a user. A designer programs to "integrate" a digital system onto a PLD without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, such programming is mostly implemented by using "logic compiler" software, which is similar to the software compiler used in program development and writing, and the original code before the compiling is also written in a specific programming language, which is called hardware description language (Hardware Description Language, HDL), but not just one of the hdds, but a plurality of kinds, 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 Integrated Circuit Hardware Description Language) and Verilog are currently most commonly used. It will also be apparent to those skilled in the art that a hardware circuit implementing the logic method flow can be readily obtained by merely slightly programming the method flow into an integrated circuit using several of the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable logic controllers, and embedded microcontrollers, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, atmel AT91SAM, microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic of the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller may thus be regarded as a kind of hardware component, and means for performing various functions included therein may also be regarded as structures within the hardware component. Or even means for achieving the various functions may be regarded as either software modules implementing the methods or structures within hardware components.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. One typical implementation is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in one or more software and/or hardware elements when implemented in the present specification.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the present specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present description can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present description is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the specification. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the present specification may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present description can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing is merely exemplary of the present disclosure and is not intended to limit the disclosure. Various modifications and alterations to this specification will become apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, or the like, which are within the spirit and principles of the present description, are intended to be included within the scope of the claims of the present description.

Claims (13)

1. A method of credential validation, the method comprising:
responding to a certificate verification instruction, and determining a first verification strategy corresponding to the certificate verification instruction, wherein the first verification strategy is to change the certificate to be verified from a first posture to a second posture;
collecting a first posture image of the certificate to be verified in the first posture, a second posture image of the certificate to be verified in the second posture and at least one middle posture image in the process of changing the certificate to be verified from the first posture to the second posture;
and carrying out certificate verification according to the first posture image, the second posture image and at least one intermediate posture image to obtain a certificate verification result corresponding to the certificate to be verified.
2. The method of claim 1, the acquiring a first pose image of the document to be verified in the first pose, a second pose image of the document to be verified in the second pose, and at least one intermediate pose image of the document to be verified during a change from the first pose to the second pose, comprising:
starting an image acquisition function and displaying images acquired based on the image acquisition function on a display interface frame by frame;
Detecting whether the display interface contains the certificate to be verified or not frame by frame, and determining that an image of the certificate to be verified containing a first gesture is the first gesture image;
detecting gesture information of the to-be-verified certificate in the display interface frame by frame in the process that the to-be-verified certificate is changed from the first gesture to the second gesture, and determining at least one intermediate gesture image containing the to-be-verified certificate;
and determining a second posture image positioned in the second posture when the posture information meets the second posture.
3. The method of claim 2, the determining that an image of a document to be authenticated that includes a first pose is the first pose image, comprising:
determining that a first frame contains the certificate to be verified in an image of the certificate to be verified as a first gesture;
and determining the image of the certificate to be verified containing the first gesture as the first gesture image.
4. The method of claim 2, the determining that an image of a document to be authenticated that includes a first pose is the first pose image, comprising:
when the display interface is detected to contain the certificate to be verified, detecting the gesture information of the certificate to be verified in the display interface frame by frame;
And determining that the image with the gesture information being the first gesture is the first gesture image.
5. The method of claim 2, the detecting, frame by frame, whether the document to be authenticated is contained in the display interface, comprising:
detecting whether the display interface contains the certificate to be verified or not based on a certificate detection algorithm;
when the fact that the display interface contains the certificate to be verified is detected, outputting position coordinate information of the certificate to be verified;
and detecting the gesture information of the certificate to be verified in the display interface frame by frame, wherein the gesture information comprises:
intercepting an attitude identification image containing the certificate to be verified in the next frame of image in the display interface based on the position coordinate information;
and detecting the gesture information of the certificate to be verified in the gesture recognition image.
6. The method of claim 1, the acquiring a first pose image of the document to be verified in the first pose, a second pose image of the document to be verified in the second pose, and at least one intermediate pose image of the document to be verified during a change from the first pose to the second pose, comprising:
carrying out certificate corner recognition on the acquired image in the display interface to obtain each corner coordinate of the certificate to be verified;
Calculating and generating posture information corresponding to the certificate to be verified according to the coordinates of each corner of the certificate to be verified;
and acquiring a first posture image of the certificate to be verified in the first posture, a second posture image of the certificate to be verified in the second posture and at least one middle posture image in the process of changing the certificate to be verified from the first posture to the second posture according to the posture information.
7. The method of claim 1, wherein the performing the certificate verification according to the first pose image, the second pose image, and at least one intermediate pose image, to obtain a certificate verification result corresponding to the certificate to be verified, includes:
sequencing the first posture image, the second posture image and at least one middle posture image according to the acquisition time to obtain a sequenced posture image sequence;
and carrying out certificate verification according to the gesture image sequence to obtain a certificate verification result corresponding to the certificate to be verified.
8. The method of claim 1, after the determining the first verification policy corresponding to the certificate verification instruction, further comprising:
and displaying verification indication information corresponding to the first verification strategy on a display interface.
9. The method of claim 1, further comprising, after the obtaining the certificate verification result corresponding to the certificate to be verified:
and if the certificate verification result indicates that the certificate to be verified is not verified, outputting a re-verification indication message to indicate the user to perform secondary verification, wherein the gesture changing direction of the second verification strategy of the secondary verification is different from that of the first verification strategy.
10. A credential verification device, comprising:
the policy determining module is used for responding to the certificate verification instruction and determining a first verification policy corresponding to the certificate verification instruction, wherein the first verification policy is to change the certificate to be verified from a first posture to a second posture;
the image acquisition module is used for acquiring a first posture image of the certificate to be verified in the first posture, a second posture image of the certificate to be verified in the second posture and at least one middle posture image in the process of changing the certificate to be verified from the first posture to the second posture;
and the certificate verification module is used for performing certificate verification according to the first posture image, the second posture image and at least one intermediate posture image to obtain a certificate verification result corresponding to the certificate to be verified.
11. A storage medium having stored thereon a computer program, which when executed by a processor performs the steps of the method according to any of claims 1 to 9.
12. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the steps of the method according to any one of claims 1-9.
13. A computer program product having stored thereon at least one instruction, which when executed by a processor, implements the steps of the method of any of claims 1 to 9.
CN202311340711.9A 2023-10-17 2023-10-17 Certificate verification method and device, storage medium and electronic equipment Pending CN117237682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311340711.9A CN117237682A (en) 2023-10-17 2023-10-17 Certificate verification method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311340711.9A CN117237682A (en) 2023-10-17 2023-10-17 Certificate verification method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN117237682A true CN117237682A (en) 2023-12-15

Family

ID=89087988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311340711.9A Pending CN117237682A (en) 2023-10-17 2023-10-17 Certificate verification method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN117237682A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110210312A (en) * 2019-04-29 2019-09-06 众安信息技术服务有限公司 A kind of method and system verifying certificate and holder
CN111275105A (en) * 2020-01-19 2020-06-12 支付宝实验室(新加坡)有限公司 Certificate verification method and device and electronic equipment
CN112950528A (en) * 2019-12-09 2021-06-11 支付宝实验室(新加坡)有限公司 Certificate posture determining method, model training method, device, server and medium
CN113743396A (en) * 2021-08-31 2021-12-03 支付宝(杭州)信息技术有限公司 Method and device for identifying injection attack in certificate identification process
CN115578673A (en) * 2022-10-18 2023-01-06 众安在线财产保险股份有限公司 Certificate authenticity verification method, system, computer device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110210312A (en) * 2019-04-29 2019-09-06 众安信息技术服务有限公司 A kind of method and system verifying certificate and holder
CN112950528A (en) * 2019-12-09 2021-06-11 支付宝实验室(新加坡)有限公司 Certificate posture determining method, model training method, device, server and medium
CN111275105A (en) * 2020-01-19 2020-06-12 支付宝实验室(新加坡)有限公司 Certificate verification method and device and electronic equipment
CN113743396A (en) * 2021-08-31 2021-12-03 支付宝(杭州)信息技术有限公司 Method and device for identifying injection attack in certificate identification process
CN115578673A (en) * 2022-10-18 2023-01-06 众安在线财产保险股份有限公司 Certificate authenticity verification method, system, computer device and storage medium

Similar Documents

Publication Publication Date Title
TWI753271B (en) Resource transfer method, device and system
TWI698764B (en) Identity verification method, system, device and equipment, server and acquisition equipment
CN113095124B (en) Face living body detection method and device and electronic equipment
CN108804884B (en) Identity authentication method, identity authentication device and computer storage medium
CN105868677B (en) Living body face detection method and device
WO2020038140A1 (en) Facial recognition method and device
CN108629220A (en) A kind of two dimension code reading method, apparatus and equipment
JP2022106869A (en) Biometric authentication device, biometric authentication method, and biometric authentication program
EP2336949A1 (en) Apparatus and method for registering plurality of facial images for face recognition
TW202006630A (en) Payment method, apparatus, and system
CN109670444B (en) Attitude detection model generation method, attitude detection device, attitude detection equipment and attitude detection medium
CN111325798A (en) Camera model correction method and device, AR implementation equipment and readable storage medium
CN105389575A (en) Processing method and device for biological data
CN108875506B (en) Face shape point tracking method, device and system and storage medium
CN111160251B (en) Living body identification method and device
CN111274602A (en) Image characteristic information replacement method, device, equipment and medium
CN117237682A (en) Certificate verification method and device, storage medium and electronic equipment
CN113411477B (en) Image acquisition method, device and equipment
CN110309859A (en) A kind of image true-false detection method, device and electronic equipment
CN112383564B (en) Information processing method and device
CN117078962B (en) Data chaining method and device based on texture acquisition
JP7268483B2 (en) Video processing device, video processing method, and program
CN108227906B (en) Man-machine interaction method and device
CN114511909A (en) Face brushing payment intention identification method, device and equipment
CN117372836A (en) Tamper detection model training method and device, storage medium and electronic equipment

Legal Events

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