CN114820575A - Image verification method and device, computer equipment and storage medium - Google Patents

Image verification method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114820575A
CN114820575A CN202210566821.6A CN202210566821A CN114820575A CN 114820575 A CN114820575 A CN 114820575A CN 202210566821 A CN202210566821 A CN 202210566821A CN 114820575 A CN114820575 A CN 114820575A
Authority
CN
China
Prior art keywords
image information
target object
verified
target
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210566821.6A
Other languages
Chinese (zh)
Other versions
CN114820575B (en
Inventor
陈政权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Zhongsheng Matrix Technology Development Co ltd
Original Assignee
Sichuan Zhongsheng Matrix Technology Development 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 Sichuan Zhongsheng Matrix Technology Development Co ltd filed Critical Sichuan Zhongsheng Matrix Technology Development Co ltd
Priority to CN202210566821.6A priority Critical patent/CN114820575B/en
Publication of CN114820575A publication Critical patent/CN114820575A/en
Application granted granted Critical
Publication of CN114820575B publication Critical patent/CN114820575B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/12Edge-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging

Abstract

The invention is suitable for the technical field of image processing, and provides an image verification method, an image verification device, computer equipment and a storage medium, wherein the method comprises the following steps: s1, acquiring at least one frame of image information to be verified; s2, acquiring target image information according to the image information to be verified, wherein the target image information is acquired by a preset target object reproduction method; s3, comparing the image information to be verified with the target image information, and judging the consistency of the image information to be verified and the target image information. The method comprises the steps of obtaining multi-dimensional target image information which reserves information such as texture, depth, time and the like of a target object, carrying out three-dimensional reproduction on the target object to obtain a three-dimensional target object with higher precision and richer details, and controlling the target object to carry out multi-dimensional comparison on the image information such as the texture, the bit depth, the light and the like at different time points and/or different visual angles (or directions), so that the accuracy of image verification is higher.

Description

Image verification method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to an image verification method and apparatus, a computer device, and a storage medium.
Background
With the rapid development of the technology, people can shoot images, transmit images and modify images anytime and anywhere, and some images containing important information are easy to be falsified or even forged in the process, so that image verification is needed to distinguish the authenticity of the images so as to ensure the authenticity of the images, such as digital bill verification, image verification codes (such as face verification), cultural relic image identification and the like. The existing image verification technology, such as chinese patent with publication number CN110298163B, usually extracts image features and compares the features to verify the image; another common method is a verification method based on calculating and comparing image hash values as described in publication CN 108781270A. Therefore, most of the existing image verification methods are based on calculation and comparison of pixel values of a single-frame image, the fact that the image contains other abundant image information is not fully considered, and noise of the image can also have negative influence on verification, so that the accuracy of image verification is low.
Disclosure of Invention
The invention aims to provide an image verification method, an image verification device, computer equipment and a storage medium, and the accuracy of image verification is improved.
In a first aspect, the present invention provides an image verification method, including:
s1, acquiring at least one frame of image information to be verified;
s2, acquiring target image information according to the image information to be verified, wherein the target image information is acquired by a preset target object reproduction method;
s3, comparing the image information to be verified with the target image information, and judging the consistency of the image information to be verified and the target image information.
Further, the target image information includes multi-dimensional image information of the target object.
Further, the target image information includes first image information, and the step of acquiring the first image information by a preset target object reproduction method includes:
calculating the view angle boundary of the target object under a plurality of view angles;
acquiring image information of the target object in the visual angle boundary under a plurality of visual angles;
and carrying out boundary processing on the image information to obtain the multi-view first image information of the target object.
Further, the target image information further includes second image information, and the step of obtaining the second image information by a preset target object reproduction method includes:
controlling an acquisition device to acquire image information of a target object under multiple visual angles according to a preset acquisition rule;
cutting and fusing image information under the same visual angle to obtain fused image information;
acquiring fusion image information under a plurality of visual angles, and forming second image information of the target object.
Further, the target object reproduction method further includes:
and storing the first image information and/or the second image information at a preset position.
Further, the obtaining target image information according to the image information to be verified includes:
segmenting a target object to be verified from the image information to be verified;
and acquiring multi-dimensional target image information from a preset position based on the target object to be verified.
Further, the comparing the image information to be verified with the target image information, and the determining the consistency between the image to be verified and the target image information includes:
performing three-dimensional reproduction on a target object based on the multi-dimensional target image information;
and carrying out multi-dimensional comparison on the target object to be verified and the three-dimensional reappeared target object, and judging whether the target object to be verified and the three-dimensional reappeared target object are consistent or not according to a comparison result.
In a second aspect, the present invention provides an image verification apparatus, which is applied to the image verification method, including:
the first acquisition module is used for acquiring at least one frame of image information to be verified;
the second acquisition module is used for acquiring target image information according to the image information to be verified, and the target image information is acquired by a preset target object reproduction method;
and the comparison module is used for comparing the image information to be verified with the target image information and judging the consistency of the image information to be verified and the target image information.
In a third aspect, an embodiment of the present invention provides a computer device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the image authentication method when executing the computer program.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the image verification method.
Compared with the prior art, the embodiment of the application mainly has the following beneficial effects:
(1) extracting a target object to be verified from the image information to be verified, acquiring multi-dimensional target image information retaining information such as light texture, depth, time and the like of the target object through a preset target object reproduction method based on the target object to be verified, the target object is three-dimensionally reproduced to obtain a three-dimensional target object with higher precision and richer details, then the three-dimensional target object and the target object to be verified are subjected to multi-dimensional comparison of image information details such as textures, bit depths, light and shadow and the like at different time points and/or under different visual angles and/or orientations by controlling the movement and the reproduction of the three-dimensional target object and adjusting the visual angle and/or the orientation and the time change of the three-dimensional target object, the accuracy of the image verification based on the control target object is higher, and the verification efficiency is improved.
(2) Through the collection distance between acquireing collection system and the target object under the same visual angle, then cut apart the collection distance according to predetermined quantity, acquire corresponding cutting image information, and fuse a plurality of cutting images, make the image information who obtains clearer, the light and shadow feel of target object has been kept betterly, texture, information such as degree of depth, the precision of image has been improved, and the noise information who carries is less, it is more smooth and easy when the control target object reappears to help, it is quick, further promote the efficiency based on the image verification of target object.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention or in the description of the prior art will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is an exemplary system architecture diagram in which the present invention may be applied;
FIG. 2 is a flow diagram of one embodiment of an image verification method in the present invention;
FIG. 3 is a schematic structural diagram of one embodiment of a P-U-V-W three-dimensional rendering target object in the present invention;
FIG. 4 is a schematic diagram of an embodiment of an image verification device according to the present invention;
fig. 5 is a schematic structural diagram of a computer device in the present invention.
In fig. 1: 100. the system comprises a system architecture, 101, a mobile phone terminal, 102, a tablet terminal, 103, a computer terminal, 104, a network, 105 and a server;
in fig. 4: 400. the image verification device comprises an image verification device 401, a first acquisition module 402, a second acquisition module 403 and a comparison module;
in fig. 5: 5. computer device, 51, memory, 52, processor, 53, network interface.
Detailed Description
The following description provides many different embodiments, or examples, for implementing different features of the invention. The particular examples set forth below are intended as a brief description of the invention and are not intended as limiting the scope of the invention.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
As shown in fig. 1, fig. 1 is an exemplary system architecture diagram in which the present invention may be applied, and the system architecture 100 may include terminal devices, which may include a mobile phone terminal 101, a tablet terminal 102, and a computer terminal 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between terminal devices and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use a terminal device such as a mobile phone terminal 101, a tablet terminal 102, a computer terminal 103, etc. to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications such as a web browser, an instant messaging tool, a client APP, a command line tool and the like can be installed on the terminal device, or the image verification method of the invention is directly operated to perform image verification locally and offline on the terminal device.
The terminal device may be various electronic devices having a display screen and supporting web browsing, APP, including but not limited to smart phones, tablet computers, e-book readers, portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background server providing support for pages or APPs displayed on the terminal device.
It should be noted that the image verification method provided in the embodiment of the present application may be executed by a server, or may be executed locally and offline by a terminal device, and accordingly, the image verification apparatus may be disposed in the server, or may be disposed in the terminal device.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
As shown in fig. 2, fig. 2 is a flowchart of an embodiment of an image verification method according to the present invention, where the image verification method includes:
s1, acquiring at least one frame of image information to be verified;
s2, acquiring target image information according to the image information to be verified, wherein the target image information is acquired through a preset target object reproduction method;
s3, comparing the image information to be verified with the target image information, and judging the consistency of the image information to be verified and the target image information.
In the embodiment of the present invention, the image information to be verified may be obtained by a terminal device in the system architecture 100 shown in fig. 1, and then the image verification method of the present invention is executed locally on the terminal device, or the image verification method of the present invention is executed on the server 105 and the image information to be verified sent by the terminal device is received through the network 104. The acquired image information to be verified may have only one frame or multiple frames, and the image information to be verified may include a target object (or a target area) to be verified or may not include the target object (or the target area) to be verified. And then extracting a target object to be verified (or a target area to be verified) in the image information to be verified to obtain the target object to be verified (or the target area to be verified), and acquiring one or more frames of target image information based on the target object to be verified, wherein the target image information comprises multi-dimensional image information of the target object, and specifically comprises image information such as textures, depths, light and shadow of the target object at different time points and under multiple visual angles.
Further, the above target image information includes first image information, and the first image information is obtained by a preset target object reproduction method, including the steps of:
calculating the view angle boundary of the target object under a plurality of view angles;
acquiring image information of the target object in the visual angle boundary under a plurality of visual angles;
and carrying out boundary processing on the image information to obtain first image information of each view angle of the target object.
In the embodiment of the present invention, before the image information of the target object is acquired by using the acquisition device, in order to reduce the influence of redundant interference information when the target object is acquired, the view angle boundaries of the target object at different view angles need to be calculated, for example, the view angles that the target object needs to acquire include: the method comprises the steps of obtaining a display image of a target object under an angle of view 1 when image information of the target object under the angle of view 1 needs to be collected, calculating the center position of the target object in the display image of the target object under the angle of view 1, calculating the corresponding maximum boundary radius by taking the center position as a circle center, and taking the edge of a circle (or a ball) formed by the maximum boundary radius as the angle of view boundary, wherein the target object can be completely contained in the corresponding angle of view boundary through the angle of view boundary formed in the way. For better understanding, assuming that a display image of a target object under a view angle 1 is a rectangle, then calculating the center position of the rectangle, taking the center position as a circle center, calculating a maximum boundary radius (circumscribed radius) based on the circle center, namely a circumscribed circle of the rectangle, and taking the edge of the circumscribed circle as a view angle boundary, so that the rectangle is completely contained in the circumscribed circle; the image displayed by the target object under the visual angle 2 is a triangle, then the center position of the triangle is calculated, the center position is taken as the circle center, the maximum boundary radius (circumscribed radius) based on the circle center is calculated, namely the circumscribed circle of the triangle, and the edge of the circumscribed circle is taken as the visual angle boundary, so that the triangle is completely contained in the circumscribed circle; further, the maximum boundary radius of the target object under each view angle is compared, one of the maximum boundary radii with the longest maximum is selected as the maximum boundary radius of the target, the formed spherical view angle boundary completely wraps the target object, and image information of the target object under each view angle is obtained on the basis; of course, the edge of an ellipse (or an ellipsoid) formed by combining the maximum boundary radii of any two or more viewing angles can also be used as a viewing angle boundary, and image information of the target object under each viewing angle is acquired in the viewing angle boundary; and finally, performing boundary processing, such as image cutting and the like, on the acquired image information of the target object under the multiple visual angles within the visual angle boundary to obtain first image information of the target object under the corresponding visual angle.
It should be noted that the step of performing image segmentation on the image information in the embodiment of the present invention specifically includes: firstly, calculating a target area in the acquired image information, wherein the target area is an area formed by the boundary of a target object, and then cutting the area without the target object to acquire the image information in the target area only containing the target object; then cutting off the area which does not contain the target object in each acquired image information under the same visual angle to obtain the image information only containing the target object; according to the steps, the first image information only containing the target object under each visual angle can be obtained, the boundary noise information amount carried by the first image information is greatly reduced, the information amount reproduced by the target object is greatly reduced, the reproduced image loading time is saved, the efficiency of controlling the reproduction of the target object is improved, and the user experience is further improved. Of course, the image cutting may further include dividing the acquired first image information into a plurality of sub-image information, and when the control target object reappears, stitching the sub-images as needed to restore the corresponding first image information.
The displayed image shapes of the target object at different viewing angles may be all the same, may also be partially the same, and may also be all different, where the different viewing angles may be set according to different reproduction requirements of the user for the target object.
The acquisition device in the embodiment of the present invention may be an entity such as a camera, or the like, or may be a virtual camera (the virtual camera may be used to acquire image information of a virtual target object), or the like, as long as the image information of the target object can be acquired, and is not limited specifically herein.
Before multi-view image information of a target object is acquired, the maximum boundary radius of a display image of the target object at a corresponding view angle is calculated, an edge formed by the maximum boundary radius is used as a view angle boundary, and the display image of the target object at the corresponding view angle is contained in the view angle boundary, so that redundant image information of the view angle boundary of the target object at the corresponding view angle is removed in acquisition of first image information of the target object, only needed image information is acquired, the influence of other information on subsequent three-dimensional reproduction and image verification of the target object is avoided, the amount of image information needing to be stored is reduced, the image verification is more smooth and rapid, and the efficiency of the image verification is improved.
Furthermore, the above target image information further includes second image information, and the second image information is obtained by the following preset target object reproduction method, including:
controlling an acquisition device to acquire image information of a target object under multiple visual angles according to a preset acquisition rule;
cutting and fusing image information under the same visual angle to obtain fused image information;
acquiring fusion image information under a plurality of visual angles, and forming second image information of the target object.
In the embodiment of the present invention, after calculating the view angle boundaries of the target object in the display images at different view angles, the acquiring device is used to acquire the image information of the target object in the view angle boundaries at corresponding view angles according to a preset acquisition rule, which specifically includes: firstly, acquiring an acquisition distance between a target object and an acquisition device at each visual angle, and then setting a preset number, wherein the preset number refers to the number of the acquisition distances to be divided, acquiring corresponding image information at each division point at the corresponding visual angle, and/or acquiring cut image information after the image cutting step; and finally, after the cutting image information at each division point under the same visual angle is acquired, fusing all the cutting image information according to a fusion rule to acquire fused image information under the same visual angle. If the view angle 1, the view angle 2, the view angle 3, the view angle 4, the.... the. view angle N is assumed, when the target object is under the view angle 1, the collection distance between the collection device and the target object under the view angle is firstly obtained, then the preset number required to be cut is set, for example, the preset number is 3, and the cut image information of each cut distance or cut point is collected, that is, the cut image information 1, the cut image information 2 of the cut distance 1, and the cut image information 3 of the cut distance 3 are collected respectively, and the cut image information 1, the cut image information 2, and the cut image information 3 are fused according to other rules such as the cut distance or the depth of the collection device, so as to form the fused image information of the target object under the view angle 1; and then forming the multi-view second image information of the target object by using the acquired fusion image information of the view 1, the view 2, the view 3, the view 4 and the.
It should be noted that the acquisition distances between the target object and the acquisition devices at different viewing angles may be the same, may be partially the same, and may be different; the preset number of the acquisition distances to be divided between the target object and the acquisition device at different view angles can be the same, can be partially the same or can be different; the segmentation mode of the acquisition distance between the target object and the acquisition device under different visual angles is not limited, and the target object can be uniformly segmented, and can also be densely segmented at places with more image information of the target object and sparsely segmented at places with less image information.
When the image information of the target object is acquired, a regular acquisition mode or an irregular acquisition mode can be adopted; the image information of the target object under different visual angles at the same time can be collected, and the image information of the target object under the same visual angle and/or different visual angles within a period of time can also be collected.
Through acquireing the collection distance between collection system and the target object under the same visual angle, then will gather the distance and cut apart according to the predetermined quantity, acquire corresponding cutting image information, and fuse a plurality of cutting images, make the second image information who obtains clearer, the light and shadow feel of target object has been kept betterly, texture, abundant image information such as degree of depth and time, make the precision of the image of gathering higher, the detail is abundanter, thereby help improving follow-up image verification's rate of accuracy, and the noise information who carries is less, help target object more smooth and easy when carrying out three-dimensional reappearance and image verification, it is quick, improve image verification's efficiency.
Further, after the first target image information and/or the second target image information of the target object is acquired, the image information is stored in a preset position. Specifically, the image number may be established according to the view angle information P when the image information is captured, the orientation information (such as the longitude and latitude of the circumscribed sphere formed by the view angle boundary, which may be represented by U, V), the capture time information W, and the like, and the format of the number is not limited herein as long as the image information can represent a certain view angle and/or orientation information at a certain time, such as P-U-V-W or P (W (U (V)), and the like, and the image information captured at view angle 1 may be numbered as 1 (view angle) -30 (longitude) -45 (latitude) -5 (time). Then, storing the acquired first target image information and/or second target image information in a preset position such as a database or a memory according to the established image number, for example, storing the image number as an index and the image information as contents into a table of a relational database (such as MYSQL) together, or writing key value pairs with the image number as a key and the image information as a value into the memory (such as a non-relational database Redis) together, so as to conveniently and quickly find corresponding data according to the image number; corresponding to the image number P (W (U (V))) in the nested format, the corresponding image information can also be stored in a file system (such as a hard disk, a magnetic disk and the like) in the form of nested folders, for example, the folder paths are P1/W1/U1/V1, P1/W2/U1/V2, and the image information in different directions (or the same direction) of the two times W1 and W2 under the visual angle of P1 can be respectively stored.
Further, the obtaining of the target image information according to the image information to be verified, comparing the image information to be verified with the target image information, and determining consistency between the image to be verified and the target image information may include:
segmenting a target object to be verified from the image information to be verified;
acquiring multi-dimensional target image information from a preset position based on the target object to be verified;
performing three-dimensional reproduction on a target object based on the multi-dimensional target image information;
and carrying out multi-dimensional comparison on the target object to be verified and the three-dimensional reappeared target object, and judging whether the target object to be verified and the three-dimensional reappeared target object are consistent or not according to a comparison result.
In the embodiment of the invention, after the image information to be verified is acquired, the target object to be verified in the image information to be verified can be segmented from the whole image information to be verified, redundant noise information is removed, and an image only containing the target object to be verified is obtained, so that the subsequent comparison and verification of the image information can be accelerated, and the verification efficiency is improved; the specific segmentation method may adopt the image segmentation step, including: firstly, calculating a target area formed by the boundary of a target object in the acquired image information to be verified, wherein the target area can be realized by adopting the conventional image segmentation method based on deep learning and the like, and the target area is not specifically developed; and after cutting the region without the target object, acquiring the image information in the target region only containing the target object. And then acquiring multi-dimensional target image information of the corresponding target object from the preset position according to the specific target object to be verified obtained by cutting, wherein the multi-dimensional target image information comprises first target image information and/or second target image information of a plurality of time points (or time periods) under a plurality of visual angles (or orientations). It should be noted that when multiple frames of image information to be verified (including a video frame) at the same view angle are acquired, the target object to be verified in each frame of image to be verified can be segmented by the image segmentation step, and then fused by the image fusion step to obtain a fused image of the target object to be verified, so that the fused target object to be verified has higher precision and richer details, and the accuracy of subsequent image verification is further improved.
Further, the target object is three-dimensionally reproduced based on the multi-dimensional first target image information and/or the multi-dimensional second target image information, specifically, according to an image number composed of a reproduced view angle P (or orientation U, V) in combination with time information W, a corresponding view angle P (or orientation U, V) is loaded from a preset position, and image information corresponding to time W is combined into a three-dimensional target object at a corresponding time point under the view angle (or orientation), such as different view angles and/or orientations represented by a plurality of P-U-V-W coordinates shown in fig. 3, and then the synthesized three-dimensional target object is multi-dimensionally compared with the segmented target object to be verified (including the fused target object to be verified), so as to determine whether the target object to be verified and the three-dimensional target object are consistent; firstly, judging whether the visual angles and/or the orientations of a target object to be verified and a three-dimensional target object at the same time point are consistent, if so, comparing whether image information such as textures, bit depths, light and shadow is consistent, if not, continuously adjusting the change of the visual angles and/or the orientations of the three-dimensional target object by controlling the movement of the three-dimensional target object and image loading reproduction, repeating the judging process until the multi-dimensional comparison of the time point is finished, and then repeating the process of synthesizing the three-dimensional target object by loading the image information and comparing at the next time point until the multi-dimensional comparison of all the time points is finished; if the image information such as texture, bit depth and light and shadow of the target object to be verified and the three-dimensional target object at a certain time point, a certain or a plurality of visual angles and/or orientations is consistent, the image verification is passed, and if the comparison is finished, the multi-dimensional comparison of the image information such as texture, bit depth and light and shadow of the target object to be verified and the three-dimensional target object at all time points, any visual angle and/or orientation is not consistent, the image verification fails.
In the embodiment of the invention, the target object to be verified is extracted from the image information to be verified, and the multi-dimensional target image information which retains the information of the light texture, the depth, the time and the like of the target object is obtained through a preset target object reappearing method based on the target object to be verified, the target object is three-dimensionally reproduced to obtain a three-dimensional target object with higher precision and richer details, then the three-dimensional target object and the target object to be verified are subjected to multi-dimensional comparison of image information details such as textures, bit depths, light and shadow and the like at different time points and/or under different visual angles and/or orientations by controlling the movement and the reproduction of the three-dimensional target object and adjusting the visual angle and/or the orientation and the time change of the three-dimensional target object, the accuracy of the image verification based on the control target object is higher, and the verification efficiency is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the computer program is executed. The storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Access Memory (RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
With further reference to fig. 4, as an implementation of the method shown in fig. 2, the present application provides an embodiment of an image verification apparatus, which corresponds to the embodiment of the method shown in fig. 2, and which is particularly applicable to various electronic devices.
As shown in fig. 4, the image verification apparatus 400 according to the present embodiment includes:
a first obtaining module 401, configured to obtain at least one frame of image information to be verified;
a second obtaining module 402, configured to obtain target image information according to the image information to be verified, where the target image information is obtained by a preset target object reproduction method;
a comparing module 403, configured to compare the image information to be verified with the target image information, and determine consistency between the image information to be verified and the target image information.
The image verification apparatus provided in the embodiment of the present invention can implement each implementation manner in the image verification method embodiment of fig. 2, and has corresponding beneficial effects, and for avoiding repetition, details are not repeated here.
In order to solve the above technical problem, an embodiment of the present invention further provides a computer device. Referring to fig. 5, fig. 5 is a schematic diagram of a basic structure of a computer device according to an embodiment of the present invention.
The computer device 5 comprises a memory 51, a processor 52, a network interface 53 communicatively connected to each other via a system bus. It is noted that only the computer device 5 having the memory 51, the processor 52, and the network interface 53 is shown, but it is understood that not all of the illustrated components are required to be implemented, and that more or fewer components may be implemented instead. As will be understood by those skilled in the art, the computer device is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The computer equipment can carry out man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch panel or voice control equipment and the like.
The memory 51 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 51 may be an internal storage unit of the computer device 5, such as a hard disk or a memory of the computer device 5. In other embodiments, the memory 51 may also be an external storage device of the computer device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the computer device 5. Of course, the memory 51 may also comprise both an internal storage unit of the computer device 5 and an external storage device thereof. In this embodiment, the memory 51 is generally used for storing an operating system installed in the computer device 5 and various types of application software, such as program codes of an image verification method. Further, the memory 51 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 52 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 52 is typically used to control the overall operation of the computer device 5. In this embodiment, the processor 52 is configured to execute the program code stored in the memory 51 or process data, for example, execute the program code of the image verification method.
The network interface 53 may comprise a wireless network interface or a wired network interface, and the network interface 53 is generally used for establishing communication connections between the computer device 5 and other electronic devices.
The present application further provides another embodiment, which is to provide a computer readable storage medium storing an image authentication program, which is executable by at least one processor to cause the at least one processor to perform the steps of the image authentication method as described above.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. An image authentication method, comprising:
s1, acquiring at least one frame of image information to be verified;
s2, acquiring target image information according to the image information to be verified, wherein the target image information is acquired by a preset target object reproduction method;
s3, comparing the image information to be verified with the target image information, and judging the consistency of the image information to be verified and the target image information.
2. The method of claim 1, wherein the target image information comprises image information of a target object in multiple dimensions, the multiple dimensions comprising multiple perspectives.
3. The method of claim 2, wherein the target image information includes first image information, and the step of acquiring the first image information by a preset target object reproduction method includes:
calculating the view angle boundary of the target object under a plurality of view angles;
acquiring image information of the target object in the visual angle boundary under a plurality of visual angles;
and carrying out boundary processing on the image information to obtain first image information of each view angle of the target object.
4. The method of claim 3, wherein the target image information further includes second image information, and the step of acquiring the second image information by a preset target object reproduction method includes:
controlling an acquisition device to acquire image information of a target object under multiple visual angles according to a preset acquisition rule;
cutting and fusing image information under the same visual angle to obtain fused image information;
acquiring fusion image information under a plurality of visual angles, and forming second image information of the target object.
5. The method of claim 4, wherein the target object rendering method further comprises:
and storing the first image information and/or the second image information at a preset position.
6. The method of claim 5, wherein the obtaining target image information according to the image information to be verified comprises:
segmenting a target object to be verified from the image information to be verified;
and acquiring multi-dimensional target image information from a preset position based on the target object to be verified.
7. The method of claim 6, wherein comparing the image information to be verified with the target image information and determining consistency of the image information to be verified and the target image information comprises:
performing three-dimensional reproduction on a target object based on the multi-dimensional target image information;
and carrying out multi-dimensional comparison on the target object to be verified and the three-dimensional reappeared target object, and judging whether the target object to be verified and the three-dimensional reappeared target object are consistent or not according to a comparison result.
8. An image authentication apparatus applied to the image authentication method according to any one of claims 1 to 7, comprising:
the first acquisition module is used for acquiring at least one frame of image information to be verified;
the second acquisition module is used for acquiring target image information according to the image information to be verified, and the target image information is acquired by a preset target object reproduction method;
and the comparison module is used for comparing the image information to be verified with the target image information and judging the consistency of the image information to be verified and the target image information.
9. A computer device, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the image authentication method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the image authentication method according to any one of claims 1 to 7.
CN202210566821.6A 2022-05-24 2022-05-24 Image verification method and device, computer equipment and storage medium Active CN114820575B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210566821.6A CN114820575B (en) 2022-05-24 2022-05-24 Image verification method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210566821.6A CN114820575B (en) 2022-05-24 2022-05-24 Image verification method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114820575A true CN114820575A (en) 2022-07-29
CN114820575B CN114820575B (en) 2023-01-20

Family

ID=82518037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210566821.6A Active CN114820575B (en) 2022-05-24 2022-05-24 Image verification method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114820575B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534413A (en) * 2009-04-14 2009-09-16 深圳华为通信技术有限公司 System, method and apparatus for remote representation
CN109464757A (en) * 2018-12-29 2019-03-15 上海联影医疗科技有限公司 A kind of method, system, device and the storage medium of determining target object position
CN110348193A (en) * 2019-05-24 2019-10-18 招银云创(深圳)信息技术有限公司 Verification method, device, equipment and storage medium
CN110610453A (en) * 2019-09-02 2019-12-24 腾讯科技(深圳)有限公司 Image processing method and device and computer readable storage medium
CN110826045A (en) * 2018-08-13 2020-02-21 深圳市商汤科技有限公司 Authentication method and device, electronic equipment and storage medium
CN113033243A (en) * 2019-12-09 2021-06-25 漳州立达信光电子科技有限公司 Face recognition method, device and equipment
CN113218324A (en) * 2021-03-30 2021-08-06 四川中绳矩阵技术发展有限公司 Movable cultural relic time domain data acquisition platform and acquisition method thereof
CN113887527A (en) * 2021-11-04 2022-01-04 北京智慧眼信息技术有限公司 Face image processing method and device, computer equipment and storage medium
CN113989434A (en) * 2021-10-27 2022-01-28 聚好看科技股份有限公司 Human body three-dimensional reconstruction method and device
CN114067189A (en) * 2021-12-01 2022-02-18 厦门航天思尔特机器人系统股份公司 Workpiece identification method, device, equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534413A (en) * 2009-04-14 2009-09-16 深圳华为通信技术有限公司 System, method and apparatus for remote representation
CN110826045A (en) * 2018-08-13 2020-02-21 深圳市商汤科技有限公司 Authentication method and device, electronic equipment and storage medium
CN109464757A (en) * 2018-12-29 2019-03-15 上海联影医疗科技有限公司 A kind of method, system, device and the storage medium of determining target object position
CN110348193A (en) * 2019-05-24 2019-10-18 招银云创(深圳)信息技术有限公司 Verification method, device, equipment and storage medium
CN110610453A (en) * 2019-09-02 2019-12-24 腾讯科技(深圳)有限公司 Image processing method and device and computer readable storage medium
CN113033243A (en) * 2019-12-09 2021-06-25 漳州立达信光电子科技有限公司 Face recognition method, device and equipment
CN113218324A (en) * 2021-03-30 2021-08-06 四川中绳矩阵技术发展有限公司 Movable cultural relic time domain data acquisition platform and acquisition method thereof
CN113989434A (en) * 2021-10-27 2022-01-28 聚好看科技股份有限公司 Human body three-dimensional reconstruction method and device
CN113887527A (en) * 2021-11-04 2022-01-04 北京智慧眼信息技术有限公司 Face image processing method and device, computer equipment and storage medium
CN114067189A (en) * 2021-12-01 2022-02-18 厦门航天思尔特机器人系统股份公司 Workpiece identification method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王子灿 等: "基于点云三维重建技术的甲状腺超声穿刺三维导航研究", 《机械与电子》 *

Also Published As

Publication number Publication date
CN114820575B (en) 2023-01-20

Similar Documents

Publication Publication Date Title
CN114648615B (en) Method, device and equipment for controlling interactive reproduction of target object and storage medium
WO2023035531A1 (en) Super-resolution reconstruction method for text image and related device thereof
CN111489396A (en) Determining camera parameters using critical edge detection neural networks and geometric models
CN113673519B (en) Character recognition method based on character detection model and related equipment thereof
JP6046501B2 (en) Feature point output device, feature point output program, feature point output method, search device, search program, and search method
CN112016502B (en) Safety belt detection method, safety belt detection device, computer equipment and storage medium
CN112241565A (en) Modeling method and related device
CN114529574A (en) Image matting method and device based on image segmentation, computer equipment and medium
CN114550051A (en) Vehicle loss detection method and device, computer equipment and storage medium
CN113077524B (en) Automatic calibration method, device and equipment for binocular fisheye camera and storage medium
CN114861241A (en) Anti-peeping screen method based on intelligent detection and related equipment thereof
CN114820575B (en) Image verification method and device, computer equipment and storage medium
CN109816791B (en) Method and apparatus for generating information
CN110717405A (en) Face feature point positioning method, device, medium and electronic equipment
CN114241411B (en) Counting model processing method and device based on target detection and computer equipment
CN112395834B (en) Brain graph generation method, device and equipment based on picture input and storage medium
CN112101252B (en) Image processing method, system, device and medium based on deep learning
CN113791426A (en) Radar P display interface generation method and device, computer equipment and storage medium
CN113362249A (en) Text image synthesis method and device, computer equipment and storage medium
CN112651399A (en) Method for detecting same-line characters in oblique image and related equipment thereof
CN112015319A (en) Screenshot processing method and device and storage medium
CN110807452A (en) Prediction model construction method, device and system and bank card number identification method
CN113850238B (en) Document detection method and device, electronic equipment and storage medium
CN113011132B (en) Vertical text recognition method, device, computer equipment and storage medium
US11910068B2 (en) Panoramic render of 3D video

Legal Events

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