WO2017143778A1 - 照片的自动获取方法及装置、电子设备 - Google Patents

照片的自动获取方法及装置、电子设备 Download PDF

Info

Publication number
WO2017143778A1
WO2017143778A1 PCT/CN2016/100644 CN2016100644W WO2017143778A1 WO 2017143778 A1 WO2017143778 A1 WO 2017143778A1 CN 2016100644 W CN2016100644 W CN 2016100644W WO 2017143778 A1 WO2017143778 A1 WO 2017143778A1
Authority
WO
WIPO (PCT)
Prior art keywords
face
determining
photo
preset threshold
facial
Prior art date
Application number
PCT/CN2016/100644
Other languages
English (en)
French (fr)
Inventor
刘霖
张海坡
冯静敏
Original Assignee
北京小米移动软件有限公司
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 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Publication of WO2017143778A1 publication Critical patent/WO2017143778A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/166Detection; Localisation; Normalisation using acquisition arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/907Television signal recording using static stores, e.g. storage tubes or semiconductor memories

Definitions

  • the present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for automatically acquiring a photo, and an electronic device.
  • the evaluation of the face value at the time of photographing has become a point of interest for users. After the user's face is recognized, the face value is calculated by the face value evaluation algorithm, thereby ensuring that the user can shoot through a higher angle.
  • the user takes a photo he tries to change different angles to find a higher angle of the facial value, and then manually triggers the photographing operation, and the manual operation easily causes the angle of the face in the framing range to change, thereby missing the scene with high scores. .
  • the embodiments of the present disclosure provide a method and a device for automatically acquiring a photo, and an electronic device, to ensure that a photograph of a face taken has a higher score of a face value.
  • a method for automatically acquiring a photo including:
  • the photo on the display interface is acquired and saved.
  • the determining trigger color value calculation may include:
  • the trigger color value calculation is determined; or,
  • the plurality of face features correspond to the same preset threshold, and determining whether the face face value is greater than the person Face feature corresponding to the pre Set the threshold, which can include:
  • the photo of the current display interface is captured as a picture for saving.
  • each of the plurality of face features respectively corresponds to a preset threshold, and the determining whether the face face value is greater than the person
  • the preset threshold corresponding to the face feature may include:
  • the photo of the current display interface is captured as a picture for saving.
  • the method may further include:
  • the method may further include:
  • the threshold value determination mode determines a preset threshold corresponding to triggering the facial feature
  • acquiring the photo on the display interface and saving the file may include:
  • the type of the photo is an image captured by the camera module, acquiring a photo on the display interface by triggering the camera module;
  • the photo on the display interface is obtained by triggering a screen capture operation of the video decoding module.
  • an automatic acquisition device for a photo comprising:
  • a first determining module configured to determine a person in the photo on the current display interface when determining the triggering face value calculation a face feature, and calculating a face value corresponding to the face feature
  • a second determining module configured to determine whether the facial face value determined by the first determining module is greater than a preset threshold corresponding to the facial feature
  • an acquiring module configured to acquire a photo on the display interface and save the image when the second determining module determines that the face color value is greater than the preset threshold.
  • the first determining module may include:
  • the first determining submodule is configured to determine whether the color value calculation period is reached according to the preset calculation frequency
  • a second determining submodule configured to determine a triggering face value calculation when the first determining submodule determines that the color value calculation period is reached;
  • a third determining submodule configured to determine whether a photo on the current display interface changes
  • a fourth determining submodule configured to determine a triggering face value calculation when the third determining submodule determines to determine that the photo on the current display interface changes.
  • the second determining module may include:
  • a fifth determining submodule configured to determine whether the facial face values of the plurality of facial features are greater than the same preset threshold
  • the obtaining module includes:
  • the first shooting sub-module is configured to: when the fifth determining sub-module determines that the facial face values of the plurality of facial features are greater than the same preset threshold, the photo of the current display interface is captured as a picture Save it.
  • the second determining module may include:
  • a sixth determining sub-module configured to determine, for each facial feature, whether a facial face value of the facial feature is greater than a preset threshold corresponding to the facial feature
  • the obtaining module includes:
  • a second photographing sub-module configured to: when the sixth determining sub-module determines that the facial face value of each facial feature is greater than a preset threshold corresponding to the facial feature, photographing the current display interface Save the picture as a picture.
  • the apparatus may further include:
  • a third determining module configured to determine a first preset number of facial face values of the user corresponding to the facial features determined by the first determining module at different angles;
  • a fourth determining module configured to determine, according to the first preset number of facial face values determined by the third determining module, that the facial value is sorted by a second set number of facial face values
  • the fifth determining module is configured to determine the preset threshold according to the second set number of facial face values determined by the fourth determining module.
  • the apparatus may further include:
  • a sixth determining module configured to determine a preset threshold corresponding to triggering the facial feature when determining the opening threshold threshold determining mode;
  • a seventh determining module configured to determine, when the camera is started to start collecting a photo, determine a preset threshold corresponding to triggering the facial feature;
  • the eighth determining module is configured to: after calculating the face value of the face feature, search for whether to store a preset threshold corresponding to the face feature;
  • the ninth determining module is configured to determine, when the eighth determining module determines that the preset threshold corresponding to the face value of the face is not stored, triggering a preset threshold corresponding to the facial feature.
  • the obtaining module may include:
  • a seventh determining submodule configured to determine a type of the photo on the display interface
  • the first triggering sub-module is configured to: when the seventh determining sub-module determines that the type of the photo is an image captured by the camera module, acquiring the photo on the display interface by triggering the camera module;
  • a second triggering sub-module configured to: when the seventh determining sub-module determines that the type of the photo is a video played by the video decoding module, acquire the display interface by triggering a screen capture operation of the video decoding module photo.
  • an electronic device including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the photo on the display interface is acquired and saved.
  • the technical solution provided by the embodiment of the present disclosure may include the following beneficial effects: quantifying the quality of the photograph by the face value of the face, and avoiding the user to subjectively evaluate the photographs with higher facial values of different shooting angles; when the face value is greater than When the threshold is preset, the photo on the display interface is obtained and saved, so that the user can trigger the shutter button to change the shooting angle manually, thereby missing the scene with higher value, leaving a more wonderful moment for the user.
  • FIG. 1A is a flowchart of a method for automatically acquiring a photo according to an exemplary embodiment.
  • FIG. 1B is one of a scene graph of an automatic acquisition method of a photo according to an exemplary embodiment.
  • FIG. 1C is a second scene view of a method for automatically acquiring a photo according to an exemplary embodiment.
  • FIG. 2A is one diagram of how to determine a trigger face value calculation according to an exemplary embodiment.
  • FIG. 2B is a second flowchart of how to determine a trigger face value calculation according to an exemplary embodiment.
  • FIG. 3 is a flowchart of a method for automatically acquiring a photo according to an exemplary embodiment.
  • FIG. 4 is a flowchart of a method for automatically acquiring a photo according to an exemplary embodiment.
  • FIG. 5 is a flow chart showing how to determine a preset threshold according to an exemplary embodiment 4.
  • FIG. 6 is a flowchart of a method for automatically acquiring a photo according to an exemplary embodiment 5.
  • FIG. 7 is a block diagram of an automatic acquisition device for a photo, according to an exemplary embodiment.
  • FIG. 8 is a block diagram of another automatic acquisition device for photographs, according to an exemplary embodiment.
  • FIG. 9 is a block diagram of still another apparatus for automatically acquiring a photo, according to an exemplary embodiment.
  • FIG. 10 is a block diagram of still another automatic acquisition device of a photo according to an exemplary embodiment.
  • FIG. 11 is a block diagram of an automatic acquisition device suitable for a photo, according to an exemplary embodiment.
  • FIG. 1A is a flowchart of an automatic acquisition method of a photo according to an exemplary embodiment
  • FIG. 1B is a scene diagram of an automatic acquisition method of a photo according to an exemplary embodiment
  • FIG. 1C is an exemplary implementation according to an exemplary implementation.
  • the scene graph of the automatic acquisition method of the illustrated photo is two; the automatic acquisition method of the photo can be applied to an electronic device (for example, a smart phone or a tablet computer), and can be implemented by installing an application on the electronic device, as shown in the figure.
  • the automatic acquisition method of the photo includes the following steps S101-S103:
  • step S101 when determining the trigger face value calculation, the face feature in the photo on the current display interface is determined, and the face face value corresponding to the face feature is calculated.
  • the face feature in the photo on the current display interface can be obtained by the face detection algorithm in the related art, and the face value corresponding to the face feature is calculated according to the face value algorithm in the related art. No longer detailed.
  • step S102 it is determined whether the face face value is greater than a preset threshold corresponding to the face feature, and when the face face value is greater than the preset threshold, step S103 is performed, and when the face face value is less than or equal to the preset threshold, proceeding Step S101 is performed.
  • the method for determining the preset threshold may be referred to the description of the embodiment shown in FIG. 5 below, and will not be described in detail herein.
  • step S103 when the face face value is greater than the preset threshold, the photo on the display interface is acquired and saved.
  • the front camera 11 on the electronic device 10 collects image information of the user at different shooting angles, and when the electronic device 10 is currently displayed.
  • the face feature of the user A in the photo on the interface is used, the face value corresponding to the face feature of the user A is calculated.
  • the electronic device 10 is acquired.
  • the photos on the interface 12 are displayed and saved, so that the face value of the photograph taken can be achieved to a higher value.
  • the faces of the user C and the user D in the photo on the current display interface of the electronic device 10 can be detected.
  • the face value corresponding to the face feature of the user C and the face face value corresponding to the face feature of the user D are calculated.
  • the face value of the face of the user C and the face value of the user D are both greater than the same.
  • the threshold value is set, or the face value of the user C is greater than the preset threshold corresponding to the user C and the face value of the user D is greater than the preset threshold corresponding to the user D
  • the photo on the display interface 12 of the electronic device 10 is acquired. Save it so that you can get the photo with the highest value for User C and User D in the video file.
  • the quality of the photograph is quantified by the face value, thereby avoiding the user to subjectively evaluate the photographs with higher facial values at different shooting angles; when the facial value is greater than the preset threshold, obtaining the display interface
  • the photos are saved to prevent the user from manually triggering the shutter button to cause a change in the shooting angle, thereby missing a scene with a higher value, leaving a more beautiful moment for the user.
  • the method may further include:
  • the plurality of facial features correspond to the same preset threshold, and it is determined whether the facial face value is greater than a preset threshold corresponding to the facial feature.
  • the pre-taken picture is saved, including:
  • the photo of the current display interface is captured as a picture for saving.
  • each of the plurality of facial features corresponds to a preset threshold, and whether the facial face value is greater than a preset threshold corresponding to the facial feature is determined.
  • the pre-taken picture is saved, including:
  • the photo of the current display interface is captured as a picture for saving.
  • the method may further include:
  • the preset threshold is determined according to the second set number of face values.
  • the method may further include:
  • the preset threshold corresponding to the triggering face feature is determined.
  • the preset threshold corresponding to the face value of the face is not stored, the preset threshold corresponding to the triggered face feature is determined.
  • obtaining a photo on the display interface and saving the file may include:
  • the photo on the display interface is obtained by triggering the camera module
  • the photo on the display interface is obtained by triggering a screen capture operation of the video decoding module.
  • the above method provided by the embodiment of the present disclosure can prevent the user from evaluating the photos with higher color values of different shooting angles in a subjective manner, and avoid the user changing the shooting angle by manually triggering the shutter button, thereby missing the high value of the shooting value. Scenes, leaving users with more wonderful moments.
  • FIG. 2A is a flowchart of how to determine a trigger face value calculation according to an exemplary embodiment
  • FIG. 2B is a second flowchart of how to determine a trigger face value calculation according to an exemplary embodiment; As shown in FIG. 2A, the following steps are included:
  • step S201 it is determined whether the color value calculation period is reached according to the preset calculation frequency.
  • the preset calculation frequency may be smaller than the picture acquisition frequency of the camera of the electronic device. For example, if the camera collects 20 frames of images per second, the preset calculation frequency may be set to calculate a face value of 10 faces per second. It is to be understood by those skilled in the art that the numbers of 20, 10, etc. in the present disclosure are merely illustrative and do not limit the technical solutions of the present disclosure.
  • step S202 when the face value calculation period is reached, the trigger face value calculation is determined.
  • the photo on the current display interface of the electronic device also changes with the movement or angle of the electronic device.
  • the trigger color value calculation is determined, thereby Make sure to update the face value of the photo on the currently displayed interface in a timely manner.
  • step S211 it is determined whether the photo on the current display interface has changed.
  • whether the photo changes may be determined by detecting whether a reference feature of the photo on the current display interface changes
  • the reference feature may be, for example, a light intensity value
  • the reference feature may also be a face feature
  • the reference feature may also be The angle of the shooting angle of the face of the same user.
  • step S212 when it is determined that the photo on the current display interface has changed, it is determined that the trigger value calculation is triggered.
  • the electronic device determines whether it is necessary to re-start the color value calculation by detecting the matching degree between the image currently detected by the camera and the image content of the image of the previous frame, thereby avoiding unnecessary triggering of the face value calculation and reducing the electronic device. Computational complexity.
  • FIG. 3 is a flowchart of a method for automatically acquiring a photo according to an exemplary embodiment of the present invention.
  • the present embodiment uses the above method provided by the embodiment of the present disclosure to display the number of facial features in a photo on the current display interface.
  • the time and multiple face features correspond to the same preset threshold value and are exemplarily illustrated in conjunction with FIG. 1C.
  • FIG. 3A the following steps are included:
  • step S301 when the trigger face value calculation is determined, the face feature in the photo on the current display interface is determined, and the face face value corresponding to the face feature is calculated.
  • step S302 it is determined whether the face values of the plurality of face features are all greater than the same preset threshold.
  • step S303 when the face values of the plurality of face features are greater than the same preset threshold, the current display is performed.
  • the photo of the interface is taken as a picture for saving.
  • the facial features in the photo on the current display interface of the electronic device 10 include the facial features of the user C and the user D.
  • the facial features of the user C and the user D can be determined.
  • Corresponding face value when the face values of the user C and the user D are both greater than the same preset threshold, it indicates that each person in the photo of the current display interface has reached a better value, for example, The face value of C and user D are both above 7.5.
  • the photo of the current display interface can be captured as a picture for saving.
  • the photo of the current display interface is captured as a picture for saving, thereby ensuring that the face of the photo on the display interface has a higher face. Value, to avoid user users to manually save screenshots or manually trigger the shutter button to save high-value photos, leaving a wonderful moment for users to improve user experience.
  • FIG. 4 is a flowchart of a method for automatically acquiring a photo according to an exemplary embodiment of the present invention.
  • the method of the present disclosure provides the number of facial features in a photo on the current display interface.
  • Each of the plurality of face features corresponds to a preset threshold value and is exemplarily illustrated in conjunction with FIG. 1C. As shown in FIG. 4, the following steps are included:
  • step S401 when the trigger face value calculation is determined, the face feature in the photo on the current display interface is determined, and the face face value corresponding to the face feature is calculated.
  • step S402 for each facial feature, it is determined whether the facial face value of each facial feature is greater than a preset threshold corresponding to the facial feature.
  • step S402 when the face value of each face feature is greater than a preset threshold corresponding to the face feature, the photo of the current display interface is captured as a picture for saving.
  • the facial features in the photo on the current display interface of the electronic device 10 include the facial features of the two persons C and D.
  • the facial features of the user C and the user D can be determined.
  • the first preset threshold corresponding to the user C needs to be determined.
  • the second preset threshold corresponding to the user D needs to be determined.
  • the user C's face value is greater than the first value.
  • the threshold value is preset, and the face value of the user D is greater than the second preset threshold, the value of each person in the photo of the current display interface has reached a preferred value, for example, the user C, the user D
  • the face values are in their respective preferred states.
  • FIG. 5 is a flowchart of how to determine a preset threshold according to an exemplary embodiment; in an embodiment, when determining a threshold value threshold determination mode, determining a preset threshold corresponding to triggering a face feature; In an embodiment, When it is determined that the camera is started to start collecting photos, determining a preset threshold corresponding to the triggering of the facial feature; in another embodiment, after calculating the facial value of the facial feature, searching whether to store the preset threshold corresponding to the facial feature When it is determined that the preset threshold corresponding to the face value of the face is not stored, the preset threshold corresponding to the triggering of the face feature is determined, so that the process of this embodiment can be performed. As shown in FIG. 5, the method includes the following steps:
  • step S501 a first preset number of facial face values of the user corresponding to the face feature at different angles are determined.
  • step S502 it is determined from the first preset number of face face values that the face value is sorted by the first second set number of face face values.
  • step S503 a preset threshold is determined according to the second set number of face color values.
  • the angle includes the left side face 30 degrees, the right side face 30 degrees, and the upward face 20 Degree, down 12 degrees, from each of the above four angles to take 20 photos of User A, a total of 80, corresponding to 80 (the first preset number in this disclosure) the score of the personal face value, from the 80 faces
  • the scores of the face values of the top 10 are selected according to the score of the face value, and the average value of the face values of the top 10 faces is taken, and the mean value is taken as the average value.
  • the user's face value corresponding to the face feature is counted at different angles, and then the preset threshold corresponding to the user is obtained, so that different users can be ensured to correspond to different preset thresholds, thereby ensuring that the photo is triggered.
  • the screen's face value conditions are different, so that each user can achieve the best possible face value to trigger a photo or screen capture.
  • FIG. 6 is a flowchart of a method for automatically acquiring a photo according to an exemplary embodiment of the present invention.
  • This embodiment uses an example of the method provided in the embodiment of the present disclosure to obtain an example of how to obtain a photo on a display interface. As shown in FIG. 6, the following steps are included:
  • step S601 when the trigger face value calculation is determined, the face feature in the photo on the current display interface is determined, and the face face value corresponding to the face feature is calculated.
  • step S602 it is determined whether the face face value is greater than a preset threshold corresponding to the face feature.
  • step S603 is performed, and when the face face value is less than or equal to the preset threshold, the process continues.
  • Step S601 is performed.
  • step S601 and step S602 reference may be made to the related description of FIG. 1A above, which will not be described in detail herein.
  • step S603 when the face value is greater than the preset threshold, the type of the photo on the display interface is determined.
  • step S604 is performed, when the type of the photo is played by the video decoding module.
  • step S605 is performed.
  • step S604 when the type of the photo is an image captured by the camera module, the photo on the display interface is acquired by triggering the camera module.
  • step S605 when the type of the photo is a video played by the video decoding module, the photo on the display interface is obtained by triggering a screen capture operation of the video decoding module.
  • the photo on the display interface is acquired by triggering the camera 12, The user is prevented from obtaining a photo on the display interface by triggering the shutter button 13.
  • a video played by a video decoding module (which may also be referred to as a video player application)
  • the face value is determined by the above related embodiment to be greater than a preset threshold
  • the picture on the display interface is obtained by the screen capture operation of the video decoding module, so that the best moment of the user in the video file can be captured, so that the user avoids the face of the video by using the manual screen capture after subjective judgment by the human eye. The best state.
  • the photo of the display interface is obtained by triggering the camera module, when the type of the photo is a video played by the video decoding module.
  • FIG. 7 is a block diagram of an automatic acquiring apparatus for a photo according to an exemplary embodiment. As shown in FIG. 7, the automatic acquiring apparatus of a photo includes:
  • the first determining module 71 is configured to determine a face feature in the photo on the current display interface when determining the trigger face value calculation, and calculate a face face value corresponding to the face feature;
  • the second determining module 72 is configured to determine whether the facial face value determined by the first determining module 71 is greater than a preset threshold corresponding to the facial feature;
  • the obtaining module 73 is configured to acquire a photo on the display interface and save when the second determining module 72 determines that the face color value is greater than a preset threshold.
  • FIG. 8 is a block diagram of another automatic photographing apparatus according to an exemplary embodiment. As shown in FIG. 8, on the basis of the embodiment shown in FIG. 7, in an embodiment, the first determining module is shown in FIG. 71 can include:
  • the first determining sub-module 711 is configured to determine, according to the preset calculation frequency, whether the color value calculation period is reached;
  • the second determining sub-module 712 is configured to determine the triggering face value calculation when the first determining sub-module 711 determines that the color value calculation period is reached; or
  • the third determining submodule 713 is configured to determine whether a photo on the current display interface changes
  • the fourth determining sub-module 714 is configured to determine, when the third determining sub-module 713 determines on the current display interface When the photo changes, determine the trigger color value calculation.
  • the second determining module 72 may include:
  • the fifth determining sub-module 721 is configured to determine whether the facial face values of the plurality of facial features are greater than a same preset threshold
  • the obtaining module 73 can include:
  • the first shooting sub-module 731 is configured to: when the fifth determining sub-module 721 determines that the facial face values of the plurality of facial features are greater than the same preset threshold, the photo of the current display interface is captured as a picture for saving.
  • FIG. 9 is a block diagram of still another automatic photographing apparatus according to an exemplary embodiment.
  • the current When the number of the face features in the photo on the display interface is multiple, the plurality of face features respectively correspond to a preset threshold, and the second determining module 72 may include:
  • the sixth determining sub-module 722 is configured to determine, for each facial feature, whether the facial face value of the facial feature is greater than a preset threshold corresponding to the facial feature;
  • the obtaining module 73 can include:
  • the second shooting sub-module 732 is configured to: when the sixth determining sub-module 722 determines that the facial face value of each facial feature is greater than a preset threshold corresponding to the facial feature, the photo of the current display interface is captured as a picture for saving. .
  • the apparatus may further include:
  • the third determining module 74 is configured to determine a first preset number of facial face values of the user corresponding to the facial features determined by the first determining module 71 at different angles;
  • the fourth determining module 75 is configured to determine, according to the first preset number of facial face values determined by the third determining module 75, that the facial values are sorted by the first second set number of facial face values;
  • the fifth determining module 76 is configured to determine a preset threshold according to the second set number of facial face values determined by the fourth determining module 75.
  • FIG. 10 is a block diagram of still another automatic photographing apparatus according to an exemplary embodiment, as shown in FIG. 10, based on the above-described embodiments of any of FIGS. 7-9, in an embodiment,
  • the device may also include:
  • the sixth determining module 77 is configured to determine a preset threshold corresponding to the triggering facial feature when the threshold value threshold determining mode is determined, so that the second determining module 72 determines whether the facial face value is greater than a preset corresponding to the facial feature. Threshold; or,
  • the seventh determining module 78 is configured to determine, when the camera is started to start capturing the photo, determine a preset threshold corresponding to the triggering of the facial feature, so that the second determining module 72 determines whether the facial face value is greater than a preset threshold corresponding to the facial feature.
  • the eighth determining module 79 is configured to: after calculating the face value of the face feature, search for whether to store a preset threshold corresponding to the face feature;
  • the ninth determining module 70 is configured to determine, when the eighth determining module 79 determines that the preset threshold corresponding to the face value of the face is not stored, the preset threshold corresponding to the triggering of the facial feature, for the second determining module 72 to determine the person Whether the face value is greater than a preset threshold corresponding to the face feature.
  • the obtaining module 73 can include:
  • the seventh determining submodule 733 is configured to determine a type of the photo on the display interface
  • the first triggering sub-module 734 is configured to acquire a photo on the display interface by triggering the camera module when the seventh determining sub-module 733 determines that the type of the photo is an image captured by the camera module;
  • the second triggering sub-module 735 is configured to obtain a photo on the display interface by triggering a screen capture operation of the video decoding module when the seventh determining sub-module 733 determines that the type of the photo is a video played by the video decoding module.
  • FIG. 11 is a block diagram of an automatic acquisition device suitable for a photo, according to an exemplary embodiment.
  • the device 1100 can be an electronic device such as a mobile phone, a computer, a video camera, a camera, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • apparatus 1100 can include one or more of the following components: processing component 1102, memory 1104, power component 1106, multimedia component 1108, audio component 1110, input/output (I/O) interface 1112, sensor component 1114, And a communication component 1116.
  • Processing component 1102 typically controls the overall operation of device 1100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 1102 can include one or more processors 1120 to execute instructions to perform all or part of the steps described above.
  • processing component 1102 can include one or more modules to facilitate interaction between component 1102 and other components.
  • processing component 1102 can include a multimedia module to facilitate interaction between multimedia component 1108 and processing component 1102.
  • the memory 1104 is configured to store various types of data to support operation at the device 1100. Examples of such data include instructions for any application or method operating on device 1100, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 1104 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 1106 provides power to various components of device 1100.
  • Power component 1106 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1100.
  • the multimedia component 1108 includes a screen between the device 1100 and a user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen package Including a touch panel, the screen can be implemented as a touch screen to receive input signals from a user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 1108 includes a front camera and/or a rear camera. When the device 1100 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 1110 is configured to output and/or input an audio signal.
  • the audio component 1110 includes a microphone (MIC) that is configured to receive an external audio signal when the device 1100 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 1104 or transmitted via communication component 1116.
  • the audio component 1110 also includes a speaker for outputting an audio signal.
  • the I/O interface 1112 provides an interface between the processing component 1102 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 1114 includes one or more sensors for providing a status assessment of various aspects to device 1100.
  • sensor assembly 1114 can detect an open/closed state of device 1100, a relative positioning of the components, such as the display and keypad of device 1100, and sensor component 1114 can also detect a change in position of one component of device 1100 or device 1100. The presence or absence of user contact with device 1100, device 1100 orientation or acceleration/deceleration and temperature change of device 1100.
  • Sensor assembly 1114 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 1114 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 1116 is configured to facilitate wired or wireless communication between device 1100 and other devices.
  • the device 1100 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • the communication component 1116 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 1116 also includes a near field communication (NFC) module to facilitate short range communication.
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 1100 may be implemented by one or more application specific integrated circuits (ASICs), Word signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation, Perform the above method.
  • ASICs application specific integrated circuits
  • DSP Word signal processor
  • DSPD digital signal processing device
  • PLD programmable logic device
  • FPGA field programmable gate array
  • controller microcontroller, microprocessor or other electronic component implementation
  • non-transitory computer readable storage medium comprising instructions, such as a memory 1104 comprising instructions executable by processor 1120 of apparatus 1100 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种照片的自动获取方法及装置,用以确保所抓取的人脸照片具有较高的颜值分数。所述方法包括:当确定触发颜值计算时,确定当前显示界面上照片的人脸特征,并计算所述人脸特征对应的人脸颜值(S101);确定所述人脸颜值是否大于所述人脸特征对应的预设阈值(S102);当所述人脸颜值大于所述预设阈值时,获取所述显示界面上的照片并进行保存(S103)。该方法可以避免用户通过主观方式评价不同拍摄角度的颜值较高的照片,避免用户通过手动方式触发快门键导致拍摄角度发生变化,从而错过颜值较高的场景,为用户留下更加精彩的美好瞬间。

Description

照片的自动获取方法及装置、电子设备
相关申请的交叉引用
本申请基于申请号为201610101967.8、申请日为2016年02月24日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及终端技术领域,尤其涉及一种照片的自动获取方法及装置、电子设备。
背景技术
随着拍照的日益普及,拍照时的颜值评估成为用户的一个兴趣点。在识别出用户的人脸后,通过颜值评估算法计算人脸颜值的分数,从而确保用户可以通过颜值较高的角度进行拍摄。相关技术中,用户在拍照时尝试变化不同的角度寻找颜值分数较高的角度,然后手动触发拍照操作,手动操作容易导致取景范围内的人脸角度发生变化,从而错过颜值高分的场景。
发明内容
为克服相关技术中存在的问题,本公开实施例提供一种照片的自动获取方法及装置、电子设备,用以确保所拍摄的人脸照片具有较高的颜值分数。
根据本公开实施例的第一方面,提供一种照片的自动获取方法,包括:
确定触发颜值计算时,确定当前显示界面上照片中的人脸特征,并计算所述人脸特征对应的人脸颜值;
确定所述人脸颜值是否大于所述人脸特征对应的预设阈值;
当所述人脸颜值大于所述预设阈值时,获取所述显示界面上的照片并进行保存。
在一实施例中,所述确定触发颜值计算,可包括:
根据预设的计算频率,确定是否到达颜值计算周期;
当到达所述颜值计算周期时,确定触发颜值计算;或者,
确定所述当前显示界面上的照片是否发生变化;
当确定所述当前显示界面上的照片发生变化时,确定触发颜值计算。
在一实施例中,当所述当前显示界面上照片中的人脸特征的数量为多个时,多个人脸特征对应同一预设阈值,所述确定所述人脸颜值是否大于所述人脸特征对应的预 设阈值,可包括:
确定所述多个人脸特征的人脸颜值是否均大于所述同一预设阈值;
所述当所述人脸颜值大于所述预设阈值时,将所述预拍摄图片进行保存,包括:
当所述多个人脸特征的人脸颜值均大于所述同一预设阈值时,将所述当前显示界面的照片拍摄成图片进行保存。
在一实施例中,所述当前显示界面上照片中的人脸特征的数量为多个时,多个人脸特征各自对应一个预设阈值,所述确定所述人脸颜值是否大于所述人脸特征对应的预设阈值,可包括:
对于每个人脸特征,确定该人脸特征的人脸颜值是否大于该人脸特征对应的预设阈值;
所述当所述人脸颜值大于所述预设阈值时,将所述预拍摄图片进行保存,包括:
当每个人脸特征的人脸颜值大于该人脸特征对应的预设阈值时,将所述当前显示界面的照片拍摄成图片进行保存。
在一实施例中,所述方法还可包括:
确定所述人脸特征对应的用户在不同角度的第一预设数量的人脸颜值;
从所述第一预设数量的人脸颜值中确定出颜值排序在前第二设定数量的人脸颜值;
根据所述第二设定数量的人脸颜值确定所述预设阈值。
在一实施例中,所述方法还可包括:
确定开启颜值阈值确定模式时,确定触发所述人脸特征对应的预设阈值;或者,
确定开启摄像头开始采集照片时,确定触发所述人脸特征对应的预设阈值;或者,
在计算人脸特征的人脸颜值之后,查找是否存储该人脸特征对应的预设阈值;
当确定未存储该人脸颜值对应的预设阈值时,确定触发所述人脸特征对应的预设阈值。
在一实施例中,获取所述显示界面上的照片并进行保存,可包括:
确定所述显示界面上照片的类型;
当所述照片的类型为摄像模块采集的图像时,通过触发所述摄像模块获取所述显示界面上的照片;
当所述照片的类型为通过视频解码模块播放的视频时,通过触发所述视频解码模块的截屏操作获取所述显示界面上的照片。
根据本公开实施例的第二方面,提供一种照片的自动获取装置,包括:
第一确定模块,被配置为确定触发颜值计算时,确定当前显示界面上照片中的人 脸特征,并计算所述人脸特征对应的人脸颜值;
第二确定模块,被配置为确定所述第一确定模块确定的所述人脸颜值是否大于所述人脸特征对应的预设阈值;
获取模块,被配置为当所述第二确定模块确定所述人脸颜值大于所述预设阈值时,获取所述显示界面上的照片并进行保存。
在一实施例中,所述第一确定模块可包括:
第一确定子模块,被配置为根据预设的计算频率,确定是否到达颜值计算周期;
第二确定子模块,被配置为当所述第一确定子模块确定到达所述颜值计算周期时,确定触发颜值计算;或者,
第三确定子模块,被配置为确定所述当前显示界面上的照片是否发生变化;
第四确定子模块,被配置为当所述第三确定子模块确定确定所述当前显示界面上的照片发生变化时,确定触发颜值计算。
在一实施例中,当所述当前显示界面上照片中的人脸特征的数量为多个时,多个人脸特征对应同一预设阈值,所述第二确定模块可包括:
第五确定子模块,被配置为确定所述多个人脸特征的人脸颜值是否均大于所述同一预设阈值;
所述获取模块包括:
第一拍摄子模块,被配置为当所述第五确定子模块确定所述多个人脸特征的人脸颜值均大于所述同一预设阈值时,将所述当前显示界面的照片拍摄成图片进行保存。
在一实施例中,所述当前显示界面上照片中的人脸特征的数量为多个时,多个人脸特征各自对应一个预设阈值,所述第二确定模块可包括:
第六确定子模块,被配置为对于每个人脸特征,确定该人脸特征的人脸颜值是否大于该人脸特征对应的预设阈值;
所述获取模块包括:
第二拍摄子模块,被配置为当所述第六确定子模块确定所述每个人脸特征的人脸颜值大于该人脸特征对应的预设阈值时,将所述当前显示界面的照片拍摄成图片进行保存。
在一实施例中,所述装置还可包括:
第三确定模块,被配置为确定所述第一确定模块确定的所述人脸特征对应的用户在不同角度的第一预设数量的人脸颜值;
第四确定模块,被配置为从所述第三确定模块确定的所述第一预设数量的人脸颜值中确定出颜值排序在前第二设定数量的人脸颜值;
第五确定模块,被配置为根据所述第四确定模块确定的所述第二设定数量的人脸颜值确定所述预设阈值。
在一实施例中,所述装置还可包括:
第六确定模块,被配置为确定开启颜值阈值确定模式时,确定触发所述人脸特征对应的预设阈值;或者,
第七确定模块,被配置为确定开启摄像头开始采集照片时,确定触发所述人脸特征对应的预设阈值;或者,
第八确定模块,被配置为在计算人脸特征的人脸颜值之后,查找是否存储该人脸特征对应的预设阈值;
第九确定模块,被配置为当所述第八确定模块确定未存储该人脸颜值对应的预设阈值时,确定触发所述人脸特征对应的预设阈值。
在一实施例中,所述获取模块可包括:
第七确定子模块,被配置为确定所述显示界面上照片的类型;
第一触发子模块,被配置为当所述第七确定子模块确定所述照片的类型为摄像模块采集的图像时,通过触发所述摄像模块获取所述显示界面上的照片;
第二触发子模块,被配置为当所述第七确定子模块确定所述照片的类型为通过视频解码模块播放的视频时,通过触发所述视频解码模块的截屏操作获取所述显示界面上的照片。
根据本公开实施例的第三方面,提供一种电子设备,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
确定触发颜值计算时,确定当前显示界面上照片中的人脸特征,并计算所述人脸特征对应的人脸颜值;
确定所述人脸颜值是否大于所述人脸特征对应的预设阈值;
当所述人脸颜值大于所述预设阈值时,获取所述显示界面上的照片并进行保存。
本公开的实施例提供的技术方案可以包括以下有益效果:通过人脸颜值对拍照质量进行量化,避免了用户通过主观方式评价不同拍摄角度的颜值较高的照片;当人脸颜值大于预设阈值时,获取显示界面上的照片并进行保存,避免用户通过手动方式触发快门键导致拍摄角度发生变化,从而错过颜值较高的场景,为用户留下更加精彩的美好瞬间。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不 能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。
图1A是根据一示例性实施例示出的照片的自动获取方法的流程图。
图1B是根据一示例性实施例示出的照片的自动获取方法的场景图之一。
图1C是根据一示例性实施例示出的照片的自动获取方法的场景图之二。
图2A是根据一示例性实施例一示出的如何确定触发颜值计算的流程图之一。
图2B是根据一示例性实施例一示出的如何确定触发颜值计算的流程图之二。
图3是根据一示例性实施例二示出的照片的自动获取方法的流程图。
图4是根据一示例性实施例三示出的照片的自动获取方法的流程图。
图5是根据一示例性实施例四示出的如何确定预设阈值的流程图。
图6是根据一示例性实施例五示出的照片的自动获取方法的流程图。
图7是根据一示例性实施例示出的一种照片的自动获取装置的框图。
图8是根据一示例性实施例示出的另一种照片的自动获取装置的框图。
图9是根据一示例性实施例示出的再一种照片的自动获取装置的框图。
图10是根据一示例性实施例示出的又一种照片的自动获取装置的框图。
图11是根据一示例性实施例示出的一种适用于照片的自动获取装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。
图1A是根据一示例性实施例示出的照片的自动获取方法的流程图,图1B是根据一示例性实施例示出的照片的自动获取方法的场景图之一,图1C是根据一示例性实施例示出的照片的自动获取方法的场景图之二;该照片的自动获取方法可以应用在电子设备(例如:智能手机、平板电脑)上,可以通过在电子设备上安装应用的方式实现,如图1A所示,该照片的自动获取方法包括以下步骤S101-S103:
在步骤S101中,确定触发颜值计算时,确定当前显示界面上照片中的人脸特征,并计算人脸特征对应的人脸颜值。
在一实施例中,对于如何确定触发颜值计算的条件,可以参见下述图2所示实施例的描述,在此先不详述。在一实施例中,可以通过相关技术中的人脸检测算法得到当前显示界面上照片中的人脸特征,并根据相关技术中的颜值算法计算人脸特征对应的人脸颜值,本公开不再详述。
在步骤S102中,确定人脸颜值是否大于人脸特征对应的预设阈值,当人脸颜值大于预设阈值时,执行步骤S103,当人脸颜值小于或者等于预设阈值时,继续执行步骤S101。
在一实施例中,预设阈值的确定方法可以参见下述图5所示实施例的描述,在此先不详述。
在步骤S103中,当人脸颜值大于预设阈值时,获取显示界面上的照片并进行保存。
作为一个示例性场景,如图1B所示,当用户A需要通过电子设备10自拍时,电子设备10上的前置摄像头11采集用户在不同拍摄角度的影像信息,当检测到电子设备10当前显示界面上的照片中的用户A的人脸特征时,计算用户A的人脸特征对应的人脸颜值,当用户A的人脸颜值大于用户A对应的预设阈值时,获取电子设备10的显示界面12上的照片并进行保存,从而可以确保所拍照片的人脸颜值能够达到一个较高值。
作为另一个示例性场景,如图1C所示,当用户B通过电子设备10播放视频文件《悲惨世界》时,可以检测电子设备10当前显示界面上的照片中的用户C和用户D的人脸特征时,计算用户C的人脸特征对应的人脸颜值和用户D的人脸特征对应的人脸颜值,当用户C的人脸颜值和用户D的人脸颜值均大于同一预设阈值,或者,用户C的人脸颜值大于用户C对应的预设阈值并且用户D的人脸颜值大于用户D对应的预设阈值时,获取电子设备10的显示界面12上的照片并进行保存,从而可以得到视频文件中关于用户C和用户D的颜值最高的照片。
本实施例中,通过人脸颜值对拍照质量进行量化,避免了用户通过主观方式评价不同拍摄角度的颜值较高的照片;当人脸颜值大于预设阈值时,获取显示界面上的照片并进行保存,避免用户通过手动方式触发快门键导致拍摄角度发生变化,从而错过颜值较高的场景,为用户留下更加精彩的美好瞬间。
在一实施例中,方法还可包括:
根据预设的计算频率,确定是否到达颜值计算周期;
当到达颜值计算周期时,确定触发颜值计算;或者,
确定当前显示界面上的照片是否发生变化;
当确定当前显示界面上的照片发生变化时,确定触发颜值计算。
在一实施例中,当当前显示界面上照片中的人脸特征的数量为多个时,多个人脸特征对应同一预设阈值,确定人脸颜值是否大于人脸特征对应的预设阈值,可包括:
确定多个人脸特征的人脸颜值是否均大于同一预设阈值;
当人脸颜值大于预设阈值时,将预拍摄图片进行保存,包括:
当多个人脸特征的人脸颜值均大于同一预设阈值时,将当前显示界面的照片拍摄成图片进行保存。
在一实施例中,当前显示界面上照片中的人脸特征的数量为多个时,多个人脸特征各自对应一个预设阈值,确定人脸颜值是否大于人脸特征对应的预设阈值,可包括:
对于每个人脸特征,确定该人脸特征的人脸颜值是否大于该人脸特征对应的预设阈值;
当人脸颜值大于预设阈值时,将预拍摄图片进行保存,包括:
当每个人脸特征的人脸颜值大于该人脸特征对应的预设阈值时,将当前显示界面的照片拍摄成图片进行保存。
在一实施例中,方法还可包括:
确定人脸特征对应的用户在不同角度的第一预设数量的人脸颜值;
从第一预设数量的人脸颜值中确定出颜值排序在前第二设定数量的人脸颜值;
根据第二设定数量的人脸颜值确定预设阈值。
在一实施例中,方法还可包括:
确定开启颜值阈值确定模式时,确定触发人脸特征对应的预设阈值;或者,
确定开启摄像头开始采集照片时,确定触发人脸特征对应的预设阈值;或者,
在计算人脸特征的人脸颜值之后,查找是否存储该人脸特征对应的预设阈值;
当确定未存储该人脸颜值对应的预设阈值时,确定触发人脸特征对应的预设阈值。
在一实施例中,获取显示界面上的照片并进行保存,可包括:
确定显示界面上照片的类型;
当照片的类型为摄像模块采集的图像时,通过触发摄像模块获取显示界面上的照片;
当照片的类型为通过视频解码模块播放的视频时,通过触发视频解码模块的截屏操作获取显示界面上的照片。
具体如何自动获取照片的,请参考后续实施例。
至此,本公开实施例提供的上述方法,可以避免用户通过主观方式评价不同拍摄角度的颜值较高的照片,避免用户通过手动方式触发快门键导致拍摄角度发生变化,从而错过颜值较高的场景,为用户留下更加精彩的美好瞬间。
下面以具体实施例来说明本公开实施例提供的技术方案。
图2A是根据一示例性实施例一示出的如何确定触发颜值计算的流程图之一,图2B是根据一示例性实施例一示出的如何确定触发颜值计算的流程图之二;如图2A所示,包括如下步骤:
在步骤S201中,根据预设的计算频率,确定是否到达颜值计算周期。
在一实施例中,预设的计算频率可以小于电子设备的摄像头的图片采集频率,例如,摄像头每秒采集20帧图像,则预设的计算频率可以设置为每秒计算10人脸颜值,本领域技术人员可以理解的是,本公开中的20、10等数字仅为示例性说明,并不能对本公开的技术方案形成限制。
在步骤S202中,当到达颜值计算周期时,确定触发颜值计算。
由于电子设备的摄像头为实时采集图像,因此电子设备的当前显示界面上照片也会随着电子设备的移动或者角度的变化而变化,当到达颜值计算周期时,确定触发颜值计算,从而可以确保及时更新当前显示界面上照片的人脸颜值。
如图2B所示,包括如下步骤:
在步骤S211中,确定当前显示界面上的照片是否发生变化。
在一实施例中,可以通过检测当前显示界面上的照片的参考特征是否发生变化来确定照片是否发生变化,参考特征例如可以为光照强度值,参考特征还可以人脸特征,参考特征也可以为同一个用户的人脸的拍摄角度特征。
在步骤S212中,当确定当前显示界面上的照片发生变化时,确定触发颜值计算。
例如,当光照强度值的变化超过一个阈值,表明电子设备所在的环境光照发生变化,此时人脸颜值也会发生变化,因此需要触发颜值计算,从而确保人脸颜值的实时性。再例如,电子设备在通过检测摄像头当前检测到的图像与上一帧图像的图像内容的匹配度,来确定是否需要重新出发颜值计算,从而避免不必要的触发颜值计算,降低电子设备的计算复杂度。
图3是根据一示例性实施例二示出的照片的自动获取方法的流程图;本实施例利用本公开实施例提供的上述方法,以当前显示界面上照片中的人脸特征的数量为多个时并且多个人脸特征对应同一预设阈值为例并结合图1C进行示例性说明,如图3A所示,包括如下步骤:
在步骤S301中,确定触发颜值计算时,确定当前显示界面上照片中的人脸特征,并计算人脸特征对应的人脸颜值。
在步骤S302中,确定多个人脸特征的人脸颜值是否均大于同一预设阈值。
在步骤S303中,当多个人脸特征的人脸颜值均大于同一预设阈值时,将当前显示 界面的照片拍摄成图片进行保存。
如图1C所示,电子设备10的当前显示界面上照片中的人脸特征包括用户C和用户D两人的人脸特征,在此情形下,可以确定用C和用户D的人脸特征各自对应的人脸颜值,当用户C和用户D的人脸颜值均大于同一个预设阈值时,表示当前显示界面的照片中的每个人的颜值分数均已达到较佳值,例如,用C和用户D的人脸颜值都在7.5以上,此时可将当前显示界面的照片拍摄成图片进行保存。
本实施例中,当多个人脸特征的人脸颜值均大于同一预设阈值时,将当前显示界面的照片拍摄成图片进行保存,从而可以确保显示界面上照片的人脸具有较高的颜值,避免用户用户采用手动截屏或者手动触发快门键的方式保存颜值较高的照片,为用户留下了精彩的瞬间,提高用户体验。
图4是根据一示例性实施例三示出的照片的自动获取方法的流程图;本实施例利用本公开实施例提供的上述方法,以当前显示界面上照片中的人脸特征的数量为多个时并且多个人脸特征各自对应一个预设阈值为例并结合图1C进行示例性说明,如图4所示,包括如下步骤:
在步骤S401中,确定触发颜值计算时,确定当前显示界面上照片中的人脸特征,并计算人脸特征对应的人脸颜值。
在步骤S402中,对于每个人脸特征,确定该每个人脸特征的人脸颜值是否大于该人脸特征对应的预设阈值。
在步骤S402中,当每个人脸特征的人脸颜值大于该人脸特征对应的预设阈值时,将当前显示界面的照片拍摄成图片进行保存。
如图1C所示,电子设备10的当前显示界面上照片中的人脸特征包括用C和用户D两人的人脸特征,在此情形下,可以确定用户C和用户D的人脸特征各自对应的人脸颜值,对于用户C,需要确定用户C对应的第一预设阈值,对于用户D,需要确定用户D对应的第二预设阈值,当用户C的人脸颜值大于第一预设阈值,并且用户D的人脸颜值大于第二预设阈值时,表示当前显示界面的照片中的每个人的颜值分数均已达到较佳值,例如,用户C、用户D的人脸颜值均在各自对应的较佳状态。
本实施例中,由于不用的用户具有不同的颜值,对多个人脸特征设置不同的预设阈值,当多个用户的人脸颜值达到各自对应的预设阈值时将当前显示界面的照片拍摄成图片进行保存,可以确保每个用户都能达到各自的最佳颜值状态,为用户留下了各自最精彩的瞬间,提高用户体验。
图5是根据一示例性实施例四示出的如何确定预设阈值的流程图;在一实施例中,确定开启颜值阈值确定模式时,确定触发人脸特征对应的预设阈值;在另一实施例中, 确定开启摄像头开始采集照片时,确定触发人脸特征对应的预设阈值;在再一实施例中,在计算人脸特征的人脸颜值之后,查找是否存储该人脸特征对应的预设阈值;当确定未存储该人脸颜值对应的预设阈值时,确定触发人脸特征对应的预设阈值,从而可以执行本实施例的流程,如图5所示,包括如下步骤:
在步骤S501中,确定人脸特征对应的用户在不同角度的第一预设数量的人脸颜值。
在步骤S502中,从第一预设数量的人脸颜值中确定出颜值排序在前第二设定数量的人脸颜值。
在步骤S503中,根据第二设定数量的人脸颜值确定预设阈值。
例如,当需要对用户A拍照时,需要统计出用户A在不同角度的第一预设数量的人脸颜值,例如,角度包括左侧脸30度、右侧脸30度,上抬脸20度,下低头20度,从上述四个角度各自拍摄20张用户A的照片,共计80张,对应80(本公开中的第一预设数量)个人脸颜值的分数,从该80个人脸颜值中按照颜值的分数从高到低选出前10个(本公开中的第二预设数量)人脸颜值的分数,对该前10个人脸颜值取均值,将该均值作为用户A的预设阈值,当对用户A通过本公开相关的实施例对用户A拍照或者截屏时,当计算出用户A的人物颜值大于该预设阈值后,即可自动触发拍照或者截屏。
本实施例中,通过对人脸特征对应的用户在不同角度的人脸颜值进行统计,继而得到该用户对应的预设阈值,因此可以确保不同用户对应不同的预设阈值,进而确保触发拍照或者截屏的颜值条件也不同,从而确保每个用户都能够达到各自最佳的颜值下触发拍照或者截屏。
图6是根据一示例性实施例五示出的照片的自动获取方法的流程图;本实施例利用本公开实施例提供的上述方法,以如何获取显示界面上的照片为例进行示例性说明,如图6所示,包括如下步骤:
在步骤S601中,确定触发颜值计算时,确定当前显示界面上照片中的人脸特征,并计算人脸特征对应的人脸颜值。
在步骤S602中,确定人脸颜值是否大于人脸特征对应的预设阈值,当人脸颜值大于预设阈值时,执行步骤S603,当人脸颜值小于或者等于预设阈值时,继续执行步骤S601。
步骤S601和步骤S602的相关描述可以参见上述图1A的相关描述,在此不再详述。
在步骤S603中,当人脸颜值大于预设阈值时,确定显示界面上照片的类型,当照片的类型为摄像模块采集的图像时,执行步骤S604,当照片的类型为通过视频解码模块播放的视频时,执行步骤S605。
在步骤S604中,当照片的类型为摄像模块采集的图像时,通过触发摄像模块获取显示界面上的照片。
在步骤S605中,当照片的类型为通过视频解码模块播放的视频时,通过触发视频解码模块的截屏操作获取显示界面上的照片。
作为一个示例性场景,如图1B所示,对于摄像头12采集的图像,当图像中的人脸颜值通过上述相关实施例确定大于预设阈值时,通过触发摄像头12获取显示界面上的照片,使用户避免通过触发快门键13得到显示界面上的照片。
作为另一个示例性场景,如图1C所示,对于通过视频解码模块(也可称为视频播放器应用程序)播放的视频时,当人脸颜值通过上述相关实施例确定大于预设阈值时,通过视频解码模块的截屏操作获取显示界面上的照片,从而可以捕捉到视频文件中的用户的最佳瞬间,使用户避免通过人眼主观判断后采用手动截屏的方式而错过视频中的人脸的最佳状态。
本实施例中,通过确定显示界面上照片的类型,当照片的类型为摄像模块采集的图像时,通过触发摄像模块获取显示界面上的照片,当照片的类型为通过视频解码模块播放的视频时,通过触发视频解码模块的截屏操作获取显示界面上的照片,从而可以确保电子设备在颜值模式下为用户自动保留颜值分数较高的照片或者截屏,方便留下精彩的瞬间。
图7是根据一示例性实施例示出的一种照片的自动获取装置的框图,如图7所示,照片的自动获取装置包括:
第一确定模块71,被配置为确定触发颜值计算时,确定当前显示界面上照片中的人脸特征,并计算人脸特征对应的人脸颜值;
第二确定模块72,被配置为确定第一确定模块71确定的人脸颜值是否大于人脸特征对应的预设阈值;
获取模块73,被配置为当第二确定模块72确定人脸颜值大于预设阈值时,获取显示界面上的照片并进行保存。
图8是根据一示例性实施例示出的另一种照片的自动获取装置的框图,如图8所示,在上述图7所示实施例的基础上,在一实施例中,第一确定模块71可包括:
第一确定子模块711,被配置为根据预设的计算频率,确定是否到达颜值计算周期;
第二确定子模块712,被配置为当第一确定子模块711确定到达颜值计算周期时,确定触发颜值计算;或者,
第三确定子模块713,被配置为确定当前显示界面上的照片是否发生变化;
第四确定子模块714,被配置为当第三确定子模块713确定确定当前显示界面上的 照片发生变化时,确定触发颜值计算。
在一实施例中,当当前显示界面上照片中的人脸特征的数量为多个时,多个人脸特征对应同一预设阈值,第二确定模块72可包括:
第五确定子模块721,被配置为确定多个人脸特征的人脸颜值是否均大于同一预设阈值;
获取模块73可包括:
第一拍摄子模块731,被配置为当第五确定子模块721确定多个人脸特征的人脸颜值均大于同一预设阈值时,将当前显示界面的照片拍摄成图片进行保存。
图9是根据一示例性实施例示出的再一种照片的自动获取装置的框图,如图9所示,在上述图7或图8所示实施例的基础上,在一实施例中,当前显示界面上照片中的人脸特征的数量为多个时,多个人脸特征各自对应一个预设阈值,第二确定模块72可包括:
第六确定子模块722,被配置为对于每个人脸特征,确定该人脸特征的人脸颜值是否大于该人脸特征对应的预设阈值;
获取模块73可包括:
第二拍摄子模块732,被配置为当第六确定子模块722确定每个人脸特征的人脸颜值大于该人脸特征对应的预设阈值时,将当前显示界面的照片拍摄成图片进行保存。
在一实施例中,装置还可包括:
第三确定模块74,被配置为确定第一确定模块71确定的人脸特征对应的用户在不同角度的第一预设数量的人脸颜值;
第四确定模块75,被配置为从第三确定模块75确定的第一预设数量的人脸颜值中确定出颜值排序在前第二设定数量的人脸颜值;
第五确定模块76,被配置为根据第四确定模块75确定的第二设定数量的人脸颜值确定预设阈值。
图10是根据一示例性实施例示出的又一种照片的自动获取装置的框图,如图10所示,在上述图7-图9任意所示实施例的基础上,在一实施例中,装置还可包括:
第六确定模块77,被配置为确定开启颜值阈值确定模式时,确定触发人脸特征对应的预设阈值,以供第二确定模块72确定人脸颜值是否大于人脸特征对应的预设阈值;或者,
第七确定模块78,被配置为确定开启摄像头开始采集照片时,确定触发人脸特征对应的预设阈值,以供第二确定模块72确定人脸颜值是否大于人脸特征对应的预设阈值;或者,
第八确定模块79,被配置为在计算人脸特征的人脸颜值之后,查找是否存储该人脸特征对应的预设阈值;
第九确定模块70,被配置为当第八确定模块79确定未存储该人脸颜值对应的预设阈值时,确定触发人脸特征对应的预设阈值,以供第二确定模块72确定人脸颜值是否大于人脸特征对应的预设阈值。
在一实施例中,获取模块73可包括:
第七确定子模块733,被配置为确定显示界面上照片的类型;
第一触发子模块734,被配置为当第七确定子模块733确定照片的类型为摄像模块采集的图像时,通过触发摄像模块获取显示界面上的照片;
第二触发子模块735,被配置为当第七确定子模块733确定照片的类型为通过视频解码模块播放的视频时,通过触发视频解码模块的截屏操作获取显示界面上的照片。
图11是根据一示例性实施例示出的一种适用于照片的自动获取装置的框图。例如,装置1100可以是移动电话,计算机,摄像机,照相机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等电子设备。
参照图11,装置1100可以包括以下一个或多个组件:处理组件1102,存储器1104,电源组件1106,多媒体组件1108,音频组件1110,输入/输出(I/O)的接口1112,传感器组件1114,以及通信组件1116。
处理组件1102通常控制装置1100的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件1102可以包括一个或多个处理器1120来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1102可以包括一个或多个模块,便于处理组件1102和其他组件之间的交互。例如,处理部件1102可以包括多媒体模块,以方便多媒体组件1108和处理组件1102之间的交互。
存储器1104被配置为存储各种类型的数据以支持在设备1100的操作。这些数据的示例包括用于在装置1100上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1104可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电力组件1106为装置1100的各种组件提供电力。电力组件1106可以包括电源管理系统,一个或多个电源,及其他与为装置1100生成、管理和分配电力相关联的组件。
多媒体组件1108包括在所述装置1100和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包 括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1108包括一个前置摄像头和/或后置摄像头。当设备1100处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件1110被配置为输出和/或输入音频信号。例如,音频组件1110包括一个麦克风(MIC),当装置1100处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1104或经由通信组件1116发送。在一些实施例中,音频组件1110还包括一个扬声器,用于输出音频信号。
I/O接口1112为处理组件1102和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件1114包括一个或多个传感器,用于为装置1100提供各个方面的状态评估。例如,传感器组件1114可以检测到设备1100的打开/关闭状态,组件的相对定位,例如所述组件为装置1100的显示器和小键盘,传感器组件1114还可以检测装置1100或装置1100一个组件的位置改变,用户与装置1100接触的存在或不存在,装置1100方位或加速/减速和装置1100的温度变化。传感器组件1114可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1114还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1114还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件1116被配置为便于装置1100和其他设备之间有线或无线方式的通信。装置1100可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件1116经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件1116还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置1100可以被一个或多个应用专用集成电路(ASIC)、数 字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1104,上述指令可由装置1100的处理器1120执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (15)

  1. 一种照片的自动获取方法,其特征在于,所述方法包括:
    确定触发颜值计算时,确定当前显示界面上照片中的人脸特征,并计算所述人脸特征对应的人脸颜值;
    确定所述人脸颜值是否大于所述人脸特征对应的预设阈值;
    当所述人脸颜值大于所述预设阈值时,获取所述显示界面上的照片并进行保存。
  2. 根据权利要求1所述的方法,其特征在于,所述确定触发颜值计算,包括:
    根据预设的计算频率,确定是否到达颜值计算周期;
    当到达所述颜值计算周期时,确定触发颜值计算;或者,
    确定所述当前显示界面上的照片是否发生变化;
    当确定所述当前显示界面上的照片发生变化时,确定触发颜值计算。
  3. 根据权利要求1所述的方法,其特征在于,当所述当前显示界面上照片中的人脸特征的数量为多个时,多个人脸特征对应同一预设阈值,所述确定所述人脸颜值是否大于所述人脸特征对应的预设阈值,包括:
    确定所述多个人脸特征的人脸颜值是否均大于所述同一预设阈值;
    所述当所述人脸颜值大于所述预设阈值时,将所述预拍摄图片进行保存,包括:
    当所述多个人脸特征的人脸颜值均大于所述同一预设阈值时,将所述当前显示界面的照片拍摄成图片进行保存。
  4. 根据权利要求1所述的方法,其特征在于,所述当前显示界面上照片中的人脸特征的数量为多个时,多个人脸特征各自对应一个预设阈值,所述确定所述人脸颜值是否大于所述人脸特征对应的预设阈值,包括:
    对于每个人脸特征,确定该人脸特征的人脸颜值是否大于该人脸特征对应的预设阈值;
    所述当所述人脸颜值大于所述预设阈值时,将所述预拍摄图片进行保存,包括:
    当每个人脸特征的人脸颜值大于该人脸特征对应的预设阈值时,将所述当前显示界面的照片拍摄成图片进行保存。
  5. 根据权利要求1~4任一所述的方法,其特征在于,所述方法还包括:
    确定所述人脸特征对应的用户在不同角度的第一预设数量的人脸颜值;
    从所述第一预设数量的人脸颜值中确定出颜值排序在前第二设定数量的人脸颜值;
    根据所述第二设定数量的人脸颜值确定所述预设阈值。
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    确定开启颜值阈值确定模式时,确定触发所述人脸特征对应的预设阈值;或者,
    确定开启摄像头开始采集照片时,确定触发所述人脸特征对应的预设阈值;或者,
    在计算人脸特征的人脸颜值之后,查找是否存储该人脸特征对应的预设阈值;
    当确定未存储该人脸颜值对应的预设阈值时,确定触发所述人脸特征对应的预设阈值。
  7. 根据权利要求1所述的方法,其特征在于,获取所述显示界面上的照片并进行保存,包括:
    确定所述显示界面上照片的类型;
    当所述照片的类型为摄像模块采集的图像时,通过触发所述摄像模块获取所述显示界面上的照片;
    当所述照片的类型为通过视频解码模块播放的视频时,通过触发所述视频解码模块的截屏操作获取所述显示界面上的照片。
  8. 一种照片的自动获取装置,其特征在于,所述装置包括:
    第一确定模块,被配置为确定触发颜值计算时,确定当前显示界面上照片中的人脸特征,并计算所述人脸特征对应的人脸颜值;
    第二确定模块,被配置为确定所述第一确定模块确定的所述人脸颜值是否大于所述人脸特征对应的预设阈值;
    获取模块,被配置为当所述第二确定模块确定所述人脸颜值大于所述预设阈值时,获取所述显示界面上的照片并进行保存。
  9. 根据权利要求8所述的装置,其特征在于,所述第一确定模块包括:
    第一确定子模块,被配置为根据预设的计算频率,确定是否到达颜值计算周期;
    第二确定子模块,被配置为当所述第一确定子模块确定到达所述颜值计算周期时,确定触发颜值计算;或者,
    第三确定子模块,被配置为确定所述当前显示界面上的照片是否发生变化;
    第四确定子模块,被配置为当所述第三确定子模块确定确定所述当前显示界面上的照片发生变化时,确定触发颜值计算。
  10. 根据权利要求8所述的装置,其特征在于,当所述当前显示界面上照片中的人脸特征的数量为多个时,多个人脸特征对应同一预设阈值,所述第二确定模块包括:
    第五确定子模块,被配置为确定所述多个人脸特征的人脸颜值是否均大于所述同一预设阈值;
    所述获取模块包括:
    第一拍摄子模块,被配置为当所述第五确定子模块确定所述多个人脸特征的人脸颜值 均大于所述同一预设阈值时,将所述当前显示界面的照片拍摄成图片进行保存。
  11. 根据权利要求8所述的装置,其特征在于,所述当前显示界面上照片中的人脸特征的数量为多个时,多个人脸特征各自对应一个预设阈值,所述第二确定模块包括:
    第六确定子模块,被配置为对于每个人脸特征,确定该人脸特征的人脸颜值是否大于该人脸特征对应的预设阈值;
    所述获取模块包括:
    第二拍摄子模块,被配置为当所述第六确定子模块确定所述每个人脸特征的人脸颜值大于该人脸特征对应的预设阈值时,将所述当前显示界面的照片拍摄成图片进行保存。
  12. 根据权利要求8~11任一所述的装置,其特征在于,所述装置还包括:
    第三确定模块,被配置为确定所述第一确定模块确定的所述人脸特征对应的用户在不同角度的第一预设数量的人脸颜值;
    第四确定模块,被配置为从所述第三确定模块确定的所述第一预设数量的人脸颜值中确定出颜值排序在前第二设定数量的人脸颜值;
    第五确定模块,被配置为根据所述第四确定模块确定的所述第二设定数量的人脸颜值确定所述预设阈值。
  13. 根据权利要求12所述的装置,其特征在于,所述装置还包括:
    第六确定模块,被配置为确定开启颜值阈值确定模式时,确定触发所述人脸特征对应的预设阈值;或者,
    第七确定模块,被配置为确定开启摄像头开始采集照片时,确定触发所述人脸特征对应的预设阈值;或者,
    第八确定模块,被配置为在计算人脸特征的人脸颜值之后,查找是否存储该人脸特征对应的预设阈值;
    第九确定模块,被配置为当所述第八确定模块确定未存储该人脸颜值对应的预设阈值时,确定触发所述人脸特征对应的预设阈值。
  14. 根据权利要求8所述的方法,其特征在于,所述获取模块包括:
    第七确定子模块,被配置为确定所述显示界面上照片的类型;
    第一触发子模块,被配置为当所述第七确定子模块确定所述照片的类型为摄像模块采集的图像时,通过触发所述摄像模块获取所述显示界面上的照片;
    第二触发子模块,被配置为当所述第七确定子模块确定所述照片的类型为通过视频解码模块播放的视频时,通过触发所述视频解码模块的截屏操作获取所述显示界面上的照片。
  15. 一种电子设备,其特征在于,所述装置包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    确定触发颜值计算时,确定当前显示界面上照片中的人脸特征,并计算所述人脸特征对应的人脸颜值;
    确定所述人脸颜值是否大于所述人脸特征对应的预设阈值;
    当所述人脸颜值大于所述预设阈值时,获取所述显示界面上的照片并进行保存。
PCT/CN2016/100644 2016-02-24 2016-09-28 照片的自动获取方法及装置、电子设备 WO2017143778A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610101967.8 2016-02-24
CN201610101967.8A CN107122697B (zh) 2016-02-24 2016-02-24 照片的自动获取方法及装置、电子设备

Publications (1)

Publication Number Publication Date
WO2017143778A1 true WO2017143778A1 (zh) 2017-08-31

Family

ID=58094187

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100644 WO2017143778A1 (zh) 2016-02-24 2016-09-28 照片的自动获取方法及装置、电子设备

Country Status (4)

Country Link
US (1) US20170244891A1 (zh)
EP (1) EP3211879A1 (zh)
CN (1) CN107122697B (zh)
WO (1) WO2017143778A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10091414B2 (en) * 2016-06-24 2018-10-02 International Business Machines Corporation Methods and systems to obtain desired self-pictures with an image capture device
CN111698411A (zh) * 2019-03-12 2020-09-22 丽宝大数据股份有限公司 脸部影像自动检测与拍摄方法
CN110335666A (zh) * 2019-05-22 2019-10-15 平安国际智慧城市科技股份有限公司 医学影像评估方法、装置、计算机设备及存储介质
CN111428672A (zh) * 2020-03-31 2020-07-17 北京市商汤科技开发有限公司 交互对象的驱动方法、装置、设备以及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080080749A1 (en) * 2006-09-28 2008-04-03 Fujifilm Corporation Image evaluation apparatus, method, and program
CN101859369A (zh) * 2009-04-08 2010-10-13 华晶科技股份有限公司 人脸评分方法
CN104754234A (zh) * 2015-04-13 2015-07-01 深圳市欧珀通信软件有限公司 一种拍照方法及装置
CN104866806A (zh) * 2014-02-21 2015-08-26 深圳富泰宏精密工业有限公司 具有人脸定位辅助功能的自拍系统及方法
CN105007404A (zh) * 2014-04-26 2015-10-28 维沃移动通信有限公司 一种自动拍照的系统及其实现方法
CN105227832A (zh) * 2015-09-09 2016-01-06 厦门美图之家科技有限公司 一种基于关键点检测的自拍方法、自拍系统及拍摄终端

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4898475B2 (ja) * 2007-02-05 2012-03-14 富士フイルム株式会社 撮影制御装置、撮影装置、及び撮影制御方法
US7664389B2 (en) * 2007-05-21 2010-02-16 Sony Ericsson Mobile Communications Ab System and method of photography using desirable feature recognition
JP4513843B2 (ja) * 2007-09-10 2010-07-28 カシオ計算機株式会社 撮像装置及びプログラム
CN101216881B (zh) * 2007-12-28 2011-07-06 北京中星微电子有限公司 一种图像自动获取方法和装置
CN101216883B (zh) * 2007-12-29 2010-11-10 北京中星微电子有限公司 一种照相方法及照相装置
CN102930261A (zh) * 2012-12-05 2013-02-13 上海市电力公司 一种人脸抓拍识别方法
CN103391361A (zh) * 2013-07-05 2013-11-13 中科创达软件股份有限公司 一种智能终端自拍构图自动提醒方法及装置
CN104349021A (zh) * 2013-07-24 2015-02-11 腾讯科技(深圳)有限公司 图像采集方法、装置及终端
CN103595914B (zh) * 2013-11-04 2018-06-15 华为终端(东莞)有限公司 一种拍照方法和移动终端
CN105205479A (zh) * 2015-10-28 2015-12-30 小米科技有限责任公司 人脸颜值评估方法、装置及终端设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080080749A1 (en) * 2006-09-28 2008-04-03 Fujifilm Corporation Image evaluation apparatus, method, and program
CN101859369A (zh) * 2009-04-08 2010-10-13 华晶科技股份有限公司 人脸评分方法
CN104866806A (zh) * 2014-02-21 2015-08-26 深圳富泰宏精密工业有限公司 具有人脸定位辅助功能的自拍系统及方法
CN105007404A (zh) * 2014-04-26 2015-10-28 维沃移动通信有限公司 一种自动拍照的系统及其实现方法
CN104754234A (zh) * 2015-04-13 2015-07-01 深圳市欧珀通信软件有限公司 一种拍照方法及装置
CN105227832A (zh) * 2015-09-09 2016-01-06 厦门美图之家科技有限公司 一种基于关键点检测的自拍方法、自拍系统及拍摄终端

Also Published As

Publication number Publication date
CN107122697B (zh) 2020-12-18
EP3211879A1 (en) 2017-08-30
CN107122697A (zh) 2017-09-01
US20170244891A1 (en) 2017-08-24

Similar Documents

Publication Publication Date Title
JP6328345B2 (ja) 画像撮影方法及び装置
US9674395B2 (en) Methods and apparatuses for generating photograph
KR101790679B1 (ko) 모바일 단말기 및 모바일 단말기 상에서 촬영을 시작하는 방법
CN108419016B (zh) 拍摄方法、装置及终端
WO2017020408A1 (zh) 视频录制方法和装置
WO2016090829A1 (zh) 图像拍摄方法及装置
EP3174283B1 (en) Preview image display method and apparatus, computer program and recording medium
WO2016023340A1 (zh) 一种切换摄像头的方法和装置
WO2016138752A1 (zh) 拍摄参数调整方法和装置
WO2016011747A1 (zh) 肤色调整方法和装置
WO2017088266A1 (zh) 图片处理方法及装置
WO2017000491A1 (zh) 获取虹膜图像的方法、装置及红膜识别设备
WO2021051949A1 (zh) 一种图像处理方法及装置、电子设备和存储介质
WO2017096782A1 (zh) 防止拍照遮挡的方法及装置
EP3258414B1 (en) Prompting method and apparatus for photographing
WO2017124899A1 (zh) 一种信息处理方法及装置、电子设备
WO2017092127A1 (zh) 视频归类方法及装置
WO2016041311A1 (zh) 视频浏览方法及装置
WO2017143778A1 (zh) 照片的自动获取方法及装置、电子设备
WO2018098860A1 (zh) 照片合成方法及装置
JP2011234002A (ja) 撮像装置及び端末装置
WO2016045323A1 (zh) 控制视频画面呈现的方法及装置
WO2017031890A1 (zh) 全景照片的生成方法及装置
KR101701814B1 (ko) 프레이밍 정보를 디스플레이하기 위한 방법 및 장치
WO2016015404A1 (zh) 呼叫转移的方法、装置及终端

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16891226

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16891226

Country of ref document: EP

Kind code of ref document: A1