CN109254661B - Image display method, image display device, storage medium and electronic equipment - Google Patents
Image display method, image display device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN109254661B CN109254661B CN201811023248.4A CN201811023248A CN109254661B CN 109254661 B CN109254661 B CN 109254661B CN 201811023248 A CN201811023248 A CN 201811023248A CN 109254661 B CN109254661 B CN 109254661B
- Authority
- CN
- China
- Prior art keywords
- target image
- faces
- information
- biological characteristic
- identity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 238000012795 verification Methods 0.000 claims abstract description 40
- 238000004590 computer program Methods 0.000 claims description 11
- 230000008569 process Effects 0.000 description 14
- 239000002609 medium Substances 0.000 description 12
- 230000002093 peripheral effect Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 238000013145 classification model Methods 0.000 description 3
- 238000003062 neural network model Methods 0.000 description 3
- 238000012549 training Methods 0.000 description 3
- 206010063385 Intellectualisation Diseases 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000001815 facial effect Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000004397 blinking Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000002372 labelling Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000012120 mounting media Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 210000000056 organ Anatomy 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 230000000284 resting effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000002618 waking effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
- Collating Specific Patterns (AREA)
Abstract
The embodiment of the application discloses an image display method, an image display device, a storage medium and electronic equipment. The method comprises the following steps: carrying out face recognition on a target image, and determining at least two faces included in the target image according to a face recognition result; when at least two human faces are included in the target image, acquiring biological characteristic information of at least two objects; verifying whether the biological characteristic information of the at least two objects and the at least two human faces meet the corresponding relationship; and when the biological characteristic information of at least two objects and the at least two human faces meet the corresponding relationship, displaying the target image. By adopting the scheme, the plurality of biological characteristic information are verified according to the target image including the human face, and the biological characteristic information used for verification has difference based on the difference of the target image, so that the safety of the target image is further improved, and the problem of leakage of all images caused by leakage of the encryption information in the same encryption mode is avoided.
Description
Technical Field
The embodiment of the application relates to the technical field of electronic equipment, in particular to an image display method, an image display device, a storage medium and electronic equipment.
Background
With the continuous development of electronic devices, the dependency of an object on an electronic device such as a mobile phone or a tablet computer is stronger, for example, the object stores a large number of photos in the electronic device, so that the object can be browsed at any time.
At present, in order to improve the security of images stored in electronic devices, a password may be set for an album or an image, wherein the password is generally a character password. However, the encryption mode is easy to reveal the password and poor in safety.
Disclosure of Invention
The embodiment of the application provides an image display method, an image display device, a storage medium and an electronic device, and improves the safety of images.
In a first aspect, an embodiment of the present application provides an image display method, including:
carrying out face recognition on a target image, and determining whether the target image comprises at least two faces according to a face recognition result;
when the target image comprises at least two human faces, acquiring biological characteristic information of at least two objects;
verifying whether the biological characteristic information of the at least two objects and the at least two human faces meet the corresponding relationship;
and when the biological characteristic information of at least two objects and the at least two human faces meet the corresponding relationship, displaying the target image.
In a second aspect, an embodiment of the present application provides an image display apparatus, including:
the face recognition module is used for carrying out face recognition on a target image and determining whether the target image comprises at least two faces according to a face recognition result;
the biological characteristic information acquisition module is used for acquiring biological characteristic information of at least two objects when the target image comprises at least two human faces;
the biological characteristic information verification module is used for verifying whether the biological characteristic information of the at least two objects and the at least two human faces meet the corresponding relation or not;
and the image display module is used for displaying the target image when the biological characteristic information of at least two objects and the at least two human faces meet the corresponding relationship.
In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements an image display method according to the present application.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the image display method according to the embodiment of the present application.
The image display method provided by the embodiment of the application carries out face recognition on a target image, and determines at least two faces included in the target image according to a face recognition result; when at least two human faces are included in the target image, acquiring biological characteristic information of at least two objects; verifying whether the biological characteristic information of the at least two objects and the at least two human faces meet the corresponding relationship; and when the biological characteristic information of at least two objects and the at least two human faces meet the corresponding relationship, displaying the target image. By adopting the scheme, the safety of the target image is improved by verifying the biological characteristic information, the biological characteristic information is verified according to the target image comprising the face, the biological characteristic information used for verification has difference on the basis of the difference of the target image, the safety of the target image is further improved, and the problem of leakage of all images caused by leakage of the encryption information in the same encryption mode is avoided.
Drawings
Fig. 1 is a schematic flowchart of an image display method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another image display method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another image display method according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another image display method according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of another image display method according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an image display device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
The technical scheme of the application is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart illustrating an image display method according to an embodiment of the present disclosure, where the method may be performed by an image display apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 1, the method includes:
And 102, when the target image comprises at least two human faces, acquiring biological characteristic information of at least two objects.
And 103, verifying whether the biological characteristic information of the at least two objects and the at least two human faces meet the corresponding relation.
And 104, when the biological characteristic information of at least two objects and the at least two human faces meet the corresponding relation, displaying the target image.
For example, the electronic device in the embodiment of the present application may include a smart device having a display screen, such as a mobile phone and a tablet computer.
In step 101, when a user inputs a display instruction for any image file by means of touch clicking or the like, the image is a target image, and face recognition is performed on the target image. The face recognition technology is to judge whether a face exists in an input target image based on the face features of a person, and if the face exists, determine the position and size of each face and the position information of each main facial organ. According to the information, facial features contained in each human face are extracted and compared with the human face features with identity information marks in the database, and therefore identity information of each human face is recognized. In this embodiment, the number of faces included in the target image and the identity information of each face may be determined according to the face result.
When the target image only comprises one face, the target image can be directly displayed, or when the target image has a preset password, the target image is decrypted according to a verification password input by a user and is displayed after being decrypted. In one embodiment, the preset password may be a biometric feature corresponding to the identity of the target image.
In step 102, when at least two faces included in the target image are determined, prompt information is generated, and a user is prompted through an output device such as a screen or a loudspeaker, wherein the prompt information may include the identification of the target image and the number of the biometric information to be input. The at least two objects can input the biological characteristic information through the same electronic device, and can also input the biological characteristic information through different electronic devices. Alternatively, the types of biometric information input by at least two subjects may be the same or different. For example, the at least two objects may input the same kind of biometric information through the same input device of the same electronic device, and may input different kinds of biometric information through different input devices of the same electronic device. For example, fingerprint information is input through a fingerprint recognition module, face information is input through a camera or a structured light 3D imaging module, voice information is input through a microphone, the electronic device extracts voiceprint information of an input object through the voice information for input, and the like.
In some embodiments, obtaining biometric information of at least two subjects includes: the biometric information of at least two objects received based on the same electronic device is acquired within a preset time period. And when the total duration of acquiring the biological characteristic information of the at least two objects is longer than the preset duration, forbidding displaying the target image and prompting to acquire the biological characteristic information of the at least two objects again.
In this embodiment, after at least two pieces of biometric information are acquired, the acquired biometric information is verified. When the verification is successful, the target image is displayed, and when the verification is failed, the target image is prohibited from being displayed. In this embodiment, it is verified whether the biometric information input by the at least two objects and the at least two faces satisfy a corresponding relationship, that is, whether the identity of the input biometric information matches the identity of the face in the target image is verified, if the identity of the biometric information matches the identity of the face in the target image, it is determined that the biometric information is successfully verified, otherwise, if the identity of the biometric information does not match the identity of the face in the target image, it is determined that the biometric information is failed to be verified. It should be noted that the correspondence between the biometric information input by the at least two subjects and the at least two faces may be a one-to-one correspondence between the biometric information and the faces, or may be a correspondence between a plurality of pieces of biometric information and one face, for example, the biometric information matched with the face of the child includes the biometric information of the child and the biometric information of the guardian. And when at least one piece of matched biological characteristic information exists in each human face in the target image, determining that the verification is successful. Based on the diversity of the biological characteristic information, the verification mode of the biological characteristic information is determined according to the type of the biological characteristic information acquired by the electronic equipment.
In some embodiments, if the biometric information is face information, it is determined whether the identity of the input face information matches the identity of the face in the target image. Illustratively, the face information received by the electronic device is matched with the face region in the target image, and when the matching is successful, the identity of the received face information is determined to be matched with the identity of the face in the target image. The face information received by the electronic equipment can be collected through a camera of the electronic equipment, and can also be transmitted through communication connection by other electronic equipment. For example, the face information acquired by the camera of the electronic device and the face area in the target image may be subjected to face recognition, the identity of the acquired face information and the identity of the face in the target image are respectively determined, and when the identity of the acquired face information is the same as the identity of the face in the target image, the identity of the input face information is determined to be matched with the identity of the face in the target image.
In some embodiments, if the biometric information is fingerprint information, it is determined whether the identity of the input fingerprint information matches the identity of the face in the target image. The electronic equipment is stored with fingerprint information corresponding to the face in the target image in advance, the fingerprint information received by the electronic equipment is compared with the fingerprint information stored in advance, and when the matching is successful, the identity of the input face information is determined to be matched with the identity of the face in the target image. The fingerprint information received by the electronic equipment can be collected through a touch screen of the electronic equipment, and can also be transmitted by other electronic equipment through communication connection.
In some embodiments, if the biometric information is voiceprint information, it is determined whether the identity of the input voiceprint information matches the identity of the face in the target image. The electronic equipment is stored with voiceprint information corresponding to the face in the target image in advance, the voiceprint information received by the electronic equipment is compared with the prestored voiceprint information, and when the matching is successful, the identity of the input face information is determined to be matched with the identity of the face in the target image. The voiceprint information received by the electronic device may be collected by a microphone of the electronic device, or may be transmitted by other electronic devices through a communication connection.
Optionally, when it is determined that the target image includes at least two faces, it is detected whether fingerprint information and voiceprint information corresponding to the faces in the target image are stored in the electronic device, and when the fingerprint information and voiceprint information corresponding to the faces in the target image do not exist in the electronic device, at least two objects are prompted to input the face information.
Optionally, the type of biometric information used for authentication differs at different time periods. And determining the biological characteristic information verified each time according to the corresponding relation between the input time and the time period of the display instruction of the target image and the type of the biological characteristic information. Illustratively, fingerprint information is verified during time period 8:00-12:00, voiceprint information is verified during time period 12:00-20:00, and during time period 20: 00-the next day 8:00, verifying the face information, wherein at least one of blinking, shaking or nodding of an input object needs to be detected before the face information is collected during verification of the face information, so that the input object is kept awake during collection of the face information, and the problem of leakage of a privacy image caused by inputting of the face information under the condition that an input user is unknown is avoided. For example, the biometric information used for verification in each time period is determined according to the work and rest of the user, for example, in the waking time period of the user, verification can be performed based on fingerprint information, face information or voiceprint information, and in the resting time period of the user, verification can be performed based on iris information, so that the safety of the target image is improved, and the problem that the content of the target image is leaked is avoided.
In some embodiments, when two or more faces are included in the target image, the biometric information of the two objects is acquired, and when the identities of the two acquired biometric information match with the identities of any two faces or specific two faces in the target image, it is determined that the verification is successful, and the target image is displayed. In one embodiment, a target image is determined through a display instruction input by a user, face recognition is performed on the target image, two faces and identities of the two faces are determined to be included in the target image, fingerprint information (or other biological characteristic information) input by two objects is received through electronic equipment, when the fingerprint information received through the electronic equipment is verified successfully, matching relation (corresponding relation) between the fingerprint information input by the two objects and the at least two faces is determined to be met, and the target image is displayed.
In some embodiments, after displaying the target image, further comprising: and displaying the associated image when a display instruction of the associated image of the target image is detected within a preset time of displaying the target image, wherein the associated image comprises the at least two human faces in the target image. When the target image is displayed, the authorization for acquiring the at least two objects is indicated, the face image in the target image can be browsed, and within the preset time for displaying the target image, if the associated image of the target image is browsed, the associated image can be directly displayed on a screen without acquiring the biological characteristic information of the at least two objects again for verification, so that the display process of the associated image is simplified. The preset time for displaying the target image may be 15 minutes or 10 minutes, and may be set according to a user requirement. It should be noted that, after the electronic device exits from the APP (Application program) where the target image is located, when the APP is performed again to browse the target image and the associated image, biometric information of at least two objects needs to be obtained again for verification. The APP may be an application program such as an album or a figure.
In some embodiments, after the target image is displayed for the preset time, the display of the target image is stopped, the biometric information of at least two objects is received again, the received biometric information of at least two objects is verified, and when the verification is successful again, the target image is continuously displayed, so that the problem of content leakage of the target image caused by long-time display of the target image is avoided.
It should be noted that, in this embodiment, it is not necessary to encrypt the target image in advance, an image encryption process is omitted, differences of biometric information verified by different target images are improved based on biometric information obtained by face verification in the target image, and a problem of leakage of all images due to leakage of encrypted information is avoided.
The image display method provided by the embodiment of the application carries out face recognition on a target image, and determines at least two faces included in the target image according to a face recognition result; when at least two human faces are included in the target image, acquiring biological characteristic information of at least two objects; verifying whether the biological characteristic information of the at least two objects and the at least two human faces meet the corresponding relationship; and when the biological characteristic information of at least two objects and the at least two human faces meet the corresponding relationship, displaying the target image. By adopting the scheme, the biological characteristic information is verified, the safety of the target image is improved, meanwhile, the biological characteristic information is verified according to the target image comprising the face, the biological characteristic information used for verification has difference on the basis of the difference of the target image, the safety of the target image is further improved, and the problem of leakage of all images caused by leakage of the encryption information in the same encryption mode is avoided.
Fig. 2 is a schematic flow chart of another image display method according to an embodiment of the present disclosure, and referring to fig. 2, the method according to the embodiment includes the following steps:
And step 204, displaying the target image.
And step 205, prohibiting the target image from being displayed.
In step 202, privacy object information, such as face information of a privacy object, is set in advance in the electronic device. When the target image comprises two or more faces, comparing the faces in the target image with face information of a pre-stored privacy object, when matching is successful, determining that the faces in the target image comprise the privacy object, and when matching is failed, determining that the faces in the target image do not comprise the privacy object.
And verifying the acquired biological characteristic information of the at least two objects with the identity of the privacy object, and when the biological characteristic information of the at least two objects is matched with the identity of the privacy object, determining that the verification is successful and displaying the target image.
When the target image does not include the face of the privacy object, the target image is indicated to have no privacy information, the target image can be directly displayed, the verification process of the normal image is omitted, and the display process of the normal image is simplified.
According to the image display method provided by the embodiment of the application, when the target image comprises at least two faces and the at least two faces comprise the face of the privacy object, the acquired biological characteristic information is matched with the identity of the privacy object, when the matching is successful, the target image is displayed, whether verification is performed or not is determined according to the face in the target image, the pertinence of verification of the target image is improved, an unnecessary verification process in normal image display is avoided, and the safety of the target image and the efficiency of image display are considered.
Fig. 3 is a schematic flow chart of another image display method provided in an embodiment of the present application, where the present embodiment is an alternative to the foregoing embodiment, and accordingly, as shown in fig. 3, the method of the present embodiment includes the following steps:
And step 304, displaying the target image.
In this embodiment, the identity relationship between the at least two faces may be determined by the sex, the action, and the catch of the corresponding object of the at least two faces in the target image, or may be determined based on the remarks of the object in the electronic device. The relationship of the identity relationship of at least two faces includes but is not limited to a passerby relationship, a lover relationship, a relatives relationship, a colleague relationship, a friend relationship and the like. The preset privacy relationship may be preset by a user, for example, may be a couple relationship.
Optionally, the determining whether the identity relationship between the at least two faces meets a preset privacy relationship includes: inputting the target image into a pre-trained identity relationship recognition model; and determining whether the identity relationship of at least two objects in the target image meets a preset privacy relationship according to the output of the identity relationship recognition model. The pre-trained character relation recognition model can be a machine learning model such as a neural network model or a classification model, wherein the neural network model and the classification model are formed according to a large number of sample training and have a function of recognizing the identity relation of the object in the image. For example, the sample includes a large number of sample images and an identity relationship of an object in each sample image, and the sample may be generated by acquiring a large number of sample images based on a network and labeling the identity relationship of the sample images; the samples may also be formed for shots based on identity relationships. The neural network model and the classification model can be obtained by training in a supervised learning mode, specifically, a sample is input into an untrained identity relationship recognition model, a predicted identity relationship output by the model can be obtained based on the untrained identity relationship recognition model, when the predicted identity relationship output by the model is different from an actual identity relationship in the sample, a weight parameter in the identity relationship recognition model is reversely adjusted based on a deviation between the predicted identity relationship output by the model and the actual identity relationship labeled by the sample, and the training process is iteratively executed until an error of the identity relationship recognition model is smaller than a preset error. The trained identity relationship recognition model has the function of judging the confidentiality grade of information, and the more accurate predicted identity relationship of the target image can be obtained after the target image is input into the trained identity relationship recognition model.
When the identity relationship between the faces included in the target image does not meet the preset privacy relationship, the target image is indicated to be free of privacy information, the target image is a normal image, the target image can be directly displayed, the verification process of the normal image is omitted, and the display process of the normal image is simplified.
According to the image display method provided by the embodiment of the application, when the target image comprises at least two faces and the identity relationship of the at least two faces is a preset privacy identity relationship, the acquired biological feature information is verified, when the matching is successful, the target image is displayed, whether verification is performed or not is determined according to the identity relationship of the faces in the target image, the pertinence of verification of the target image is improved, an unnecessary verification process in normal image display is avoided, and the safety of the target image and the efficiency of image display are considered.
Fig. 4 is a schematic flow chart of another image display method provided in an embodiment of the present application, where the present embodiment is an alternative to the foregoing embodiment, and accordingly, as shown in fig. 4, the method of the present embodiment includes the following steps:
And step 403, when the biological characteristic information of the first object is matched with the identity of one of the at least two human faces, obtaining biological characteristic information of a second object received by a second electronic device.
And step 404, when the biological characteristic information of the first object is matched with the identity of one of the two human faces, obtaining biological characteristic information of a second object received by a second electronic device.
And 405, when the biological characteristic information of the second object is matched with other identities of the two human faces, displaying the target image.
In this embodiment, different electronic devices acquire biometric information input by a user, transmit the biometric information to an electronic device where a target image is located, verify the received biometric information by the electronic device where the target image is located, and display the target image when the verification is successful. The problem that the target image cannot be browsed when at least two objects corresponding to the human faces in the target image are not at the same position is solved, and humanization and intellectualization of the target image are improved.
The electronic device stores a contact information of the face identity in the target image in advance, for example, the contact information may be a phone number, a micro signal or a QQ number. And carrying out communication transmission with other electronic equipment based on the contact way. The electronic equipment where the target image is located obtains biological feature information of a first object, when the biological feature information of the first object is matched with the identity of one of the at least two human faces, the electronic equipment sends a verification request to second electronic equipment, receives biological feature information of a second object fed back by the second electronic equipment, verifies the biological feature information of the second object by the first electronic equipment, and when the biological feature information of the second object is matched with other identities of the two human faces, the verification is determined to be successful, and the target image is displayed. Wherein the first object may be an owner of the electronic device.
It should be noted that, when the target image includes more than two faces, the first electronic device sends verification requests to the multiple electronic devices respectively according to the contact ways of the other faces in the target image, receives the biometric information fed back by the multiple electronic devices, and displays the target image when the received biometric information matches with the other identities of the at least two faces in the target image.
According to the image display method provided by the embodiment of the application, the biological characteristic information of at least two objects is obtained through different electronic equipment, verification is carried out, and when the verification is successful, the target image is displayed. The problem that the target image cannot be browsed when at least two objects corresponding to the human faces in the target image are not at the same position is solved, and humanization and intellectualization of the target image are improved.
Fig. 5 is a schematic flow chart of another image display provided in an embodiment of the present application, where the present embodiment is an alternative to the foregoing embodiment, and accordingly, as shown in fig. 5, the method of the present embodiment includes the following steps:
And 504, acquiring the biological characteristic information of at least two objects, and verifying whether the biological characteristic information of the at least two objects and the preset privacy object identity meet the corresponding relation. If yes, go to step 505, otherwise go to step 506.
And 505, displaying the target image.
And step 506, prohibiting the target image from being displayed.
It should be noted that, the steps 502 and 503 may be executed synchronously or in any order, and when the identities of the at least two faces include the preset privacy object identity and/or the identity relationship between the at least two faces satisfies the preset privacy relationship, the biometric information of the at least two objects is obtained and verified. When the authentication is successful, the image is displayed.
According to the image display method provided by the embodiment of the application, when the target image comprises at least two faces, the identity relationship of the at least two faces is a preset privacy identity relationship, and/or the identity relationship of the at least two faces meets the preset privacy relationship, the acquired biological feature information and the preset privacy object identity are verified, when the matching is successful, the target image is displayed, whether verification is performed or not is determined according to the identity relationship of the faces in the target image, the pertinence of verification of the target image is improved, an unnecessary verification process in normal image display is avoided, and the safety of the target image and the efficiency of image display are considered.
Fig. 6 is a block diagram of an image display apparatus, which may be implemented by software and/or hardware, and is generally integrated in an electronic device, and may display an image by executing an image display method of the electronic device according to an embodiment of the present disclosure. As shown in fig. 6, the apparatus includes: a face recognition module 601, a biometric information acquisition module 602, a biometric information verification module 603, and an image display module 604.
A face recognition module 601, configured to perform face recognition on a target image, and determine whether the target image includes at least two faces according to a face recognition result;
a biometric information obtaining module 602, configured to obtain biometric information of at least two objects when the target image includes at least two faces;
a biometric information verification module 603 configured to verify whether the biometric information of the at least two objects and the at least two faces satisfy a correspondence;
an image display module 604, configured to display the target image when the biometric information of the at least two objects and the at least two human faces satisfy a corresponding relationship.
The image display device provided in the embodiment of the application verifies a plurality of biological characteristic information, improves the security of a target image, verifies the plurality of biological characteristic information according to the fact that the target image comprises a human face, and also has differences based on the differences of the target image, so that the security of the target image is further improved, and the problem of leakage of all images caused by leakage of encryption information in the same encryption mode is avoided.
On the basis of the above embodiment, the method further includes:
and the privacy object judgment module is used for judging whether the identities of the at least two faces comprise preset privacy object identities before acquiring the biological characteristic information of the at least two objects.
On the basis of the above embodiment, the method further includes:
and the privacy relation judging module is used for judging whether the identity relation of the at least two faces meets a preset privacy relation before acquiring the biological characteristic information of the at least two objects.
On the basis of the above embodiment, the privacy relationship determination module is configured to:
inputting the target image into a pre-trained character relation recognition model;
and determining whether the identity relationship of at least two objects in the target image meets a preset privacy relationship or not according to the output of the character relationship recognition model.
On the basis of the foregoing embodiment, the biometric information acquisition module 602 is configured to:
the biometric information of at least two objects received based on the same electronic device is acquired within a preset time period.
On the basis of the foregoing embodiment, the biometric information acquisition module 602 is configured to:
obtaining biometric information based on a first object received by a first electronic device;
and when the biological characteristic information of the first object is matched with the identity of one of the at least two human faces, obtaining biological characteristic information of a second object received by the second electronic equipment.
On the basis of the above embodiment, the biometric information verification module 603 is configured to:
if the biological characteristic information is face information, judging whether the identity of the input face information is matched with the identity of the face in the target image; or,
if the biological characteristic information is fingerprint information, judging whether the identity of the input fingerprint information is matched with the identity of the face in the target image; or,
and if the biological characteristic information is voiceprint information, judging whether the identity of the input voiceprint information is matched with the identity of the face in the target image.
On the basis of the above embodiment, the method further includes:
and the associated image display module is used for displaying the associated image when a display instruction of the associated image of the target image is detected within a preset time for displaying the target image after the target image is displayed, wherein the associated image comprises the at least two human faces in the target image.
Embodiments of the present application also provide a storage medium comprising computer-executable instructions, which when executed by a computer processor, perform a method of displaying an image, the method comprising:
carrying out face recognition on a target image, and determining at least two faces included in the target image according to a face recognition result;
when at least two human faces are included in the target image, acquiring biological characteristic information of at least two objects;
verifying whether the biological characteristic information of the at least two objects and the at least two human faces meet the corresponding relationship;
and when the biological characteristic information of at least two objects and the at least two human faces meet the corresponding relationship, displaying the target image.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDRRAM, SRAM, EDORAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application includes computer-executable instructions, and the computer-executable instructions are not limited to the image display operation described above, and may also perform related operations in the image display method provided in any embodiments of the present application.
The embodiment of the application provides electronic equipment, and the image display device provided by the embodiment of the application can be integrated in the electronic equipment. Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device 700 may include: the image display device comprises a memory 701, a processor 702 and a computer program which is stored on the memory 701 and can be run by the processor 702, wherein the processor 702 executes the computer program to realize the image display method according to the embodiment of the application.
The electronic equipment provided by the embodiment of the application verifies the biological characteristic information, improves the safety of the target image, verifies the biological characteristic information according to the fact that the target image comprises the face, and also has difference based on the difference of the target image, so that the safety of the target image is further improved, and the problem of leakage of all images caused by leakage of the encryption information in the same encryption mode is avoided.
Fig. 8 is a schematic structural diagram of another electronic device according to an embodiment of the present application. The electronic device may include: a housing (not shown), a memory 801, a Central Processing Unit (CPU) 802 (also called a processor, hereinafter referred to as CPU), a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU802 and the memory 801 are provided on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the electronic equipment; the memory 801 is used for storing executable program codes; the CPU802 executes a computer program corresponding to the executable program code stored in the memory 801 by reading the executable program code to realize the steps of:
carrying out face recognition on a target image, and determining whether the target image comprises at least two faces according to a face recognition result;
when the target image comprises at least two human faces, acquiring biological characteristic information of at least two objects;
verifying whether the biological characteristic information of the at least two objects and the at least two human faces meet the corresponding relationship;
and when the biological characteristic information of at least two objects and the at least two human faces meet the corresponding relationship, displaying the target image.
The electronic device further includes: peripheral interfaces 803, RF (Radio Frequency) circuitry 805, audio circuitry 806, speakers 811, power management chip 808, input/output (I/O) subsystem 808, other input/control devices 810, touch screen 812, other input/control devices 810, and external ports 804, which communicate via one or more communication buses or signal lines 807.
It should be understood that the illustrated electronic device 800 is merely one example of an electronic device, and that the electronic device 800 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail the electronic device for image display operation provided in this embodiment, which is exemplified by a mobile phone.
A memory 801, the memory 801 being accessible by the CPU802, the peripheral interface 803, and the like, the memory 801 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 803, said peripheral interface 803 allowing input and output peripherals of the device to be connected to the CPU802 and the memory 801.
I/O subsystem 809, which I/O subsystem 809 may connect input and output peripherals on the device, such as touch screen 812 and other input/control devices 810, to peripheral interface 803. The I/O subsystem 809 may include a display controller 8091 and one or more input controllers 8092 for controlling other input/control devices 810. Where one or more input controllers 8092 receive electrical signals from or transmit electrical signals to other input/control devices 810, other input/control devices 810 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 8092 may be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 812, which touch screen 812 is an input interface and an output interface between the subject electronic device and the subject, displays visual output to the subject, which may include graphics, text, icons, video, and the like.
The display controller 8091 in the I/O subsystem 809 receives electrical signals from the touch screen 812 or sends electrical signals to the touch screen 812. The touch screen 812 detects a contact on the touch screen, and the display controller 8091 converts the detected contact into an interaction with an object interface object displayed on the touch screen 812, that is, implements a human-computer interaction, and the object interface object displayed on the touch screen 812 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 805 is mainly used to establish communication between the mobile phone and the wireless network (i.e., the network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, the RF circuitry 805 receives and transmits RF signals, also referred to as electromagnetic signals, which the RF circuitry 805 converts to or from electrical signals, and communicates with communication networks and other devices over. RF circuitry 805 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, an object identification Module (SIM), and so forth.
The audio circuit 806 is mainly used to receive audio data from the peripheral interface 803, convert the audio data into an electric signal, and transmit the electric signal to the speaker 811.
The speaker 811 is used to convert the voice signal received by the cellular phone from the wireless network through the RF circuit 805 into sound and play the sound to the subject.
And the power management chip 808 is used for supplying power and managing power to the hardware connected with the CPU802, the I/O subsystem and the peripheral interface.
The image display device, the storage medium and the electronic device provided in the above embodiments can execute the image display method provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For details of the image display method provided in any of the embodiments of the present application, reference may be made to the above-described embodiments.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims (9)
1. An image display method applied to an electronic device, comprising:
carrying out face recognition on a target image, and determining whether the target image comprises at least two faces according to a face recognition result;
when the target image comprises at least two faces, judging whether the identities of the at least two faces comprise preset privacy object identities;
when the identities of the at least two faces comprise preset privacy object identities, judging whether the identity relationship of the at least two faces meets a preset privacy relationship;
when the identity relationship of the at least two faces meets a preset privacy relationship, acquiring biological characteristic information of at least two objects, and verifying whether the biological characteristic information of the at least two objects and the preset privacy object identity meet a corresponding relationship;
and when the biological characteristic information of at least two objects and the preset privacy object identity meet the corresponding relation, displaying a complete image of the target image.
2. The method of claim 1, wherein determining whether the identity relationship of the at least two faces meets a preset privacy relationship comprises:
inputting the target image into a pre-trained character relation recognition model;
and determining whether the identity relationship of at least two objects in the target image meets a preset privacy relationship or not according to the output of the character relationship recognition model.
3. The method of claim 1, wherein obtaining biometric information of at least two subjects comprises:
the biometric information of at least two objects received based on the same electronic device is acquired within a preset time period.
4. The method of claim 1, wherein obtaining biometric information of at least two subjects comprises:
obtaining biometric information based on a first object received by a first electronic device;
and when the biological characteristic information of the first object is matched with the identity of one of the at least two human faces, obtaining biological characteristic information of a second object received by the second electronic equipment.
5. The method of claim 1, wherein verifying whether the biometric information of the at least two objects and the preset privacy object identity satisfy a correspondence comprises:
if the biological characteristic information is face information, judging whether the identities of the face information of at least two objects are matched with the identities of the faces in the target image; or,
if the biological characteristic information is fingerprint information, judging whether the identities of the fingerprint information of at least two objects are matched with the identity of the face in the target image; or,
and if the biological characteristic information is voiceprint information, judging whether the identities of the voiceprint information of the at least two objects are matched with the identity of the face in the target image.
6. The method of claim 1, further comprising, after displaying the target image:
and displaying the associated image when a display instruction of the associated image of the target image is received within the preset time of displaying the target image, wherein the associated image comprises the at least two human faces in the target image.
7. An image display apparatus, comprising:
the face recognition module is used for carrying out face recognition on a target image and determining whether the target image comprises at least two faces according to a face recognition result;
the privacy object judgment module is used for judging whether the identities of the at least two faces comprise preset privacy object identities when the target image comprises the at least two faces; the privacy relation judging module is used for judging whether the identity relation of the at least two faces meets the preset privacy relation or not when the identities of the at least two faces comprise preset privacy object identities;
the biological characteristic information acquisition module is used for acquiring biological characteristic information of at least two objects when the identity relationship of the at least two faces meets a preset privacy relationship;
the biological characteristic information verification module is used for verifying whether the biological characteristic information of the at least two objects and the preset privacy object identity meet the corresponding relation or not;
and the image display module is used for displaying a complete image of the target image when the biological characteristic information of at least two objects and the preset privacy object identity meet the corresponding relation.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the image display method according to any one of claims 1 to 6.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executed on the processor, the processor implementing the image display method according to any one of claims 1 to 6 when executing the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811023248.4A CN109254661B (en) | 2018-09-03 | 2018-09-03 | Image display method, image display device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811023248.4A CN109254661B (en) | 2018-09-03 | 2018-09-03 | Image display method, image display device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109254661A CN109254661A (en) | 2019-01-22 |
CN109254661B true CN109254661B (en) | 2022-05-03 |
Family
ID=65047135
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811023248.4A Active CN109254661B (en) | 2018-09-03 | 2018-09-03 | Image display method, image display device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109254661B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110210194A (en) * | 2019-04-18 | 2019-09-06 | 深圳壹账通智能科技有限公司 | Electronic contract display methods, device, electronic equipment and storage medium |
CN110276331A (en) * | 2019-06-28 | 2019-09-24 | 四川长虹电器股份有限公司 | The inspection modification method of Identification of Images result |
CN111626258B (en) * | 2020-06-03 | 2024-04-16 | 上海商汤智能科技有限公司 | Sign-in information display method and device, computer equipment and storage medium |
CN114070950B (en) * | 2020-07-30 | 2024-05-17 | 北京市商汤科技开发有限公司 | Image processing method, related device and equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105260676A (en) * | 2015-10-16 | 2016-01-20 | 合肥工业大学 | Image privacy decision recommendation system and method under social network on the basis of privacy rule and perceptual Hash |
CN106874787A (en) * | 2017-01-20 | 2017-06-20 | 维沃移动通信有限公司 | A kind of image viewing method and mobile terminal |
CN108197453A (en) * | 2018-01-19 | 2018-06-22 | 中国科学院信息工程研究所 | A kind of image method for secret protection and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106127076B (en) * | 2016-06-30 | 2019-04-12 | 维沃移动通信有限公司 | A kind of inspection method and mobile terminal of photograph album photo |
-
2018
- 2018-09-03 CN CN201811023248.4A patent/CN109254661B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105260676A (en) * | 2015-10-16 | 2016-01-20 | 合肥工业大学 | Image privacy decision recommendation system and method under social network on the basis of privacy rule and perceptual Hash |
CN106874787A (en) * | 2017-01-20 | 2017-06-20 | 维沃移动通信有限公司 | A kind of image viewing method and mobile terminal |
CN108197453A (en) * | 2018-01-19 | 2018-06-22 | 中国科学院信息工程研究所 | A kind of image method for secret protection and system |
Also Published As
Publication number | Publication date |
---|---|
CN109254661A (en) | 2019-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230325538A1 (en) | Method and apparatus for processing biometric information in electronic device | |
US12032668B2 (en) | Identifying and authenticating users based on passive factors determined from sensor data | |
US10867025B2 (en) | Opportunistically collecting sensor data from a mobile device to facilitate user identification | |
US10440019B2 (en) | Method, computer program, and system for identifying multiple users based on their behavior | |
CN109254661B (en) | Image display method, image display device, storage medium and electronic equipment | |
US9531710B2 (en) | Behavioral authentication system using a biometric fingerprint sensor and user behavior for authentication | |
US9183683B2 (en) | Method and system for access to secure resources | |
CN109684806A (en) | Auth method, device, system and medium based on physiological characteristic information | |
US20240184926A1 (en) | Wearable devices in a controlled environment | |
CN108076426A (en) | Terminal tracing method, apparatus, storage medium and terminal device | |
CN113826135B (en) | System, method and computer system for contactless authentication using voice recognition | |
CN108475304B (en) | Method and device for associating application program and biological characteristics and mobile terminal | |
EP3699789A1 (en) | Method and device for security verification and mobile terminal | |
WO2018000370A1 (en) | Mobile terminal authentication method and mobile terminal | |
US11023569B2 (en) | Secure re-enrollment of biometric templates using functional encryption | |
US20210312025A1 (en) | Authorized gesture control methods and apparatus | |
CN109219003B (en) | Information encryption method and device, storage medium and electronic equipment | |
CN106357671A (en) | Method and device for verifying login | |
CN211979663U (en) | User identification device and user identification system | |
CN110895688A (en) | System and method for identifying user identity | |
CN113282202A (en) | Application icon function execution method and device, communication equipment and storage medium | |
US20240073207A1 (en) | User authentication | |
CN107229845A (en) | Plug-in unit processing method, device and terminal in terminal | |
CN117957538A (en) | Electronic device for protecting biological information of user | |
CN110769415A (en) | Authentication method 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |