CN109254661A - Image display method, device, storage medium and electronic equipment - Google Patents

Image display method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN109254661A
CN109254661A CN201811023248.4A CN201811023248A CN109254661A CN 109254661 A CN109254661 A CN 109254661A CN 201811023248 A CN201811023248 A CN 201811023248A CN 109254661 A CN109254661 A CN 109254661A
Authority
CN
China
Prior art keywords
target image
biological information
face
faces
objects
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
CN201811023248.4A
Other languages
Chinese (zh)
Other versions
CN109254661B (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201811023248.4A priority Critical patent/CN109254661B/en
Publication of CN109254661A publication Critical patent/CN109254661A/en
Application granted granted Critical
Publication of CN109254661B publication Critical patent/CN109254661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/04842Selection 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)
  • Collating Specific Patterns (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application discloses image display method, device, storage medium and electronic equipment.Wherein, method includes: to carry out recognition of face to target image, and at least two faces for including in the target image are determined according to face recognition result;When at least two faces for including in the target image, the biological information of at least two objects is obtained;Whether the biological information and at least two faces for verifying at least two object meet corresponding relationship;When the biological information of at least two objects and it is described at least two faces meet corresponding relationship when, show the target image.By using above scheme, according in target image include face, multiple biological informations are verified, otherness based on target image, biological information for verifying equally exists otherness, the safety of target image is further improved, the leakage problem of all images caused by encryption information is revealed in same cipher mode is avoided.

Description

Image display method, device, storage medium and electronic equipment
Technical field
The invention relates to technical field of electronic equipment more particularly to a kind of image display method, device, storage Jie Matter and electronic equipment.
Background technique
With the continuous development of electronic equipment, dependence of the object to the electronic equipment of mobile phone or tablet computer etc. More and more by force, such as object stores a large amount of photo in the electronic device, can browse at any time convenient for object.
Currently, can be close to photograph album or image setting to improve the safety of the image stored in electronic equipment Code, wherein password is usually character password.However above-mentioned cipher mode, password are easy leakage, safety is poor.
Summary of the invention
The embodiment of the present application provides image display method, device, storage medium and electronic equipment, improves the safety of image Property.
In a first aspect, the embodiment of the present application provides a kind of image display method, comprising:
Recognition of face is carried out to target image, determines in the target image whether include at least according to face recognition result Two faces;
When in the target image including at least two faces, the biological information of at least two objects is obtained;
Whether the biological information and at least two faces for verifying at least two object meet corresponding relationship;
When the biological information of at least two objects and it is described at least two faces meet corresponding relationship when, described in display Target image.
Second aspect, the embodiment of the present application provide a kind of image display device, comprising:
Face recognition module determines the target according to face recognition result for carrying out recognition of face to target image It whether include at least two faces in image;
Biological information obtains module, for obtaining at least when in the target image including at least two faces The biological information of two objects;
Biological information authentication module, for verify at least two object biological information and it is described at least Whether two faces meet corresponding relationship;
Image display, for meeting pair when the biological information of at least two objects and at least two faces When should be related to, the target image is shown.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the image display method as described in the embodiment of the present application when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of electronic equipment, including memory, processor and are stored in storage On device and the computer program that can run on a processor, the processor realize such as the application when executing the computer program Image display method described in embodiment.
The image display method provided in the embodiment of the present application carries out recognition of face to target image, according to recognition of face As a result at least two faces for including in the target image are determined;When at least two faces for including in the target image When, obtain the biological information of at least two objects;Verify at least two object biological information and it is described extremely Whether few two faces meet corresponding relationship;When the biological information of at least two objects and at least two faces meet When corresponding relationship, the target image is shown.By using above scheme, by being verified to multiple biological informations, The safety of target image is improved, while according to including face in target image, multiple biological informations are verified, Otherness based on target image, the biological information for verifying equally exist otherness, further improve target figure The safety of picture avoids the leakage problem of all images caused by encryption information is revealed in same cipher mode.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of image display method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another image display method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another image display method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another image display method provided by the embodiments of the present application;
Fig. 5 is the flow diagram of another image display method provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of image display device provided by the embodiments of the present application;
Fig. 7 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 8 is the structural schematic diagram of another electronic equipment provided by the embodiments of the present application.
Specific embodiment
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is understood that It is that specific embodiment described herein is used only for explaining the application, rather than the restriction to the application.It further needs exist for illustrating , part relevant to the application is illustrated only for ease of description, in attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation The processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
Fig. 1 is a kind of flow diagram of image display method provided by the embodiments of the present application, and this method can be by image Display device executes, and wherein the device can be implemented by software and/or hardware, and can generally integrate in the electronic device.Such as Fig. 1 institute Show, this method comprises:
Step 101 carries out recognition of face to target image, according to face recognition result determine in the target image whether Including at least two faces.
Step 102, when in the target image include at least two faces when, obtain at least two objects biological characteristic Information.
Whether step 103, the biological information for verifying at least two object meet at least two faces Corresponding relationship.
Step 104, when the biological information of at least two objects and it is described at least two faces meet corresponding relationship when, Show the target image.
Illustratively, the electronic equipment in the embodiment of the present application may include the intelligence that mobile phone and tablet computer etc. have display screen It can equipment.
It in a step 101, should when user inputs the idsplay order to any image file by modes such as touch-control clicks Image is target image, carries out recognition of face to target image.Face recognition technology is the face feature based on people, to input Target image judges that it determines position, size and each major facial device of each face if there is face with the presence or absence of face The location information of official.According to these information, extract the face feature contained in every face, and by its with have in database The face characteristic of identity information mark compares, to identify the identity information of every face.It, can be according to people in the present embodiment Face result determines the quantity for the face for including in target image and the identity information of each face.
When only including a face in target image, directly the target image can be shown, or work as target figure As being decrypted according to the verifying password that user inputs, and show the target image after decryption when having pre-set password. In one embodiment, pre-set password can be the corresponding biological characteristic of target image identity.
In step 102, when at least two faces for including in determining target image, prompt information is generated, screen is passed through Or the output equipments such as loudspeaker prompt user, wherein can be the mark including target image in prompt information and need defeated The quantity of the biological information entered.At least two objects can input biological information by same electronic equipment, can be with It is that biological information is inputted by different electronic equipments.Optionally, the biological information that at least two objects input Type can be identical, be also possible to different.Illustratively, at least two objects pass through the same defeated of same electronic equipment Enter device and input same biological information, can be and input different type by the different input units of same electronic equipment Biological information.Such as finger print information is inputted by fingerprint identification module, pass through camera or structure light 3 D image-forming module Face information is inputted, by microphone input voice messaging, electronic equipment, which passes through, extracts input pair for the voice messaging of input The voiceprint etc. of elephant.
In some embodiments, the biological information of at least two objects is obtained, comprising: obtain within a preset period of time Biological information based on received at least two object of same electronic equipment.When the biological characteristic for obtaining at least two objects When the total duration of information is greater than preset duration, forbid showing the target image, and prompts to reacquire at least two objects Biological information.
In the present embodiment, after obtaining at least two biological informations, to the biological information of above-mentioned acquisition into Row verifying.When the authentication succeeds, displaying target image forbids displaying target image when failing the authentication.In the present embodiment, Whether the biological information and at least two faces for verifying at least two objects input meet corresponding relationship, that is, test Whether the identity for demonstrate,proving the biological information of input matches with the identity of face in target image, if the identity of biological information With the identities match of face in target image, it is determined that biological information is proved to be successful, conversely, if the body of biological information Part and the identity of face in target image mismatch, it is determined that biological information authentication failed.It should be noted that at least two Corresponding relationship between the biological information and at least two faces of the input of a object, can be biological information with The one-to-one correspondence matching relationship of face, can also be the matching relationship of multiple biological informations and a face, for example, with youngster The biological nature information of virgin face to match includes the biological information of children oneself and the biological characteristic letter of guardian. When each face in target image has at least one matched biological nature information, determination is proved to be successful.Wherein, Based on the diversity of biological nature information, the type of the biological information obtained according to electronic equipment determines biological information Verification mode.
In some embodiments, if the biological information is face information, judge the body of the face information of input Whether part matches with the identity of face in the target image.Illustratively, by the received face information of electronic equipment and target Human face region in image is matched, when successful match, determine received face information identity and the target image The identities match of middle face.Wherein, the received face information of electronic equipment can be by camera of electronic equipment acquisition, also It can be other electronic equipments and pass through communication connection transmission.Illustratively, it can also be to camera of electronic equipment will be passed through In the face information and target image of acquisition human face region carry out recognition of face, respectively determine acquisition face information identity and The identity of face in target image is determined when the identity of the face information of acquisition is identical with the identity of face in target image The identities match of face in the identity of the face information of input and the target image.
In some embodiments, if the biological information is finger print information, judge the body of the finger print information of input Whether part matches with the identity of face in the target image.Wherein, face in target image is previously stored in electronic equipment The received finger print information of electronic equipment is compared corresponding finger print information with pre-stored finger print information, when matching at When function, the identities match of face in the identity and the target image of the face information of input is determined.Wherein, electronic equipment receives Finger print information can be and acquired by the touch screen of electronic equipment, can also be that other electronic equipments are passed by communication connection Defeated.
In some embodiments, if the biological information is voiceprint, judge the body of the voiceprint of input Whether part matches with the identity of face in the target image.Wherein, face in target image is previously stored in electronic equipment The received voiceprint of electronic equipment is compared corresponding voiceprint with pre-stored voiceprint, when matching at When function, the identities match of face in the identity and the target image of the face information of input is determined.Wherein, electronic equipment receives Voiceprint can be and acquired by the microphone of electronic equipment, can also be that other electronic equipments are passed by communication connection Defeated.
Optionally, in determining target image include at least two faces when, detect electronic equipment in whether be stored with The corresponding finger print information of face and voiceprint in target image, when in electronic equipment be not present and face phase in target image When corresponding finger print information and voiceprint, at least two objects is prompted to input face information.
Optionally, the type of different time sections, the biological information for verifying is different.According to the display of target image The corresponding relationship of the type of the input time of instruction, period and biological information determines the biological characteristic verified each time Information.Illustratively, finger print information is verified in period 8:00-12:00, in period 12:00-20:00 to vocal print Information is verified, and face information is verified in 20:00- period, 8:00 next day, it should be noted that face When information is verified, before acquiring face information, need to detect input object blink, at least one of shake the head or nod it is dynamic Make, to guarantee when acquiring face information, input object keeps awake, avoids in the case where inputting user's unknown situation, inputs face The problem of privacy image caused by information is revealed.Illustratively, life of each period for verifying is determined according to the work and rest of user Object characteristic information, such as in user's recovery time section, can be verified based on finger print information, face information or voiceprint, The time of having a rest section of user, can be verified based on iris information, improve the safety of target image, avoid target image content The problem of being leaked.
In some embodiments, when in target image including two or more faces, two objects are obtained Biological information, when any two face in the identity of two biological informations of acquisition and target image or two specific When the identity of face matches, determination is proved to be successful, displaying target image.In one embodiment, it is inputted by user aobvious Show that instruction determines target image, recognition of face is carried out to target image, determines to include two faces and two in target image The identity of face receives the finger print information (or other biological characteristic information) of two objects input by electronic equipment, when passing through When being proved to be successful to the received finger print information of electronic equipment, the finger print information and described at least two of two objects input is determined It opens face and meets matching relationship (corresponding relationship), displaying target image.
In some embodiments, after showing the target image, further includes: showing the default of the target image In time, when detecting the idsplay order to the associated images of the target image, the associated images are shown, wherein the pass Connection image includes at least two faces in the target image.When displaying target image, show to obtain at least two The authorization of a object, can to including that facial image in target image browse, show the target image it is default when In, when being browsed if it exists to the associated images of target image, can directly it be shown in screen, without obtaining at least two again The biological information of a object is verified, and the display process of associated images is simplified.Wherein, the target image is shown Preset time can be 15 minutes or 10 minutes etc., can be configured according to user demand.It should be noted that when electronics is set After exiting target image place APP (Application, application program), APP is carried out again to target image and associated diagram As when being browsed, the biological information that need to reacquire at least two objects is verified.Wherein, above-mentioned APP can be The application programs such as photograph album or U.S. figure.
In some embodiments, after showing the target image preset time, stop displaying target image, connect again The biological information of at least two objects is received, and received at least two biological information is verified, when testing again When demonstrate,proving successfully, continue displaying target image, avoids asking for target image leakage of content caused by showing for a long time in target image Topic.
It should be noted that, without encrypting in advance to target image, image encryption mistake is omitted in the present embodiment Journey, based on the biological information that the face verification in target image obtains, the biology for improving different target image authentication is special Property information otherness, avoid encryption information reveal caused by all images leakage problem.
The image display method provided in the embodiment of the present application carries out recognition of face to target image, according to recognition of face As a result at least two faces for including in the target image are determined;When at least two faces for including in the target image When, obtain the biological information of at least two objects;Verify at least two object biological information and it is described extremely Whether few two faces meet corresponding relationship;When the biological information of at least two objects and at least two faces meet When corresponding relationship, the target image is shown.By using above scheme, multiple biological informations are verified, are improved The safety of target image, while according to including face in target image, it multiple biological informations is verified, is based on The otherness of target image, the biological information for verifying equally exist otherness, further improve target image Safety avoids the leakage problem of all images caused by encryption information is revealed in same cipher mode.
Fig. 2 is the flow diagram of another image display method provided by the embodiments of the present application, referring to fig. 2, this implementation The method of example includes the following steps:
Step 201 carries out recognition of face to target image, according to face recognition result determine in the target image whether Including at least two faces, if so, 202 are thened follow the steps, if it is not, thening follow the steps 205.
Step 202, when in the target image including at least two faces, judge the identity of at least two faces In whether include preset privacy object identity.If so, 203 are thened follow the steps, if it is not, thening follow the steps 205.
Step 203, the biological information for obtaining at least two objects verify the biological characteristic of at least two object Whether information and at least two faces meet corresponding relationship.If so, 204 are thened follow the steps, if it is not, thening follow the steps 205.
Step 204, the display target image.
Step 205 forbids showing the target image.
In step 202, privacy object information, such as the face information of privacy object are previously provided in electronic equipment. When in target image including two or more faces, by by face in target image and pre-stored privacy object Face information is compared, and when successful match, determines the face in target image including privacy object, when it fails to match, Determine do not include in target image privacy object face.
The biological information at least two objects that will acquire is verified with privacy object identity, when at least two pairs When the biological information and privacy object identity of elephant match, determination is proved to be successful, displaying target image.
When in target image not including the face of privacy object, show that there is no privacy informations in target image, it can be straight It connects and shows the target image, omit the verification process of normal picture, simplify the display process of normal picture.
The image display method provided in the embodiment of the present application, when including at least two faces in target image, and at least When including the face of privacy object in two faces, the biological information that will acquire is matched with privacy object identity, when When successful match, displaying target image determines whether to be verified according to face in target image, improves target image progress The specific aim of verifying, avoid normal picture show in non-essential verification process, taken into account safety and the image of target image The efficiency of display.
Fig. 3 is the flow diagram of another image display method provided by the embodiments of the present application, and the present embodiment is above-mentioned One optinal plan of embodiment, correspondingly, as shown in figure 3, the method for the present embodiment includes the following steps:
Step 301 carries out recognition of face to target image, according to face recognition result determine in the target image whether Including at least two faces.If so, 302 are thened follow the steps, if it is not, thening follow the steps 305.
Step 302, when in the target image including at least two faces, judge the identity of at least two faces Whether relationship meets default privacy concerns.If so, 303 are thened follow the steps, if it is not, thening follow the steps 305.
Step 303, the biological information for obtaining at least two objects verify the biological characteristic of at least two object Whether information and the preset privacy object identity meet corresponding relationship.If so, 304 are thened follow the steps, if it is not, then executing step Rapid 305.
Step 304, the display target image.
Step 305, forbid showing the target image.
In the present embodiment, it can be through the gender of the corresponding objects of at least two faces, movement, expression in the eyes in target image The personal status relationship for judging at least two faces can also be and determine at least two to the remarks of above-mentioned object based in electronic equipment The personal status relationship of face.Wherein, the relationship of the personal status relationship of at least two faces includes but is not limited to passerby's relationship, Qing Lvguan System, relatives' relationship, Peer Relationships and friends etc..Default privacy concerns can be to be preset by user, such as can be Lovers' relationship.
Optionally, judge whether the personal status relationship of at least two faces meets default privacy concerns, comprising: will be described Target image is input in personal status relationship identification model trained in advance;It is determined according to the output of the personal status relationship identification model Whether the personal status relationship of at least two objects meets default privacy concerns in the target image.Wherein, personage trained in advance Relation recognition model can be the machine learning models such as neural network model or disaggregated model, wherein neural network model and point Class model is formed according to great amount of samples training, has the function of identifying the personal status relationship of objects in images.Illustratively, sample Include the personal status relationship of a large amount of sample image and each sample objects in images in this, can be a large amount of based on network acquisition Sample image, and the mark of personal status relationship is carried out to sample image, to generate sample;Sample can also be identity-based relationship pair What shooting was formed.Neural network model and disaggregated model can be the training by way of supervised learning and obtain, specifically, by sample Originally it is input in untrained personal status relationship identification model, which can be obtained based on the untrained personal status relationship identification model The prediction personal status relationship of output is based on when actual identity relationship difference in the prediction personal status relationship and sample of model output The deviation of the actual identity relationship of the prediction personal status relationship and sample mark of model output reversely adjusts personal status relationship identification mould Weight parameter in type, iteration execute above-mentioned training process, until the error of personal status relationship identification model is less than default error.Instruction Practicing the personal status relationship identification model completed has the arbitration functions of degree of secrecy of information, and target image is input to trained completion Personal status relationship identification model after, the accurate prediction personal status relationship of the target image can be obtained.
When the personal status relationship between the face for including in target image is unsatisfactory for default privacy concerns, show target image In be not present privacy information, target image is normal picture, can directly display the target image, omits the authenticated of normal picture Journey simplifies the display process of normal picture.
The image display method provided in the embodiment of the present application, when including at least two faces in target image, and at least When the personal status relationship of two faces is preset private identity relationship, the biological information that will acquire is verified, and matching is worked as When success, displaying target image determines whether to be verified, improves mesh according to the personal status relationship of faces multiple in target image The specific aim that logo image is verified, avoid normal picture show in non-essential verification process, taken into account the peace of target image The efficiency that full property and image are shown.
Fig. 4 is the flow diagram of another image display method provided by the embodiments of the present application, and the present embodiment is above-mentioned One optinal plan of embodiment, correspondingly, as shown in figure 4, the method for the present embodiment includes the following steps:
Step 401 carries out recognition of face to target image, according to face recognition result determine in the target image whether Including two faces.
Step 402, when in the target image include two faces when, obtain be based on the first electronic equipment received first The biological information of object.
Step 403, when the biological information of first object and the identities match of described at least one of two faces When, obtain the biological information based on received second object of the second electronic equipment.
Step 404, when the identities match of one of the biological information of first object and two faces, obtain Take the biological information based on received second object of the second electronic equipment.
Step 405, when other identities match in the biological information of second object and two faces, Show the target image.
In the present embodiment, the biological information that user's input is obtained by different electronic equipments, is transmitted to target Electronic equipment where image, the electronic equipment where target image verify received biological information, work as verifying When success, displaying target image.Corresponding at least two object of face in target image is solved not in same position, it can not The problem of browsing objective image, improves the hommization and intelligence of target image.
Wherein, the contact method of face identity in target image, such as contact method example are previously stored in electronic equipment It such as can be telephone number, WeChat ID or QQ number.Communication biography can be carried out based on above-mentioned contact method and other electronic equipments It is defeated.Electronic equipment where target image obtains the biological information of the first object, when the biological characteristic of first object When information and at least identities match of one of two faces, electronic equipment sends checking request to the second electronic equipment, connects The biological information of the second object of the second electronic equipment feedback is received, the first electronic equipment believes the biological characteristic of the second object Breath is verified, and when other identities match in the biological information of second object and two faces, is determined It is proved to be successful, shows the target image.Wherein, the first object can be the owner of electronic equipment.
It should be noted that the first electronic equipment is according to target figure when in target image including two or more faces The contact method of other faces sends checking request to multiple electronic equipments respectively as in, receives the life of multiple electronic equipment feedbacks Object characteristic information, when other identities match in received multiple biological informations and target image at least two faces When, displaying target image.
The image display method provided in the embodiment of the present application obtains at least two objects by different electronic equipments Biological information, and verified, when the authentication succeeds, displaying target image.It is corresponding to solve face in target image At least two objects no longer same position when, can not browsing objective image the problem of, improve the hommization and intelligence of target image Energyization.
Fig. 5 is the flow diagram that another image provided by the embodiments of the present application is shown, the present embodiment is above-mentioned implementation One optinal plan of example, correspondingly, as shown in figure 5, the method for the present embodiment includes the following steps:
Step 501 carries out recognition of face to target image, according to face recognition result determine in the target image whether Including at least two faces.If so, thening follow the steps 502;If it is not, thening follow the steps 506.
Whether step 502 judges in the identity of at least two faces to include preset privacy object identity.If so, 503 are thened follow the steps, if it is not, thening follow the steps 506.
Step 503 judges whether the personal status relationship of at least two faces meets default privacy concerns.If so, holding Row step 504, if it is not, thening follow the steps 506.
Step 504, the biological information for obtaining at least two objects verify the biological characteristic of at least two object Whether information and the preset privacy object identity meet corresponding relationship.If so, 505 are thened follow the steps, if it is not, then executing step Rapid 506.
Step 505, the display target image.
Step 506 forbids showing the target image.
It should be noted that step 502 synchronous execution or can be executed with 503 with any order, when at least two faces Include preset privacy object identity in identity, and/or when the personal status relationships of at least two faces meets default privacy concerns, obtains It takes the biological information of at least two objects and is verified.When the authentication succeeds, image is shown.
Image display method provided by the embodiments of the present application, when including at least two faces in target image, and at least two The personal status relationship for opening face is preset private identity relationship, and/or the personal status relationship of at least two faces meets default privacy When relationship, biological information and the preset privacy object identity that will acquire are verified, when successful match, displaying target Image determines whether to be verified, improves target image and verified according to the personal status relationship of faces multiple in target image Specific aim, avoid normal picture show in non-essential verification process, the safety and image for having taken into account target image show Efficiency.
Fig. 6 is a kind of structural block diagram of image display device provided by the embodiments of the present application, the device can by software and/or Hardware realization is typically integrated in electronic equipment, can be shown by executing the image display method of electronic equipment to image Show.As shown in fig. 6, the device includes: face recognition module 601, biological information acquisition module 602, biological information Authentication module 603 and image display 604.
Face recognition module 601 determines the mesh according to face recognition result for carrying out recognition of face to target image It whether include at least two faces in logo image;
Biological information obtains module 602, for obtaining extremely when in the target image including at least two faces The biological information of few two objects;
Biological information authentication module 603, for verify the biological information of at least two object with it is described At least whether two faces meet corresponding relationship;
Image display 604, for expiring when the biological information of at least two objects and at least two faces When sufficient corresponding relationship, the target image is shown.
The image display device provided in the embodiment of the present application verifies multiple biological informations, improves mesh The safety of logo image, while according to including face in target image, multiple biological informations are verified, target is based on The otherness of image, the biological information for verifying equally exist otherness, further improve the safety of target image Property, avoid the leakage problem of all images caused by encryption information is revealed in same cipher mode.
On the basis of the above embodiments, further includes:
Privacy object judgment module, for before the biological information for obtaining at least two objects, judgement to be described extremely It whether include preset privacy object identity in the identity of few two faces.
On the basis of the above embodiments, further includes:
Privacy concerns judgment module, for before the biological information for obtaining at least two objects, judgement to be described extremely Whether the personal status relationship of few two faces meets default privacy concerns.
On the basis of the above embodiments, privacy concerns judgment module is used for:
The target image is input in character relation identification model trained in advance;
Determine that the identity of at least two objects in the target image is closed according to the output of the character relation identification model Whether system meets default privacy concerns.
On the basis of the above embodiments, biological information obtains module 602 and is used for:
The biological information based on received at least two object of same electronic equipment is obtained within a preset period of time.
On the basis of the above embodiments, biological information obtains module 602 and is used for:
Obtain the biological information based on received first object of the first electronic equipment;
When the biological information of first object and at least identities match of one of two faces, base is obtained In the biological information of received second object of the second electronic equipment.
On the basis of the above embodiments, biological information authentication module 603 is used for:
If the biological information be face information, judge input face information identity and the target image Whether the identity of middle face matches;Alternatively,
If the biological information be finger print information, judge input finger print information identity and the target image Whether the identity of middle face matches;Alternatively,
If the biological information be voiceprint, judge input voiceprint identity and the target image Whether the identity of middle face matches.
On the basis of the above embodiments, further includes:
Associated images display module, for showing the default of the target image after showing the target image In time, when detecting the idsplay order to the associated images of the target image, the associated images are shown, wherein the pass Connection image includes at least two faces in the target image.
The embodiment of the present application also provides a kind of storage medium including computer executable instructions, and the computer is executable Instruction is used to execute image display method when being executed by computer processor, this method comprises:
Recognition of face is carried out to target image, include in the target image at least two are determined according to face recognition result Open face;
When at least two faces for including in the target image, the biological information of at least two objects is obtained;
Whether the biological information and at least two faces for verifying at least two object meet corresponding relationship;
When the biological information of at least two objects and it is described at least two faces meet corresponding relationship when, described in display Target image.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDRRAM, SRAM, EDORAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (example Such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other types Memory or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed, or It can be located in different second computer systems, second computer system is connected to the first meter by network (such as internet) Calculation machine system.Second computer system can provide program instruction to the first computer for executing.Term " storage medium " can To include two or more that may reside in different location (such as in the different computer systems by network connection) Storage medium.Storage medium can store the program instruction that can be performed by one or more processors and (such as be implemented as counting Calculation machine program).
Certainly, a kind of storage medium including computer executable instructions, computer provided by the embodiment of the present application Image provided by the application any embodiment can also be performed in the image display operations that executable instruction is not limited to the described above Relevant operation in display methods.
The embodiment of the present application provides a kind of electronic equipment, and figure provided by the embodiments of the present application can be integrated in the electronic equipment As display device.Fig. 7 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.Electronic equipment 700 can wrap It includes: memory 701, processor 702 and the computer program that is stored on memory 701 and can be run in processor 702, it is described Processor 702 realizes the image display method as described in the embodiment of the present application when executing the computer program.
Electronic equipment provided by the embodiments of the present application verifies multiple biological informations, improves target image Safety, while according in target image include face, multiple biological informations are verified, based on target image Otherness, the biological information for verifying equally exist otherness, further improve the safety of target image, avoid The leakage problem of all images caused by encryption information is revealed in same cipher mode.
Fig. 8 is the structural schematic diagram of another electronic equipment provided by the embodiments of the present application.The electronic equipment may include: Shell (not shown), memory 801, central processing unit (central processing unit, CPU) 802 (are also known as located Manage device, hereinafter referred to as CPU), circuit board (not shown) and power circuit (not shown).The circuit board is placed in institute State the space interior that shell surrounds;The CPU802 and the memory 801 are arranged on the circuit board;The power supply electricity Road, for each circuit or the device power supply for the electronic equipment;The memory 801, for storing executable program generation Code;The CPU802 is run and the executable journey by reading the executable program code stored in the memory 801 The corresponding computer program of sequence code, to perform the steps of
Recognition of face is carried out to target image, determines in the target image whether include at least according to face recognition result Two faces;
When in the target image including at least two faces, the biological information of at least two objects is obtained;
Whether the biological information and at least two faces for verifying at least two object meet corresponding relationship;
When the biological information of at least two objects and it is described at least two faces meet corresponding relationship when, described in display Target image.
The electronic equipment further include: Peripheral Interface 803, RF (Radio Frequency, radio frequency) circuit 805, audio-frequency electric Road 806, loudspeaker 811, power management chip 808, input/output (I/O) subsystem 808, other input/control devicess 810, Touch screen 812, other input/control devicess 810 and outside port 804, these components pass through one or more communication bus Or signal wire 807 communicates.
It should be understood that illustrating the example that electronic equipment 800 is only electronic equipment, and electronic equipment 800 It can have than shown in the drawings more or less component, can combine two or more components, or can be with It is configured with different components.Various parts shown in the drawings can include one or more signal processings and/or dedicated It is realized in the combination of hardware, software or hardware and software including integrated circuit.
It is just provided in this embodiment for the electronic equipment of image display operations to be described in detail below, the electronics Equipment takes the mobile phone as an example.
Memory 801, the memory 801 can be accessed by CPU802, Peripheral Interface 803 etc., and the memory 801 can It can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory, Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU802 and deposited by Peripheral Interface 803, the Peripheral Interface 803 Reservoir 801.
I/O subsystem 809, the I/O subsystem 809 can be by the input/output peripherals in equipment, such as touch screen 812 With other input/control devicess 810, it is connected to Peripheral Interface 803.I/O subsystem 809 may include 8091 He of display controller For controlling one or more input controllers 8092 of other input/control devicess 810.Wherein, one or more input controls Device 8092 processed receives electric signal from other input/control devicess 810 or sends electric signal to other input/control devicess 810, Other input/control devicess 810 may include physical button (push button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks idler wheel.It is worth noting that input controller 8092 can with it is following any one connect: keyboard, infrared port, The indicating equipment of USB interface and such as mouse.
Touch screen 812, the touch screen 812 are the input interface and output interface between subject electronic equipment and object, Visual output is shown to object, visual output may include figure, text, icon, video etc..
Display controller 8091 in I/O subsystem 809 receives electric signal from touch screen 812 or sends out to touch screen 812 Electric signals.Touch screen 812 detects the contact on touch screen, and the contact that display controller 8091 will test is converted to and is shown The interaction of object interface object on touch screen 812, i.e. realization human-computer interaction, the object interface being shown on touch screen 812 Object can be the icon of running game, the icon for being networked to corresponding network etc..It is worth noting that equipment can also include light Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuit 805 is mainly used for establishing the communication of mobile phone Yu wireless network (i.e. network side), realizes mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuit 805 receives and sends RF letter Number, RF signal is also referred to as electromagnetic signal, and RF circuit 805 converts electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuit 805 may include for executing The known circuit of these functions comprising but it is not limited to antenna system, RF transceiver, one or more amplifiers, tuner, one A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, object identity mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 806 is mainly used for receiving audio data from Peripheral Interface 803, which is converted to telecommunications Number, and the electric signal is sent to loudspeaker 811.
Loudspeaker 811 is reduced to sound for mobile phone to be passed through RF circuit 805 from the received voice signal of wireless network And the sound is played to object.
Power management chip 808, the hardware for being connected by CPU802, I/O subsystem and Peripheral Interface are powered And power management.
The application, which can be performed, in image display device, storage medium and the electronic equipment provided in above-described embodiment arbitrarily implements Image display method provided by example has and executes the corresponding functional module of this method and beneficial effect.Not in above-described embodiment In detailed description technical detail, reference can be made to image display method provided by the application any embodiment.
Note that above are only the preferred embodiment and institute's application technology principle of the application.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, be able to carry out for a person skilled in the art it is various it is apparent variation, The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.

Claims (11)

1. a kind of image display method is applied to electronic equipment characterized by comprising
Recognition of face is carried out to target image, determines in the target image whether include at least two according to face recognition result Face;
When in the target image including at least two faces, the biological information of at least two objects is obtained;
Whether the biological information and at least two faces for verifying at least two object meet corresponding relationship;
When the biological information of at least two objects and it is described at least two faces meet corresponding relationship when, show the target Image.
2. the method according to claim 1, wherein obtain at least two objects biological information it Before, further includes:
Judge in the identity of at least two faces whether to include preset privacy object identity.
3. the method according to claim 1, wherein obtain at least two objects biological information it Before, further includes:
Judge whether the personal status relationship of at least two faces meets default privacy concerns.
4. according to the method described in claim 3, it is characterized in that, judging whether the personal status relationship of at least two faces is full The default privacy concerns of foot, comprising:
The target image is input in character relation identification model trained in advance;
It is according to the personal status relationship for exporting at least two objects in the determining target image of the character relation identification model It is no to meet default privacy concerns.
5. the method according to claim 1, wherein obtaining the biological information of at least two objects, comprising:
The biological information based on received at least two object of same electronic equipment is obtained within a preset period of time.
6. the method according to claim 1, wherein obtaining the biological information of at least two objects, comprising:
Obtain the biological information based on received first object of the first electronic equipment;
When the biological information of first object and at least identities match of one of two faces, obtain based on the The biological information of received second object of two electronic equipments.
7. the method according to claim 1, wherein the biological information of verifying at least two object with Whether at least two faces meet corresponding relationship, comprising:
If the biological information is face information, the identity and the target of the face information of at least two objects are judged Whether the identity of face matches in image;Alternatively,
If the biological information is finger print information, the identity and the target of the finger print information of at least two objects are judged Whether the identity of face matches in image;Alternatively,
If the biological information is voiceprint, the identity and the target of the voiceprint of at least two objects are judged Whether the identity of face matches in image.
8. the method according to claim 1, wherein after showing the target image, further includes:
In the preset time for showing the target image, when receiving the idsplay order to the associated images of the target image, Show the associated images, wherein the associated images include at least two faces in the target image.
9. a kind of image display device characterized by comprising
Face recognition module determines the target image according to face recognition result for carrying out recognition of face to target image In whether include at least two faces;
Biological information obtains module, for obtaining at least two when in the target image including at least two faces The biological information of object;
Biological information authentication module, for verifying the biological information of at least two object and described at least two Whether face meets corresponding relationship;
Image display, for the pass corresponding at least two face satisfactions of the biological information when at least two objects When being, the target image is shown.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Such as image display method described in any one of claims 1-8 is realized when execution.
11. a kind of electronic equipment, which is characterized in that including memory, processor and storage are on a memory and can be in processor The computer program of operation, the processor realize figure a method as claimed in any one of claims 1-8 when executing the computer program As display methods.
CN201811023248.4A 2018-09-03 2018-09-03 Image display method, image display device, storage medium and electronic equipment Active CN109254661B (en)

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 true CN109254661A (en) 2019-01-22
CN109254661B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
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
CN111626258A (en) * 2020-06-03 2020-09-04 上海商汤智能科技有限公司 Sign-in information display method and device, computer equipment and storage medium
CN114070950A (en) * 2020-07-30 2022-02-18 北京市商汤科技开发有限公司 Image processing method and related device and equipment

Citations (4)

* Cited by examiner, † Cited by third party
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
CN106127076A (en) * 2016-06-30 2016-11-16 维沃移动通信有限公司 The inspection method of a kind of photograph album photo and mobile terminal
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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
CN106127076A (en) * 2016-06-30 2016-11-16 维沃移动通信有限公司 The inspection method of a kind of photograph album photo and mobile terminal
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

Cited By (5)

* Cited by examiner, † Cited by third party
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
CN111626258A (en) * 2020-06-03 2020-09-04 上海商汤智能科技有限公司 Sign-in information display method and device, computer equipment and storage medium
CN111626258B (en) * 2020-06-03 2024-04-16 上海商汤智能科技有限公司 Sign-in information display method and device, computer equipment and storage medium
CN114070950A (en) * 2020-07-30 2022-02-18 北京市商汤科技开发有限公司 Image processing method and related device and equipment

Also Published As

Publication number Publication date
CN109254661B (en) 2022-05-03

Similar Documents

Publication Publication Date Title
US20220075856A1 (en) Identifying and authenticating users based on passive factors determined from sensor data
US11783018B2 (en) Biometric authentication
US10440019B2 (en) Method, computer program, and system for identifying multiple users based on their behavior
US10867025B2 (en) Opportunistically collecting sensor data from a mobile device to facilitate user identification
Riva et al. Progressive authentication: deciding when to authenticate on mobile phones
US20160226865A1 (en) Motion based authentication systems and methods
CN101809581B (en) Embedded authentication systems in an electronic device
CN108780475A (en) Personalized inference certification for virtually assisting
CN109254661A (en) Image display method, device, storage medium and electronic equipment
US10868672B1 (en) Establishing and verifying identity using biometrics while protecting user privacy
CN108563933A (en) Control method, device, storage medium and the mobile terminal of application program
CN109032675A (en) The unlocking screen method, apparatus and terminal device of terminal device
US10691785B1 (en) Authentication of a user device comprising spatial trigger challenges
EP2927834A1 (en) Information processing apparatus, information processing method, and recording medium
US10007771B2 (en) User interface for a mobile device
WO2014182787A2 (en) Systems and methods for high fidelity multi-modal out-of-band biometric authentication
CN108475304A (en) A kind of method, apparatus and mobile terminal of affiliate application and biological characteristic
US20170205983A1 (en) User interface for a mobile device
Yıldırım et al. Android based mobile application development for web login authentication using fingerprint recognition feature
CN108363939A (en) The acquisition methods and acquisition device of characteristic image, user authen method
CN113826135B (en) System, method and computer system for contactless authentication using voice recognition
CN109670836A (en) Account verification method, unit and computer readable storage medium
JP2015176555A (en) Communication terminal and method for authenticating communication terminal
US20200201977A1 (en) Method for authenticating a first user and corresponding first device and system
CN109219003A (en) Information ciphering method, device, storage medium and electronic equipment

Legal Events

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