CN105335473A - Method and device for playing picture - Google Patents

Method and device for playing picture Download PDF

Info

Publication number
CN105335473A
CN105335473A CN 201510640839 CN201510640839A CN105335473A CN 105335473 A CN105335473 A CN 105335473A CN 201510640839 CN201510640839 CN 201510640839 CN 201510640839 A CN201510640839 A CN 201510640839A CN 105335473 A CN105335473 A CN 105335473A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
face
result
quality
image
face image
Prior art date
Application number
CN 201510640839
Other languages
Chinese (zh)
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

Links

Classifications

    • G06F16/50
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06KRECOGNITION OF DATA; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K9/00Methods or arrangements for reading or recognising printed or written characters or for recognising patterns, e.g. fingerprints
    • G06K9/00221Acquiring or recognising human faces, facial parts, facial sketches, facial expressions
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06KRECOGNITION OF DATA; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K9/00Methods or arrangements for reading or recognising printed or written characters or for recognising patterns, e.g. fingerprints
    • G06K9/00221Acquiring or recognising human faces, facial parts, facial sketches, facial expressions
    • G06K9/00288Classification, e.g. identification

Abstract

The invention discloses a method and a device for playing pictures, and belongs to the technical field of computers. The method comprises: obtaining a plurality of face pictures; performing face quality detection on each face picture, to obtain the quality detection result of each face picture, the quality detection result being a first result or a second result, the first result being superior to the second result; when the plurality of face pictures are played in a PowerPoint form, filtering the face pictures whose quality detection result is the second result. Through performing face quality detection on the face pictures, when the pictures are played in the PowerPoint form, the face pictures in poor quality can be filtered, so as to improve quality of the playing pictures, improve playing effect, and preventing the pictures whose quality is poor from influencing playing effect.

Description

图片播放方法和装置 Picture playback method and apparatus

技术领域 FIELD

[0001] 本公开是关于计算机技术领域,具体来说是关于一种图片播放方法和装置。 [0001] The present disclosure relates to the field of computer technology, particularly relates to an image playback apparatus and method.

背景技术 Background technique

[0002] 随着信息技术的发展,图片的应用越来越广泛,播放图片的形式也越来越多,其中的图片幻灯片已成为一种常用的播放形式。 [0002] With the development of information technology, more and more widespread application of the picture, play the picture in the form of more and more, where the picture has become a popular slide show.

[0003] 图片幻灯片是指采用幻灯片的形式,播放多张图片,在很多场景下均可采用图片幻灯片的形式进行播放。 [0003] picture slide means in the form of slides, play multiple pictures, many scenarios can be in the form of picture slideshow playback. 例如,可以将包含同一用户的多张照片存放在同一相册中,并采用幻灯片的形式,依次播放该相册中的多张照片,以集中展示包含该用户的照片,增强趣味性。 For example, you can include the same user multiple photos stored in the same album, and takes the form of a slide, in order to play the album multiple photos to showcase the photo that contains the user's increase fun.

发明内容 SUMMARY

[0004] 为了解决相关技术中存在的问题,本公开提供了一种图片播放方法和装置。 [0004] In order to solve the problems in the related art, the present disclosure provides an image playback apparatus and method. 所述技术方案如下: The technical solutions are as follows:

[0005] 根据本公开实施例的第一方面,提供了一种图片播放方法,所述方法包括: [0005] According to a first aspect of the disclosed embodiment of the present embodiment, there is provided an image playback method, the method comprising:

[0006] 获取多张人脸图片; [0006] to obtain more than one face pictures;

[0007] 对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,所述质量检测结果为第一结果或第二结果,所述第一结果优于所述第二结果; [0007] for each face of the face image detected by mass, mass detection results obtained for each face image, the quality of the detection result is the first result or second result, better than the first result of the first second result;

[0008] 在采用幻灯片的形式播放所述多张人脸图片时,对质量检测结果为所述第二结果的人脸图片进行过滤。 When [0008] playing the multiple faces of the slide employed in the form of pictures, the quality of the detection result to the second result of the face image to filtering.

[0009] 在另一实施例中,所述方法还包括: [0009] In another embodiment, the method further comprising:

[0010] 为质量检测结果为所述第二结果的人脸图片添加过滤标识; [0010] The result is that the quality of the detection result of the second face image identification add filter;

[0011] 所述在采用幻灯片的形式播放所述多张人脸图片时,对质量检测结果为所述第二结果的人脸图片进行过滤,包括: When [0011] in the form of a slide show using a plurality of facial images, the quality of the result of the detection result of the second face image filtering, comprising:

[0012] 在采用幻灯片的形式播放所述多张人脸图片时,对已添加所述过滤标识的人脸图片进行过滤。 When [0012] the play more than one face in the form of pictures using slides, the filter has been added to identify the human face images filtered.

[0013] 在另一实施例中,所述方法还包括: [0013] In another embodiment, the method further comprising:

[0014] 为质量检测结果为所述第一结果的人脸图片添加播放标识; [0014] Add player is identified as the first result of the face image detection result for the mass;

[0015] 所述在采用幻灯片的形式播放所述多张人脸图片时,对质量检测结果为所述第二结果的人脸图片进行过滤,包括: When [0015] in the form of a slide show using a plurality of facial images, the quality of the result of the detection result of the second face image filtering, comprising:

[0016] 在采用幻灯片的形式播放所述多张人脸图片时,播放已添加所述播放标识的人脸图片。 When [0016] the play more than one face in the form of pictures using slides, play has been added to the play identifier face picture.

[0017] 在另一实施例中,所述对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,包括: [0017] In another embodiment, the face image for each of the face detection quality, the quality of the detection result obtained for each face image, comprising:

[0018] 对于每张人脸图片,获取所述人脸图片的清晰度; [0018] For each face image, acquires the facial image sharpness;

[0019] 当所述人脸图片的清晰度大于预设清晰度时,确定所述人脸图片的质量检测结果为所述第一结果; [0019] When the clarity of the facial image is greater than a predetermined resolution, to determine the quality of the facial image detection result for the first result;

[0020] 当所述人脸图片的清晰度不大于所述预设清晰度时,确定所述人脸图片的质量检测结果为所述第二结果。 [0020] When the clarity of the facial image is not greater than the preset definition, determining the quality of the face image detection result for the second result.

[0021] 在另一实施例中,所述对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,包括: [0021] In another embodiment, the face image for each of the face detection quality, the quality of the detection result obtained for each face image, comprising:

[0022] 对于每张人脸图片,获取所述人脸图片中的人脸姿态与正面姿态之间的姿态偏转角度; [0022] For each of face images, access stance deflection angle between the face picture face pose and positive attitude;

[0023] 当所述姿态偏转角度大于预设角度时,确定所述人脸图片的质量检测结果为所述第二结果; [0023] When the posture of the deflection angle is greater than a predetermined angle, determining the quality of the face image detection result for the second result;

[0024] 当所述姿态偏转角度不大于所述预设角度时,确定所述人脸图片的质量检测结果为所述第一结果。 [0024] When the posture of the deflection angle is not greater than the preset angle, determining the quality of the face image detection result for the first result.

[0025] 在另一实施例中,所述对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,包括: [0025] In another embodiment, the face image for each of the face detection quality, the quality of the detection result obtained for each face image, comprising:

[0026] 对于每张人脸图片,判断所述人脸图片中的眼睛是否处于睁开状态; [0026] For each face image, the face image for determining whether the eyes are in the open state;

[0027] 当所述人脸图片中的眼睛处于睁开状态时,确定所述人脸图片的质量检测结果为所述第一结果; [0027] When the facial image in the eyes are opened state, determining the quality of the face image detection result for the first result;

[0028] 当所述人脸图片中的眼睛处于闭合状态时,确定所述人脸图片的质量检测结果为所述第二结果。 [0028] When the facial image of the eye in a closed state, determining the quality of the face image detection result to the second result.

[0029] 在另一实施例中,所述获取多张人脸图片,包括: [0029] In another embodiment, acquiring the plurality of face images, comprising:

[0030] 将本地相册中的多张人脸图片按照人脸进行划分,得到多个子相册,同一子相册中的人脸图片包括相同的人脸; [0030] The local album's more than one face image to be divided in accordance with a human face, to obtain multiple sub-albums, albums of the same sub-human face images include the same face;

[0031 ] 从所述多个子相册中的指定子相册中,获取所述多张人脸图片。 [0031] specified child from the plurality of sub-album album, obtaining the multiple faces picture.

[0032] 根据本公开实施例的第二方面,提供了一种图片播放装置,所述装置包括: [0032] According to a second aspect of the disclosed embodiment of the present embodiment, there is provided an image playback apparatus, the apparatus comprising:

[0033] 获取模块,用于获取多张人脸图片; [0033] acquisition module for acquiring multiple facial images;

[0034]质量检测模块,用于对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,所述质量检测结果为第一结果或第二结果,所述第一结果优于所述第二结果; [0034] The quality detection module, for each face of the face image detected by mass, mass detection results obtained for each face image, the quality of the detection result is the first result or second result, the first results superior to the second result;

[0035] 播放模块,用于在采用幻灯片的形式播放所述多张人脸图片时,对质量检测结果为所述第二结果的人脸图片进行过滤。 When [0035] a playing module, for playing the plurality of face images in slide form using, the quality of the detection result of the second result of the face image to filtering.

[0036] 在另一实施例中,所述装置还包括: [0036] In another embodiment, the apparatus further comprising:

[0037] 添加模块,用于为质量检测结果为所述第二结果的人脸图片添加过滤标识; [0037] adding module for mass detection result to the second result of the face image identification add filter;

[0038] 所述播放模块,还用于在采用幻灯片的形式播放所述多张人脸图片时,对已添加所述过滤标识的人脸图片进行过滤。 [0038] the playing module is further used for playing the plurality of face images in slide form using, has been added to the filter face image identification filtered.

[0039] 在另一实施例中,所述装置还包括: [0039] In another embodiment, the apparatus further comprising:

[0040] 添加模块,用于为质量检测结果为所述第一结果的人脸图片添加播放标识; [0040] adding module for adding mass identified as playing a detection result of the face image as a first result;

[0041] 所述播放模块,还用于在采用幻灯片的形式播放所述多张人脸图片时,播放已添加所述播放标识的人脸图片。 [0041] The player module is also used when playing the multiple faces in the form of pictures using slides, play has been added to the play identifier face picture.

[0042] 在另一实施例中,所述质量检测模块还用于对于每张人脸图片,获取所述人脸图片的清晰度;当所述人脸图片的清晰度大于预设清晰度时,确定所述人脸图片的质量检测结果为所述第一结果;当所述人脸图片的清晰度不大于所述预设清晰度时,确定所述人脸图片的质量检测结果为所述第二结果。 When the facial image is greater than a predetermined resolution clarity; [0042] In another embodiment, the quality detection module is further configured for each face image, the face image acquired by the definition determining the quality of the face image detection result is the first result; when the clarity of the facial image is not greater than the preset definition, determining the quality of the face image detection result for the The second result.

[0043] 在另一实施例中,所述质量检测模块还用于对于每张人脸图片,获取所述人脸图片中的人脸姿态与正面姿态之间的姿态偏转角度;当所述姿态偏转角度大于预设角度时,确定所述人脸图片的质量检测结果为所述第二结果;当所述姿态偏转角度不大于所述预设角度时,确定所述人脸图片的质量检测结果为所述第一结果。 [0043] In another embodiment, the quality detection module is further configured for each face image, acquiring the posture of the deflection angle between the face image of the face pose and frontal pose; when the gesture when the deflection angle is greater than a predetermined angle, determining the quality of the face image detection result for the second result; when the deflection angle is not greater than the preset posture angle, determining the quality of the detection result of the face image It is the first result.

[0044] 在另一实施例中,所述质量检测模块还用于对于每张人脸图片,判断所述人脸图片中的眼睛是否处于睁开状态;当所述人脸图片中的眼睛处于睁开状态时,确定所述人脸图片的质量检测结果为所述第一结果;当所述人脸图片中的眼睛处于闭合状态时,确定所述人脸图片的质量检测结果为所述第二结果。 [0044] In another embodiment, the quality detection module is further configured for each face image, the face image is determined in the eye is in an open state; if the facial image of the eye is when the opened state, determining the quality of the face image detection result for the first result; when the facial image of the eye in a closed state, determining the quality of the face image detection result for the first second result.

[0045] 在另一实施例中,所述获取模块还用于将本地相册中的多张人脸图片按照人脸进行划分,得到多个子相册,同一子相册中的人脸图片包括相同的人脸;从所述多个子相册中的指定子相册中,获取所述多张人脸图片。 [0045] In another embodiment, the obtaining module is further configured to local album plurality of divided face by face image to obtain a plurality of sub-albums, album the same sub-image including the face of the same person face; from the specified subset of the plurality of sub-album album, obtaining the multiple faces picture.

[0046] 根据本公开实施例的第三方面,提供了一种图片播放装置,所述装置包括: [0046] According to a third aspect of the disclosed embodiment of the present embodiment, there is provided an image playback apparatus, the apparatus comprising:

[0047] 处理器; [0047] processor;

[0048] 用于存储处理器可执行指令的存储器; [0048] processor-executable instructions for storing a memory;

[0049] 其中,所述处理器被配置为: [0049] wherein the processor is configured to:

[0050] 获取多张人脸图片; [0050] to obtain more than one face pictures;

[0051] 对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,所述质量检测结果为第一结果或第二结果,所述第一结果优于所述第二结果; [0051] for each face of the face image detected by mass, mass detection results obtained for each face image, the quality of the detection result is the first result or second result, better than the first result of the first second result;

[0052] 在采用幻灯片的形式播放所述多张人脸图片时,对质量检测结果为所述第二结果的人脸图片进行过滤。 When [0052] playing the multiple faces of the slide employed in the form of pictures, the quality of the detection result to the second result of the face image to filtering.

[0053] 本公开的实施例提供的技术方案可以包括以下有益效果: [0053] The present embodiment provides a technical solution of the disclosure may comprise the following advantageous effects:

[0054] 本实施例提供的方法和装置,通过对人脸图片进行人脸质量检测,在采用幻灯片的形式播放图片时,即可对质量差的人脸图片进行过滤,提高了所播放图片的质量,提升了播放效果,避免了质量差的图片对播放效果的影响。 [0054] The present embodiments provide a method and apparatus of the embodiment, by the face image to the face detection by mass, when in the form of slide show images of poor quality can face image filter to improve the image of the player quality, enhance the playback, avoid the impact of poor quality playback of images.

[0055] 应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。 [0055] It should be understood that both the foregoing general description and the details described hereinafter are merely exemplary, and not intended to limit the present disclosure.

附图说明 BRIEF DESCRIPTION

[0056] 此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。 [0056] The accompanying drawings, which are incorporated herein and constitute a part of this specification, illustrate embodiments consistent with the principles of the embodiments of the present disclosure, and together with the description serve to explain the present disclosure.

[0057] 图1是根据一示例性实施例示出的一种图片播放方法的流程图; [0057] FIG. 1 is a flowchart of a picture playing method according to an embodiment illustrating an exemplary embodiment;

[0058] 图2是根据一示例性实施例示出的一种图片播放方法的流程图; [0058] FIG 2 is a flowchart of an image playing method shown according to an exemplary embodiment;

[0059] 图3A是根据一示例性实施例示出的一种图片播放装置的框图; [0059] FIG 3A is a block diagram of a playback apparatus according to one picture shown to an exemplary embodiment;

[0060] 图3B是根据一示例性实施例示出的一种图片播放装置的框图; [0060] FIG. 3B is a block diagram of a playback apparatus according to one picture shown to an exemplary embodiment;

[0061] 图4是根据一示例性实施例示出的一种图片播放装置的框图。 [0061] FIG. 4 is a block diagram of an image playback apparatus shown in accordance with an exemplary embodiment.

具体实施方式 detailed description

[0062] 为使本公开的目的、技术方案和优点更加清楚明白,下面结合实施方式和附图,对本公开做进一步详细说明。 [0062] For purposes of this disclosure, the technical solution and merits thereof more apparent, the following embodiments in conjunction with the accompanying drawings and embodiment, the present disclosure described in further detail. 在此,本公开的示意性实施方式及其说明用于解释本公开,但并不作为对本公开的限定。 Here, exemplary embodiments of the present disclosure are used to explain the present disclosure, but the present disclosure is not defined pair.

[0063] 本公开实施例提供一种图片播放方法和装置,以下结合附图对本公开进行详细说明。 [0063] The embodiments of the present disclosure provides a method and image playback apparatus of the present disclosure conjunction with the drawings be described in detail.

[0064] 图1是根据一示例性实施例示出的一种图片播放方法的流程图,如图1所示,图片播放方法用于智能设备中,包括以下步骤: [0064] FIG. 1 is a flowchart of a method of playing images shown according to an exemplary embodiment, the steps of image playback method for intelligently apparatus, shown in Figure 1 comprising:

[0065] 在步骤101中,获取多张人脸图片。 [0065] In step 101, the pictures get more than one face.

[0066] 在步骤102中,对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,该质量检测结果为第一结果或第二结果,该第一结果优于该第二结果。 [0066] In step 102, for each face image quality for face detection, mass detection results obtained for each face image, the quality of the detection result is the first result or second result, better than the first result the second result.

[0067] 在步骤103中,在采用幻灯片的形式播放该多张人脸图片时,对质量检测结果为该第二结果的人脸图片进行过滤。 When [0067] In step 103, in the form of a slide show using a plurality of face images, on the quality of the results for the second face image detection result filtered.

[0068] 本实施例提供的方法,通过对人脸图片进行人脸质量检测,在采用幻灯片的形式播放图片时,即可对质量差的人脸图片进行过滤,提高了所播放图片的质量,提升了播放效果,避免了质量差的图片对播放效果的影响。 [0068] The method provided in the present embodiment, by the face image to the face detection by mass, when in the form of slide show images of poor quality can face image filter to improve the quality of the image being played to enhance the playback, avoid the impact of poor quality playback of images.

[0069] 在另一实施例中,该方法还包括: [0069] In another embodiment, the method further comprising:

[0070] 为质量检测结果为该第二结果的人脸图片添加过滤标识; [0070] The second result is that the quality of the detection result of the face image identification add filter;

[0071] 该在采用幻灯片的形式播放该多张人脸图片时,对质量检测结果为该第二结果的人脸图片进行过滤,包括: When [0071] the playing of the plurality of face images in slide form using, the quality of the results of the detection result for the second face image filtering, comprising:

[0072] 在采用幻灯片的形式播放该多张人脸图片时,对已添加该过滤标识的人脸图片进行过滤。 When [0072] the player more than one face in the form of pictures using slides, the filter has been added to identify the face images filtered.

[0073] 在另一实施例中,该方法还包括: [0073] In another embodiment, the method further comprising:

[0074] 为质量检测结果为该第一结果的人脸图片添加播放标识; [0074] is the first result of quality test results of face images added Played identity;

[0075] 该在采用幻灯片的形式播放该多张人脸图片时,对质量检测结果为该第二结果的人脸图片进行过滤,包括: When [0075] the multiple faces of the players in the form of pictures using slides, the quality of the detection results for the second result of face images filtered, including:

[0076] 在采用幻灯片的形式播放该多张人脸图片时,播放已添加该播放标识的人脸图片。 When [0076] the player more than one face in the form of pictures using slides, play has been added to the play identifier face picture.

[0077] 在另一实施例中,该对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,包括: [0077] In another embodiment, each face of the image quality for face detection, mass detection results obtained for each face image, comprising:

[0078] 对于每张人脸图片,获取该人脸图片的清晰度; [0078] For each face pictures, get the clarity of the facial image;

[0079] 当该人脸图片的清晰度大于预设清晰度时,确定该人脸图片的质量检测结果为该第一结果; [0079] When the face image definition than a preset definition, determining the quality of the face image detection result for the first result;

[0080] 当该人脸图片的清晰度不大于该预设清晰度时,确定该人脸图片的质量检测结果为该第二结果。 [0080] When the clarity of the facial image is not greater than the predetermined resolution, the quality determination result of the face image is detected for the second result.

[0081] 在另一实施例中,该对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,包括: [0081] In another embodiment, each face of the image quality for face detection, mass detection results obtained for each face image, comprising:

[0082] 对于每张人脸图片,获取该人脸图片中的人脸姿态与正面姿态之间的姿态偏转角度; [0082] For each of face images, access stance deflection angle between the face picture face pose and positive attitude;

[0083]当该姿态偏转角度大于预设角度时,确定该人脸图片的质量检测结果为该第二结果; [0083] When the posture of the deflection angle is greater than a preset angle, determining the quality of the face image detection result for the second result;

[0084] 当该姿态偏转角度不大于该预设角度时,确定该人脸图片的质量检测结果为该第一结果。 [0084] When the deflection angle is not greater than the predetermined posture angle, determining the quality of the face image detection result for the first result.

[0085] 在另一实施例中,该对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,包括: [0085] In another embodiment, each face of the image quality for face detection, mass detection results obtained for each face image, comprising:

[0086] 对于每张人脸图片,判断该人脸图片中的眼睛是否处于睁开状态; [0086] For each of face images to determine whether the face in the picture in the eyes opened state;

[0087] 当该人脸图片中的眼睛处于睁开状态时,确定该人脸图片的质量检测结果为该第一结果; [0087] When the face image in the eyes are opened state, it is determined that the quality of the face image detection result for the first result;

[0088] 当该人脸图片中的眼睛处于闭合状态时,确定该人脸图片的质量检测结果为该第二结果。 [0088] When the face image of the eye in a closed state, determine the quality of the face image detection result for the second result.

[0089] 在另一实施例中,该获取多张人脸图片,包括: [0089] In another embodiment, acquiring the plurality of face images, comprising:

[0090] 将本地相册中的多张人脸图片按照人脸进行划分,得到多个子相册,同一子相册中的人脸图片包括相同的人脸; [0090] The local album's more than one face image to be divided in accordance with a human face, to obtain multiple sub-albums, albums of the same sub-human face images include the same face;

[0091] 从该多个子相册中的指定子相册中,获取该多张人脸图片。 [0091] from the plurality of designated sub-sub-album album, get the multiple faces picture.

[0092] 上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再 [0092] All of the above alternative technical solutions can be employed in conjunction with any disclosed form an optionally present embodiment, which is not

--赘述。 - repeat.

[0093] 图2是根据一示例性实施例示出的一种图片播放方法的流程图,如图2所示,图片播放方法用于智能设备中,包括以下步骤: [0093] FIG 2 is a flowchart of a method of playing images shown according to an exemplary embodiment, the steps of the method for image playback smart device, shown in FIG. 2 comprising:

[0094] 在步骤201中,获取多张人脸图片。 [0094] In step 201, acquiring more than one face picture.

[0095] 其中,该智能设备可以为手机、计算机或者智能电视等可以播放图片的设备,本实施例对此不做限定。 [0095] wherein the intelligent image playback device may be a mobile phone device, a computer or a smart TV, the present embodiment is not limited to this embodiment.

[0096] 本实施例应用于该智能设备采用幻灯片的形式播放多张人脸图片的场景下,而为了保证所播放人脸图片的质量,该智能设备可以在播放之前,先获取待播放的多张人脸图片,对每张人脸图片进行人脸质量检测。 Under [0096] The present embodiment is applied to a scene of the intelligent device in the form of slide show more than one face images embodiment, in order to ensure the quality of the face image being played, the intelligent device may play before, to be played to obtain multiple facial images of each face picture quality for face detection.

[0097] 该智能设备可以获取本地相册中的多张图片,也可以仅获取检测到的播放指令所对应的相册中的多张人脸图片。 [0097] The smart device can get local album multiple images can be acquired only detected playing instruction corresponding album multiple faces picture.

[0098] 或者,该智能设备还可以将本地相册中的多张人脸图片按照人脸进行划分,得到多个子相册,使得同一子相册中的人脸图片包括相同的人脸,该智能设备还可以展示该多个子相册,用户可以触发对该多个子相册中指定子相册的播放指令,当该智能设备接收到对指定子相册的播放指令时,从该多个子相册中的指定子相册中,获取该多张人脸图片。 [0098] Alternatively, the smart device may also be a local album plurality of face images in accordance with the face is divided, to obtain a plurality of sub-album, so that the same subalbums face image include the same face, the smart device further this can show a plurality of sub-album, the user can trigger the plurality of albums are designated subalbums playing instruction, when the smart device receives a playback instruction of the album are designated, the plurality of sub-carriers from the specified album in the album, the acquisition more than one face picture.

[0099] 每张人脸图片中可以包括一个或多个人脸,该智能设备可以以人脸为单位,将包含同一人脸的人脸图片聚集到同一子相册,从而能够单独地对某一人脸的人脸图片进行播放。 [0099] Each face image may include one or more faces, the smart device may face the unit, comprising the same human face images gathered into the same face subalbums, thereby individually on a face face picture playback.

[0100] 例如,人脸图片A中包括人脸1,人脸图片B中包括人脸2,人脸图片C中包含人脸1和人脸2,则可以将人脸图片A和人脸图片C聚集到第一个相册中,将人脸图片B和人脸图片C聚集到第二个相册中。 [0100] For example, the face image A, including face 1, the face panel B includes a human face 2, the face image C is included in the face 1 and face 2, it may be the face image A and the face image C gather first album, will face pictures B and C face pictures gathered a second album. 后续过程中可以采用幻灯片的形式播放人脸图片A和人脸图片C,或者采用幻灯片的形式播放人脸图片B和人脸图片C。 Subsequent process may take the form of a slide face image A and displays the face image C, or with a slide in the form of playing face image and face image B C.

[0101] 需要说明的是,该智能设备可以在接收到对该多张图片的播放指令时,获取该多张图片,对该多张图片进行人脸质量检测,检测之后再进行播放。 [0101] It should be noted that the device can be smart when receiving the instruction to play multiple pictures, access the multiple images, multiple images of the human face quality test, then play after testing. 或者,该智能设备还可以在接收到对任一图片的播放指令之前,对获取到的多张图片进行人脸质量检测,在后续接收到播放指令时,再播放相应的图片。 Alternatively, the intelligent device may also play command is received prior to a picture of any of a plurality of the acquired image quality for face detection in the subsequent play command is received, and then displays the corresponding image. 本实施例对此不做限定。 The present embodiment is not limited to this embodiment.

[0102] 在步骤202中,对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,该质量检测结果为第一结果或第二结果,该第一结果优于该第二结果。 [0102] In step 202, for each face image quality for face detection, mass detection results obtained for each face image, the quality of the detection result is the first result or second result, better than the first result the second result.

[0103] 获取到多张人脸图片之后,该智能设备可以对每张人脸图片进行人脸质量检测,得到质量检测结果,该质量检测结果用于表示人脸图片的优劣,可以为第一结果或者第二结果。 [0103] After obtaining the pictures to more than one face, the smart device may be made to face each face picture quality testing, to get quality test results, the quality test results are used to indicate the quality of the face image, can for the first a result or the second result. 其中,该第一结果优于该第二结果,也即是,人脸图片的质量检测结果为该第一结果时,表示该人脸图片的质量较好,而人脸图片的质量检测结果为该第二结果时,表示该人脸图片的质量较差。 Wherein, the first result is better than the second result, i.e., the quality of the face image detection result for the first result indicates a better quality of the face image, the face detection result and the quality of image when the second result indicates poor quality of the facial image.

[0104] 该智能设备对人脸图片进行人脸质量检测时,可以对人脸图片的清晰度、人脸姿态、人脸是否闭眼等指标进行检测,相应的,对于待检测的每张人脸图片,该步骤202可以包括以下步骤(1)-(3)中的至少一项: [0104] When the smart device to face picture face quality testing, may face the clarity of the picture, the face pose, eyes closed, face and other indicators to detect whether the corresponding, for each person to be detected face images, step 202 may comprise the following steps (1) - (3) at least one of:

[0105] (1)获取该人脸图片的清晰度,当该人脸图片的清晰度大于预设清晰度时,确定该人脸图片的质量检测结果为该第一结果,当该人脸图片的清晰度不大于该预设清晰度时,确定该人脸图片的质量检测结果为该第二结果。 [0105] (1) acquires the face image definition, when the face image definition than a preset definition, determining the quality of the face image detection result for the first result, when the face image when clarity is not greater than the preset definition, to determine the quality of the detection result of the face image for the second result.

[0106] 人脸图片的清晰度越大,表示人脸图片越清晰,质量越好,而人脸图片的清晰度越小,表示人脸图片越模糊,质量越差。 The greater clarity [0106] the face of the picture, the clearer the picture represents the human face, the better the quality, the smaller the face image sharpness, the more blurry images represent the human face, the worse the quality. 该智能设备进行人脸质量检测时,获取该人脸图片的清晰度,判断该清晰度是否大于预设清晰度,当该清晰度大于该预设清晰度时,表示该人脸图片的质量较好,则确定质量检测结果为第一结果。 When the smart device for face quality testing, obtain clarity of the facial images to determine whether the definition greater than the preset definition, when the definition is greater than the preset definition, represents the quality of the human face than the picture well, it is determined that the quality of the detection result is the first result. 而当该清晰度不大于该预设清晰度时,表示人脸图片的质量较差,则确定质量检测结果为第二结果。 When the resolution is not greater than the predetermined resolution, the face image indicates poor quality, it is determined that the detection result of the second mass results.

[0107] 其中,该预设清晰度可以由该智能设备根据对人脸图片清晰度的需求确定,本实施例对此不做限定。 [0107] wherein the predetermined resolution according to the needs of the human face image is determined by the definition of the smart device, the present embodiment is not limited to this embodiment.

[0108] (2)获取该人脸图片中的人脸姿态与正面姿态之间的姿态偏转角度,当该姿态偏转角度大于预设角度时,确定该人脸图片的质量检测结果为该第二结果,当该姿态偏转角度不大于该预设角度时,确定该人脸图片的质量检测结果为该第一结果。 [0108] (2) acquires the posture of the deflection angle between the face image of the face pose and frontal pose, posture when the deflection angle is greater than a predetermined angle, determining the quality of the face image detection result for the second as a result, when the deflection angle is not greater than the predetermined posture angle, determining the quality of the face image detection result for the first result.

[0109] 以人脸处于正面姿态为基准,当人脸向左转动或向右转动时,人脸姿态会在水平方向上偏离正面姿态,而与正面姿态形成一定的姿态偏转角度;当人脸向上转动或向下转动时,人脸姿态会在竖直方向上偏离正面姿态,而与正面姿态形成一定的姿态偏转角度。 When [0109] In the front face in the reference posture, when rotated to the left or right face, front face pose posture deviate in a horizontal direction, and a certain attitude angle of deflection and frontal pose; when human face is rotated upward or downward rotation, the face pose frontal pose deviates in the vertical direction, with the frontal pose a certain attitude angle of deflection.

[0110] 而在一张人脸图片中,当人脸姿态与正面姿态之间的姿态偏转角度过大时,该人脸图片中将不能展示完整的人脸,这会影响到人脸展示效果,从而影响到该人脸图片的质量。 [0110] In the picture a human face, when face pose posture between the deflection angle is too large and positive attitude, which will face pictures can not show the full face, which can affect a person's face to show effect , which affects the quality of the facial image. 因此,在进行质量检测时,该智能设备可以获取该人脸图片中的人脸姿态,计算该人脸姿态与正面姿态之间的姿态偏转角度,判断该姿态偏转角度是否大于预设角度。 Therefore, when the quality of testing, the smart device can get face pose the face in the picture, the attitude is calculated deflection angle between the front face pose and attitude, the attitude judgment deflection angle is greater than a preset angle. 当该姿态偏转角度大于该预设角度时,表示人脸姿态与正面姿态之间的姿态偏转角度过大,该人脸图片中的人脸展示不完整,该人脸图片的质量较差,则该智能设备确定质量检测结果为该第二结果。 When the posture deflection angle is greater than the preset angle, expressed the attitude between the front face pose and posture deflection angle is too large, the face in the picture to show the human face incomplete, poor quality picture of the human face, the the intelligent device for determining the quality of the detection result of the second result. 当该姿态偏转角度不大于该预设角度时,表示人脸姿态与正面姿态之间的姿态偏转角度较小,该人脸图片中的人脸可以完整展示,该人脸图片的质量较好,则该智能设备确定质量检测结果为该第一结果。 When the posture deflection angle is not greater than the preset angle, expressed the attitude between the front face pose and posture deflection angle is small, the face picture of a human face can show a complete, good quality pictures of the human face, the intelligent apparatus for determining the quality of the detection result of the first result.

[0111] 其中,该预设角度可以由该智能设备根据人脸能够完整展示时的最大姿态偏转角度确定,本实施例对此不做限定。 [0111] wherein, the predetermined angle may be determined by the deflection angle of the posture of intelligent devices according to the maximum when the display face can be complete, according to the present embodiment is not limited to this embodiment.

[0112] 另外,该智能设备还可以确定水平方向上的第一预设角度以及竖直方向上的第二预设角度,并获取该人脸姿态与正面姿态在水平方向上的第一姿态偏转角度,以及该人脸姿态与正面姿态在竖直方向上的第二姿态偏转角度,判断该第一姿态偏转角度是否大于该第一预设角度,并判断该第二姿态偏转角度是否大于该第二预设角度。 [0112] Further, the smart device may also determine a first predetermined angle in the horizontal direction and a second predetermined angle in the vertical direction, and acquires the first posture and the posture of the front face posture in the horizontal direction deflection angle, and the front face posture and the second posture the posture angle of deflection in the vertical direction, it is determined whether the first posture tilt angle greater than the first predetermined angle, and determines whether the deflection angle is greater than the second posture to the first two preset angle. 只有当该第一姿态偏转角度不大于该第一预设角度,且该第二姿态偏转角度也不大于该第二预设角度时,确定该质量检测结果为该第一结果,否则确定该质量检测结果为该第二结果。 Only when the tilt angle is not greater than the first posture to the first predetermined angle, and the second deflection angle is not greater than the second posture predetermined angle, it is determined that the detection result is the first result of mass, or the mass determination a second detection result for the result.

[0113] (3)判断该人脸图片中的眼睛是否处于睁开状态,当该人脸图片中的眼睛处于睁开状态时,确定该人脸图片的质量检测结果为该第一结果,当该人脸图片中的眼睛处于闭合状态时,确定该人脸图片的质量检测结果为该第二结果。 [0113] (3) determining whether the face image of the eye in the open state, when the human face image in the eyes are opened state, it is determined that the quality of the face image detection result for the first result, when when the face image of the eye in a closed state, determine the quality of the face image detection result for the second result.

[0114]当人脸图片中人脸的眼睛闭合时,该人脸图片的质量较差,相对地,当该人脸图片中的人脸的眼睛睁开时,该人脸图片的质量较好。 [0114] When the face image of the human face eyes closed, the face of poor image quality, contrast, when the face image of the face of the eyes are open, the better the quality of the face image . 因此,该智能设备在进行人脸质量检测时,可以判断该人脸图片中的眼睛是否处于睁开状态,当确定该人脸图片中的眼睛处于睁开状态时,确定质量检测结果为该第一结果,而当确定该人脸图片中的眼睛处于闭合状态时,确定质量检测结果为该第二结果。 Therefore, when the face detection by mass of the intelligent device, can determine whether the human face in the image of the eye open state, when it is determined that the face image in the eyes are opened state, it is determined that the detection result of mass a result, when it is determined that the face image of the eye in a closed state, the detection result for the second quality determination results.

[0115] 其中,判断该人脸图片中的眼睛是否处于睁开状态时,该智能设备可以对该人脸图片中的轮廓点进行定位,得到多个眼睛轮廓点,并根据每个眼睛轮廓点的位置,确定眼睛轮廓点的分布轨迹,当该分布轨迹为一条直线或者一条具有较小弧度的曲线时,可以确定眼睛处于闭合状态,而当该分布轨迹为两条闭合的曲线时,可以确定眼睛处于睁开状态。 [0115] wherein determining whether the face image of the eye is in the opened state, the intelligent device may be positioned in the face image contour points, contour points to obtain a plurality of eyes, and each eye contour point in accordance with position, determining the distribution of trace eye contour points, when the profile is a straight line or a curve having a small curvature of the eye may be determined in a closed state, and when the distribution is two tracks closed curve can be determined the eye is opened state.

[0116] 需要说明的是,本实施例仅以该智能设备执行上述步骤(1)-(3)中的其中一项为例,实际上,该智能设备可以将上述步骤(1)-(3)中的任两项或三项进行结合来进行人脸质量检测。 [0116] Incidentally, only the smart device to perform the above-described step (1) of the present embodiment - one in Example (3), in fact, the intelligent device may be the above-described step (1) - (3 any two) or three binding face to quality testing. 例如,以将上述步骤(1)和(2)结合为例,当确定该人脸图片的清晰度大于预设清晰度时,判断人脸姿态与正面姿态之间的姿态偏转角度是否大于预设角度,当姿态偏转角度不大于该预设角度时,确定质量检测结果为该第一结果,当姿态偏转角度大于该预设角度时,确定质量检测结果为该第二结果。 For example, in the above step (1) (2) and combined, for example, when it is determined that the face image definition than a preset resolution, attitude determination between the front face pose deflection angle is greater than a predetermined posture angle, when the deflection angle is not greater than the predetermined attitude angle, for determining the quality of the detection result of the first result, when the deflection angle is greater than the predetermined posture angle, for determining the quality of the detection result of the second result.

[0117]另外,除清晰度、姿态偏转角度和眼睛状态三种指标之外,该人脸图片中还包括其他能够影响图片质量的指标,该智能设备还可以根据该人脸图片的其他指标进行质量检测,本实施例对此不做限定。 [0117] In addition, in addition to clarity, posture and eye deflection angle state has three metrics, the face in the picture also includes other indicators that can affect the quality of the picture, the smart device can also be based on other indicators of the face image mass detection, the present embodiment is not limited to this embodiment.

[0118] 在步骤203中,为质量检测结果为该第二结果的人脸图片添加过滤标识。 [0118] In step 203, the detection result for the second mass is the result of adding filtering face image identification.

[0119] 为了便于在后续播放的过程中识别出质量差的人脸图片,该智能设备进行人脸质量检测之后,可以为质量检测结果为该第二结果的人脸图片添加过滤标识,该过滤标识用于指示在播放过程中过滤该人脸图片。 [0119] In order to facilitate identification during subsequent playback of the poor quality of the face image, the smart device after detection face quality can be mass face image detection result for the second result identifier adding filters, the filter is used to indicate that the filter face images during playback.

[0120] 例如,该智能设备可以在该人脸图片的数据头中添加该过滤标识,或者在该人脸图片的名称中添加该过滤标识等等,本实施例对添加该过滤标识的方式不做限定。 [0120] For example, the intelligent device may be added to the facial image data in the header identifying the filter, the filter or to add the name of the person identified in the face image, etc., is added to the embodiment of the filter of the present embodiment is not identified do limited.

[0121] 在步骤204中,采用幻灯片的形式播放第一人脸图片时,判断第二人脸图片是否已添加该过滤标识,如果是,执行步骤205,如果否,执行步骤206。 When [0121] In step 204, in the form of slide show a first face image, determining a second face image has been added to the filter identifier, if yes, step 205 is executed, and if not, step 206 is performed.

[0122] 该智能设备采用幻灯片的形式,播放多张人脸图片时,可以先对该多张人脸图片进行排序,并按照排列的顺序,依次播放该多张人脸图片。 [0122] When the smart device in the form of slides, play more than one face pictures, you can face the multiple images are sorted and arranged in the order, in order to play the multiple faces picture. 其中,该智能设备可以按照生成时间从早到晚的顺序进行排序,或者按照图片名称进行排序等,本实施例对排序方式不做限定。 Wherein the smart device may be generated according to the sequential ordering of time from morning to night, images sorted by name or the like, examples of the sort is not limited in the present embodiment.

[0123] 在播放该多张人脸图片的过程中,为了提高图片质量,提升播放效果,该智能设备会对已添加该过滤标识的人脸图片进行过滤。 [0123] In the process of playing the multiple faces in the picture, in order to improve picture quality, improved playback performance, the smart device will have been added to the filtered identified face images filtered.

[0124] 以第一人脸图片未添加该过滤标识,当前正在播放第一人脸图片为例,该智能设备按照排列顺序,获取该第一人脸图片的下一人脸图片,即该第二人脸图片,判断该第二人脸图片是否已添加该过滤标识,从而确定是否要播放该第二人脸图片,根据判断结果执行下述步骤205或206。 [0124] In a first facial image is not added to the filter identification, is currently playing first face image, for example, the intelligent device in the order, acquires the first facial image of the next face image, i.e., the second human face image, determining whether the second face image has been added to the filter identifier, to determine whether to play the second face image, perform the following steps 205 or 206 according to the determination result.

[0125] 在步骤205中,对该第二人脸图片进行过滤,在播放该第一人脸图片完成时,对该第二人脸图片之后的人脸图片进行播放。 [0125] In step 205, the second filtered image to the face, while playing the first face image is completed, the face image after the face image to the second player.

[0126] 如果该第二人脸图片已添加该过滤标识,则对该第二人脸图片进行过滤。 [0126] If the second face image has been added to the filter identification, then the second face images are filtered. 即在播放该第一人脸图片完成时,该智能设备无需播放该第二人脸图片。 That is when you play the first face picture is complete, the smart device without having to play the second face picture. 后续过程中,该智能设备可以按照排列顺序,继续获取该第二人脸图片的下一人脸图片,即第三人脸图片,继续判断该第三人脸图片是否已添加该过滤标识,在该第三人脸图片已添加该过滤标识时,对该第三人脸图片进行过滤,而在该第三人脸图片未添加该过滤标识时,在播放该第一人脸图片完成时,播放该第三人脸图片,以此类推,直至将该多张人脸图片中质量检测结果为第一结果的人脸图片播放完成为止。 Subsequent process, the intelligent device may be in the order, continue to acquire images of the second face of the next face image, the face image that is the third, the third continues to determine whether the face image has been added to the filter identifier, the when a third person face image has been added to the filter identifier, the third face picture is filtered, and the third face picture does not add the filter to identify, when playing the first face complete picture, play the the third face pictures, and so on until the multiple faces in the picture quality test results until the results of the first face picture playback is complete.

[0127] 在步骤206中,在播放该第一人脸图片完成时,播放该第二人脸图片,继续对该第二人脸图片的下一人脸图片执行步骤204。 [0127] In step 206, when the first face image playback is completed, the second face image playback, proceed to step 204 for the second face image of the face of the next picture.

[0128] 如果该第二人脸图片未添加该过滤标识,表示该第二人脸图片的质量较好,则在播放该第一人脸图片完成时,可以播放该第二人脸图片。 [0128] If the second face picture does not add the filter, indicates a better quality picture of the second face, the first person in the face while playing the picture complete, you can play the second face picture. 后续过程中,在播放该第二人脸图片的过程中,该智能设备即可继续获取该第二人脸图片的下一人脸图片,即该第三人脸图片,继续对该第三人脸图片进行上述步骤204所示的判断过程,以此类推,直至将该多张人脸图片中质量检测结果为第一结果的人脸图片播放完成为止。 The follow-up process, in the course of playing the second face in the picture, the smart device can continue to obtain the second face picture face the next picture, that is, the third face picture and continue to the third face image judgment process shown in the above-described step 204, and so on, until a plurality of the face image detection result of the mass until the first result of the face image has completed.

[0129] 需要说明的是,本实施例仅以上述步骤203-206中根据过滤标识进行播放为例进行说明,而在本实施例提供的另一实施例中,该步骤203-206可以由以下步骤(1)-(3)中的任一项代替: [0129] Incidentally, the present embodiment of the above steps 203-206 are only for playback as an example according to the filter identifier, provided in the other embodiment of the present embodiment, the steps 203-206 can be represented by the following step (1) - any one of (3) a place:

[0130] (1)该智能设备为质量检测结果为该第一结果的人脸图片添加播放标识,采用幻灯片的形式播放第一人脸图片时,判断第二人脸图片是否已添加该播放标识,如果是,执行步骤206,如果否,执行步骤205。 [0130] (1) the intelligent device is a mass for the first result of the detection result of the face image identification play added, in the form of slide show when the first face image, determining a second face image has been added to the player identity, if yes, step 206, and if not, step 205 is executed.

[0131] 其中,该播放标识用于指示在播放过程中播放该人脸图片,则该智能设备在采用幻灯片的形式播放该多张人脸图片时,仅播放已添加该播放标识的人脸图片,而不再播放未添加该播放标识的人脸图片。 When the [0131] in which the player is used to indicate that the player face images during playback, the smart device to play the multiple faces in the form of pictures using slide, the only player who played has been added to identify the face picture, rather than playing not to add the player to identify people face picture.

[0132] (2)该智能设备为质量检测结果为该第一结果的人脸图片添加播放标识,并为质量检测结果为该第二结果的人脸图片添加过滤标识,采用幻灯片的形式播放第一人脸图片时,判断第二人脸图片是否已添加该播放标识或者该过滤标识,如果第二人脸图片已添加过滤标识,执行步骤205,如果第二人脸图片已添加该播放标识,执行步骤206。 [0132] (2) the intelligent device is a mass for the first result of the detection result of the face image added play identifier, and as a result the quality of the detection result for the second face image identification add a filter, in the form of a slideshow when the first face image, determining a second face image has been added to the player identifier identifying the filter or, if the face image has been added a second filtered identified, step 205, if the second face image has been added to the player identification , step 206 is performed.

[0133] (3)该智能设备为质量检测结果为该第一结果的人脸图片添加播放标识,并为质量检测结果为该第二结果的人脸图片添加过滤标识,根据每张人脸图片所添加的标识,确定播放列表,该播放列表中仅包括添加该播放标识的人脸图片,在采用幻灯片的形式播放人脸图片时,按照该播放列表进行播放。 [0133] (3) The intelligent device is a mass for the first result of the detection result of the face image added play identifier, and as a result the quality of the detection result for the second face image identification add a filter, according to each face image the added identification to determine the playlist, the playlist includes only add the player to identify face images in the form of a slide show people pictures of faces to play according to the playlist.

[0134] 在本实施例中,该智能设备还可以在进行人脸质量检测之后,播放之前,预先根据每张人脸图片所添加的标识确定播放列表,该播放列表中仅包括质量检测结果为第一结果的人脸图片,而不包括质量检测结果为第二结果的人脸图片,则该智能设备按照该播放列表进行播放时,即可将质量差的人脸图片过滤掉。 After [0134] In the present embodiment, the intelligent device may also face during quality testing, prior to playing, a predetermined identifier in accordance with the playlist for each face image is added, the playlist including only the detection result for the mass the first results of face images, not including the quality of test results for the second result of face images, when the smart device to play according to the playlist, to the poor quality of the human face images filtered out. 本实施例对该智能设备的具体播放方式不做限定,只需满足不再播放质量检测结果为第二结果的人脸图片即可。 The present embodiment is not limited to the particular embodiment of the smart playback device, the playback quality no longer satisfy the need of the detection result of the second face image can result.

[0135] 另外,除对多张图片中质量差的人脸图片进行过滤之外,该智能设备还可以对该多张图片中的相似人脸图片进行过滤。 [0135] Moreover, in addition to multiple images in the face of poor quality picture is filtered, the smart device can also filter the multiple images of similar face picture. 例如,当多张人脸图片中的某些人脸图片是由同一设备连续拍摄得到时,这些人脸图片非常相似,此时没有必要展示连拍的每张人脸图片,可以将相似的人脸图片过滤掉,仅保留一张或几张人脸图片即可。 For example, when some people face picture multiple faces in the picture is the continuous shooting by the same device, these pictures are very similar to a human face, then there is no need to show the human face of each burst of pictures, like a person can be pictures of faces to filter out, leaving only one or a few human face on the image to. 为此,该智能设备可以对获取到的多张图片进行对比,获取任两张人脸图片的相似度,当确定某两张人脸图片的相似度大于预设相似度时,表示这两张人脸图片非常相似,则该智能设备为其中一张人脸图片添加过滤标识,以保证在播放时仅播放另一张人脸图片即可。 To this end, the smart device can be compared to the acquired multiple images, the similarity of any two faces get a picture when determining the two faces of a picture similarity is greater than a preset similarity, these two represent face picture is very similar to the smart device in which a human face pictures add a filter to identify, to ensure that when another player plays only the face images can be. 其中,该预设相似度可以由该智能设备预先确定,本实施例对此不做限定。 Wherein the predetermined similarity can be predetermined by the smart device, the present embodiment is not limited to this embodiment.

[0136] 需要说明的是,本实施例以同一智能设备执行上述步骤201-206为例进行说明,而在实际应用中,上述步骤201-206还可以由两个不同的智能设备执行。 [0136] Incidentally, in the present embodiment, the same steps 201-206 executes the smart device as an example, but in practical application, the above steps 201-206 may also be performed by two different smart devices. 以第一智能设备和第二智能设备为例,该第一智能设备执行上述步骤201-203,为质量差的人脸图片添加过滤标识后,将多张图片发送给该第二智能设备,该第二智能设备即可执行步骤204-206,播放该多张人脸图片。 After the first and second intelligent device smart device as an example, the first smart device above steps 201-203, add filters identified as poor quality face images, multiple pictures sent to the second smart device, the the second smart device to perform steps 204-206, to play the multiple faces picture.

[0137] 本实施例提供的方法,通过对人脸图片进行人脸质量检测,在采用幻灯片的形式播放图片时,即可对质量差的人脸图片进行过滤,提高了所播放图片的质量,提升了播放效果,避免了质量差的图片对播放效果的影响。 [0137] The method of the present embodiment is provided, by the face image to the face detection quality, when using slide picture playback form, the difference to the quality of the face image is filtered to improve the picture quality of the played to enhance the playback, avoid the impact of poor quality playback of images.

[0138] 图3A是根据一示例性实施例示出的一种图片播放装置的框图。 [0138] FIG 3A is a block diagram of a playback apparatus according to one picture shown to an exemplary embodiment. 参见图3A,该装置包括获取模块301,质量检测模块302和播放模块303。 Referring to Figure 3A, the apparatus includes an obtaining module 301, a detection module 302 and the playback quality module 303.

[0139] 获取模块301被配置为用于获取多张人脸图片; [0139] acquisition module 301 is configured to capture a plurality of facial images;

[0140]质量检测模块302被配置为用于对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,该质量检测结果为第一结果或第二结果,该第一结果优于该第二结果; [0140] Quality detection module 302 is configured for each face image quality for face detection, mass detection results obtained for each face image, the quality of the detection result is the first result or second result, the second the result is better than a second result;

[0141] 播放模块303被配置为用于在采用幻灯片的形式播放所述多张人脸图片时,对质量检测结果为所述第二结果的人脸图片进行过滤。 When the [0141] playback module 303 is configured for playing the plurality of face images in slide form using, the quality of the detection result of the second result of the face image to filtering.

[0142] 本实施例提供的装置,通过对人脸图片进行人脸质量检测,在采用幻灯片的形式播放图片时,即可对质量差的人脸图片进行过滤,提高了所播放图片的质量,提升了播放效果,避免了质量差的图片对播放效果的影响。 [0142] The present embodiment of the apparatus provided by mass, by the face image to the face detection quality, when using slide picture playback form, the difference to the quality of the face image is filtered to improve the playback picture to enhance the playback, avoid the impact of poor quality playback of images.

[0143] 参见图3B,在另一实施例中,该装置还包括: [0143] Referring to Figure 3B, in another embodiment, the apparatus further comprising:

[0144] 添加模块304被配置为用于为质量检测结果为该第二结果的人脸图片添加过滤标识; [0144] adding module 304 is configured for mass detection result to the second result for the face image identification add filter;

[0145] 该播放模块303还被配置为用于在采用幻灯片的形式播放该多张人脸图片时,对已添加该过滤标识的人脸图片进行过滤。 When [0145] The playback module 303 is further configured for playing the multiple faces in the form of pictures using slides, the filter has been added to identify the face images filtered.

[0146] 在另一实施例中,该装置还包括: [0146] In another embodiment, the apparatus further comprising:

[0147] 添加模块304被配置为用于为质量检测结果为该第一结果的人脸图片添加播放标识; [0147] adding module 304 is configured for mass detection result for the first result of the face image to add player identifier;

[0148] 该播放模块303还被配置为用于在采用幻灯片的形式播放该多张人脸图片时,播放已添加该播放标识的人脸图片。 When [0148] The playback module 303 is further configured for playing the multiple faces in the form of pictures using slides, play has been added to identify who the player's face picture.

[0149] 在另一实施例中,该质量检测模块302还被配置为用于对于每张人脸图片,获取该人脸图片的清晰度;当该人脸图片的清晰度大于预设清晰度时,确定该人脸图片的质量检测结果为该第一结果;当该人脸图片的清晰度不大于该预设清晰度时,确定该人脸图片的质量检测结果为该第二结果。 [0149] In another embodiment, the quality detection module 302 is further configured for clarity For each face image, the face image acquired; when the face image is greater than a predetermined resolution definition when determining the quality of the face image detection result for the first result; when the face image clarity is not greater than the predetermined resolution, the quality determination result of the face image is detected for the second result.

[0150] 在另一实施例中,该质量检测模块302还被配置为用于对于每张人脸图片,获取该人脸图片中的人脸姿态与正面姿态之间的姿态偏转角度;当该姿态偏转角度大于预设角度时,确定该人脸图片的质量检测结果为该第二结果;当该姿态偏转角度不大于该预设角度时,确定该人脸图片的质量检测结果为该第一结果。 [0150] In another embodiment, the quality detection module 302 is further configured to for each face image, acquiring the posture of the deflection angle between the face image of the face pose and frontal pose; when the attitude deflection angle is greater than a predetermined angle, determining the quality of the face image detection result for the second result; posture when the deflection angle is not greater than the predetermined angle, determining the quality of the face image detection result for the first result.

[0151] 在另一实施例中,该质量检测模块302还被配置为用于对于每张人脸图片,判断该人脸图片中的眼睛是否处于睁开状态;当该人脸图片中的眼睛处于睁开状态时,确定该人脸图片的质量检测结果为该第一结果;当该人脸图片中的眼睛处于闭合状态时,确定该人脸图片的质量检测结果为该第二结果。 [0151] In another embodiment, the quality detection module 302 is further configured to for each face image, the face image is determined whether the eyes are open condition; when the face image of the eye when in the opened state, it is determined that the quality of the face image detection result for the first result; when the face image of the eye in a closed state, determine the quality of the face image detection result for the second result.

[0152] 在另一实施例中,该获取模块301还被配置为用于将本地相册中的多张人脸图片按照人脸进行划分,得到多个子相册,同一子相册中的人脸图片包括相同的人脸;从该多个子相册中的指定子相册中,获取该多张人脸图片。 [0152] In another embodiment, the obtaining module 301 is further configured for local album plurality of divided face by face image to obtain a plurality of sub-albums, album the same sub-image including a human face the same face; the specified child from the plurality of sub-album album, get the multiple faces picture.

[0153] 关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。 [0153] For the above-described embodiment apparatus, wherein each module performs a specific operation of the embodiment has been described in detail in an embodiment relating to the method, and will not be here described in detail.

[0154] 需要说明的是:上述实施例提供的图片播放装置在播放图片时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将智能设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。 [0154] Note that: the above-described embodiment picture playback apparatus provided in the playback picture, the division of each of the functional modules illustrated practical application, the above functions may be assigned to different functional modules as needed is completed, i.e. the internal architecture of the intelligent device is divided into different functional modules to complete all or part of the functions described above. 另外,上述实施例提供的图片播放装置与图片播放方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。 Further, the above-described embodiments provide images belong to the same embodiment play concept image playback apparatus and method, the specific embodiments of the method implementation process will not be repeated here.

[0155] 图4是根据一示例性实施例示出的一种图片播放装置400的框图。 [0155] FIG. 4 is a picture of an exemplary embodiment of a block diagram illustrating the playback device 400. 例如,装置400可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。 For example, device 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, medical equipment, fitness equipment, personal digital assistant.

[0156] 参照图4,装置400可以包括以下一个或多个组件:处理组件402,存储器404,电源组件406,多媒体组件408,音频组件410,输入/输出(I/O)的接口412,传感器组件414,以及通信组件416。 [0156] Referring to Figure 4, apparatus 400 may include one or more components: a processing component 402, memory 404, power module 406, the multimedia component 408, audio components 410, input / output (I / O) interface 412, a sensor assembly 414, and a communication component 416.

[0157] 处理组件402通常控制装置400的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。 [0157] Processing component 402 generally controls the overall operation of the apparatus 400, such as a display, a telephone call, a data communication operation, camera operations and recording operations associated. 处理组件402可以包括一个或多个处理器420来执行指令,以完成上述的方法的全部或部分步骤。 Processing component 402 may include one or more processors 420 to execute instructions, to perform all or part of the steps of the method described above. 此外,处理组件402可以包括一个或多个模块,便于处理组件402和其他组件之间的交互。 Moreover, processing component 402 may include one or more modules, facilitates the interaction between the processing component 402 and other components. 例如,处理组件402可以包括多媒体模块,以方便多媒体组件408和处理组件402之间的交互。 For example, processing component 402 may include a multimedia module 408 and the multimedia components to facilitate interaction between a processing component 402.

[0158] 存储器404被配置为存储各种类型的数据以支持在装置400的操作。 [0158] The memory 404 is configured to store various types of data to support the operation of the apparatus 400. 这些数据的示例包括用于在装置400上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。 The example of the data comprising any application instructions on the device or method of operation of a 400, contact data, phonebook data, messages, pictures, videos and the like. 存储器404可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。 The memory 404 may be implemented by any type of volatile or non-volatile storage devices, or combinations thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable Read Only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.

[0159] 电源组件406为装置400的各种组件提供电力。 [0159] Power assembly 406 to various components of the device 400 to provide power. 电源组件406可以包括电源管理系统,一个或多个电源,及其他与为装置400生成、管理和分配电力相关联的组件。 Power supply assembly 406 may include a power management system, one or more power sources, and the other is generating apparatus 400, management and distribution of components associated with the power.

[0160]多媒体组件408包括在所述装置400和用户之间的提供一个输出接口的屏幕。 [0160] Display assembly 408 includes means 400 provided between the screen and a user interface output. 在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。 In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). 如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。 If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. 触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。 The touch panel includes one or more touch sensors to sense touch, a gesture on the touch panel and sliding. 所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。 The touch sensor may sense not only a touch or sliding motion of the boundary, but also detecting the touch or sliding correlation operation duration and pressure. 在一些实施例中,多媒体组件408包括一个前置摄像头和/或后置摄像头。 In some embodiments, the multimedia component 408 includes a front camera and / or the rear camera. 当装置400处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。 When the device 400 is in the operating mode, such as the shooting mode or video mode, front camera and / or the rear camera may receive an external multimedia data. 每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。 Each of the front camera and the rear camera may be a fixed optical system or a lens having a focal length and optical zoom capability.

[0161] 音频组件410被配置为输出和/或输入音频信号。 [0161] Audio component 410 is configured to output and / or input audio signal. 例如,音频组件410包括一个麦克风(MIC),当装置400处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。 For example, an audio component 410 comprises a microphone (the MIC), when the device 400 in the operation mode, such as a call mode, recording mode and voice recognition mode, the microphone configured to receive an external audio signal. 所接收的音频信号可以被进一步存储在存储器404或经由通信组件416发送。 The received audio signal may be further stored in the memory 404 or transmitted via the communications component 416. 在一些实施例中,音频组件410还包括一个扬声器,用于输出音频信号。 In some embodiments, an audio component 410 further includes a speaker for outputting an audio signal.

[0162] I/0接口412为处理组件402和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。 [0162] I / 0 interface 412 provides an interface between the processing component 402 and a peripheral interface module, said peripheral interface module may be a keyboard, click wheels, and so the button is. 这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。 These buttons may include, but are not limited to: home button, volume button, start button and the lock button.

[0163] 传感器组件414包括一个或多个传感器,用于为装置400提供各个方面的状态评估。 [0163] The sensor assembly 414 includes one or more sensors, for providing the state of various aspects of the assessment means 400. 例如,传感器组件414可以检测到装置400的打开/关闭状态,组件的相对定位,例如所述组件为装置400的显示器和小键盘,传感器组件414还可以检测装置400或装置400一个组件的位置改变,用户与装置400接触的存在或不存在,装置400方位或加速/减速和装置400的温度变化。 For example, the sensor assembly 414 of the apparatus 400 can detect the open / closed state, the relative positioning of the components, for example, the assembly 400 is a display apparatus and a keypad, the sensor assembly 414 can also change the position detecting means 400 or 400 means a component , absence of user contact with the device 400 or the absence of a temperature change 400 orientation or acceleration / deceleration device 400 and the apparatus. 传感器组件414可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。 The sensor assembly 414 may include a proximity sensor, configured to in the absence of any physical contact to detect the presence of nearby objects. 传感器组件414还可以包括光传感器,如CMOS或(XD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件414还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 The sensor assembly 414 may further include a light sensor, such as CMOS or (XD image sensors, for use in imaging applications. In some embodiments, the sensor assembly 414 may further include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

[0164] 通信组件416被配置为便于装置400和其他设备之间有线或无线方式的通信。 [0164] Communication component 416 is configured to communicate between the device 400 and other devices facilitate wired or wireless manner. 装置400可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。 Device 400 can access the wireless network based communications standards, such as WiFi, 2G or 3G, or combinations thereof. 在一个示例性实施例中,通信组件416经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。 In one exemplary embodiment, communications module 416 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. 在一个示例性实施例中,该通信组件416还包括近场通信(NFC)模块,以促进短程通信。 In one exemplary embodiment, the communications component 416 further comprises a near field communication (NFC) module to facilitate short-range communications. 例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。 For example, the NFC module can be based on radio frequency identification (RFID) technology, infrared data association (IrDA), ultra wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0165] 在示例性实施例中,装置400可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSH))、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。 [0165] In an exemplary embodiment, the apparatus 400 may be substituted with one or more application specific integrated circuits (ASIC), a digital signal processor (DSP), digital signal processing devices (the DSH)), programmable logic devices (PLD) , field programmable gate arrays (the FPGA), a controller, a microcontroller, a microprocessor, or other electronic components to achieve, for performing the above method.

[0166] 在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器404,上述指令可由装置400的处理器420执行以完成上述方法。 [0166] In an exemplary embodiment, further comprising instructions provided a non-transitory computer-readable storage medium such as a memory comprising instructions 404, the command processor 420 by means 400 to perform the above method. 例如,该非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。 For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), CD-ROM, magnetic tapes, floppy disks, and optical data storage devices.

[0167] —种非临时性计算机可读存储介质,当该存储介质中的指令由智能设备的处理器执行时,使得智能设备能够执行一种图片播放方法,该方法包括: [0167] - species of non-transitory computer-readable storage medium, when the storage medium is executed by a processor of the smart device, so that the intelligent device to perform a playback image, the method comprising:

[0168] 获取多张人脸图片; [0168] to obtain more than one face pictures;

[0169] 对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,该质量检测结果为第一结果或第二结果,该第一结果优于该第二结果; [0169] Each of the face image to the face detection quality, the quality of the detection result obtained for each face image, the quality of the detection result is the first result or second result, the second result is better than the first result;

[0170] 在采用幻灯片的形式播放该多张人脸图片时,对质量检测结果为该第二结果的人脸图片进行过滤。 When the [0170] to play the pictures in more than one face in the form of the use of slides, for the second result of the quality of the picture face detection result filtered.

[0171] 在另一实施例中,该方法还包括: [0171] In another embodiment, the method further comprising:

[0172] 为质量检测结果为该第二结果的人脸图片添加过滤标识; [0172] The second result is that the quality of the detection result of the face image identification add filter;

[0173] 该在采用幻灯片的形式播放该多张人脸图片时,对质量检测结果为该第二结果的人脸图片进行过滤,包括: When [0173] the multiple faces of the players in the form of pictures using slides, the quality of the detection results for the second result of face images filtered, including:

[0174] 在采用幻灯片的形式播放该多张人脸图片时,对已添加该过滤标识的人脸图片进行过滤。 When [0174] the player more than one face in the form of pictures using slides, the filter has been added to identify the face images filtered.

[0175] 在另一实施例中,该方法还包括: [0175] In another embodiment, the method further comprising:

[0176] 为质量检测结果为该第一结果的人脸图片添加播放标识; [0176] is the first result of quality test results of face images added Played identity;

[0177] 该在采用幻灯片的形式播放该多张人脸图片时,对质量检测结果为该第二结果的人脸图片进行过滤,包括: When [0177] the multiple faces of the players in the form of pictures using slides, the quality of the detection results for the second result of face images filtered, including:

[0178] 在采用幻灯片的形式播放该多张人脸图片时,播放已添加该播放标识的人脸图片。 When [0178] the player more than one face in the form of pictures using slides, play has been added to the play identifier face picture.

[0179] 在另一实施例中,该对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,包括: [0179] In another embodiment, each face of the image quality for face detection, mass detection results obtained for each face image, comprising:

[0180] 对于每张人脸图片,获取该人脸图片的清晰度; [0180] For each face pictures, get the clarity of the facial image;

[0181] 当该人脸图片的清晰度大于预设清晰度时,确定该人脸图片的质量检测结果为该第一结果; [0181] When the face image definition than a preset definition, determining the quality of the face image detection result for the first result;

[0182] 当该人脸图片的清晰度不大于该预设清晰度时,确定该人脸图片的质量检测结果为该第二结果。 [0182] When the clarity of the facial image is not greater than the predetermined resolution, the quality determination result of the face image is detected for the second result.

[0183] 在另一实施例中,该对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,包括: [0183] In another embodiment, each face of the image quality for face detection, mass detection results obtained for each face image, comprising:

[0184] 对于每张人脸图片,获取该人脸图片中的人脸姿态与正面姿态之间的姿态偏转角度; [0184] For each of face images, access stance deflection angle between the face picture face pose and positive attitude;

[0185]当该姿态偏转角度大于预设角度时,确定该人脸图片的质量检测结果为该第二结果; [0185] When the posture of the deflection angle is greater than a preset angle, determining the quality of the face image detection result for the second result;

[0186]当该姿态偏转角度不大于该预设角度时,确定该人脸图片的质量检测结果为该第一结果。 [0186] When the deflection angle is not greater than the predetermined posture angle, determining the quality of the face image detection result for the first result.

[0187] 在另一实施例中,该对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,包括: [0187] In another embodiment, each face of the image quality for face detection, mass detection results obtained for each face image, comprising:

[0188] 对于每张人脸图片,判断该人脸图片中的眼睛是否处于睁开状态; [0188] For each of face images to determine whether the face in the picture in the eyes opened state;

[0189] 当该人脸图片中的眼睛处于睁开状态时,确定该人脸图片的质量检测结果为该第一结果; [0189] When the face image in the eyes are opened state, it is determined that the quality of the face image detection result for the first result;

[0190] 当该人脸图片中的眼睛处于闭合状态时,确定该人脸图片的质量检测结果为该第二结果。 [0190] When the face image of the eye in a closed state, determine the quality of the face image detection result for the second result.

[0191] 在另一实施例中,该获取多张人脸图片,包括: [0191] In another embodiment, acquiring the plurality of face images, comprising:

[0192] 将本地相册中的多张人脸图片按照人脸进行划分,得到多个子相册,同一子相册中的人脸图片包括相同的人脸; [0192] The local album's more than one face image to be divided in accordance with a human face, to obtain multiple sub-albums, albums of the same sub-human face images include the same face;

[0193] 从该多个子相册中的指定子相册中,获取该多张人脸图片。 [0193] from the plurality of designated sub-sub-album album, get the multiple faces picture.

[0194] 本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。 [0194] Those skilled in the art upon consideration of the specification and practice of the invention disclosed herein, will readily appreciate other embodiments of the present disclosure. 本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。 This application is intended to cover any variations, uses, or adaptations of the present disclosure, these variations, uses, or adaptations following the general principles of the present disclosure and include the common general knowledge in the art of the present disclosure is not disclosed in the conventional techniques or . 说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。 The specification and examples be considered as exemplary only, the true scope and spirit of the present disclosure being indicated by the following claims.

[0195] 应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。 [0195] It should be understood that the present disclosure is not limited to the above has been described and illustrated in the drawings precise structure, and may be departing from its scope various modifications and changes do not. 本公开的范围仅由所附的权利要求来限制。 The scope of the present disclosure is limited only by the appended claims.

Claims (15)

1.一种图片播放方法,其特征在于,所述方法包括: 获取多张人脸图片; 对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,所述质量检测结果为第一结果或第二结果,所述第一结果优于所述第二结果; 在采用幻灯片的形式播放所述多张人脸图片时,对质量检测结果为所述第二结果的人脸图片进行过滤。 An image playback method, characterized in that, said method comprising: obtaining a plurality of face images; for each face image quality for face detection, mass detection results obtained for each face image, the quality the detection result is the first result or second result, better than the first result and the second result; when playing the multiple faces of the slide employed in the form of pictures, the quality of the detection result to the second result people filtered face images.
2.根据权利要求1所述的方法,其特征在于,所述方法还包括: 为质量检测结果为所述第二结果的人脸图片添加过滤标识; 所述在采用幻灯片的形式播放所述多张人脸图片时,对质量检测结果为所述第二结果的人脸图片进行过滤,包括: 在采用幻灯片的形式播放所述多张人脸图片时,对已添加所述过滤标识的人脸图片进行过滤。 2. The method according to claim 1, characterized in that, said method further comprising: detecting the quality of the result is the result of the second face image identifier added filtration; in the form of a slide show when a plurality of face images, the detection result of the quality of the facial image of the second filtering result, comprising: in the form of slide show when the plurality of face images, has been added to the filter identifier people filtered face images.
3.根据权利要求1所述的方法,其特征在于,所述方法还包括: 为质量检测结果为所述第一结果的人脸图片添加播放标识; 所述在采用幻灯片的形式播放所述多张人脸图片时,对质量检测结果为所述第二结果的人脸图片进行过滤,包括: 在采用幻灯片的形式播放所述多张人脸图片时,播放已添加所述播放标识的人脸图片。 3. The method according to claim 1, wherein said method further comprises: adding playback quality detection result is identified as the result of a first face image; the play slide form using the filtered, including a human face image, the quality of the detection result of the facial image of the second plurality of result: when playing the plurality of face images in slide form using, playing the play identifier has been added face picture.
4.根据权利要求1所述的方法,其特征在于,所述对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,包括: 对于每张人脸图片,获取所述人脸图片的清晰度; 当所述人脸图片的清晰度大于预设清晰度时,确定所述人脸图片的质量检测结果为所述第一结果; 当所述人脸图片的清晰度不大于所述预设清晰度时,确定所述人脸图片的质量检测结果为所述第二结果。 4. The method according to claim 1, characterized in that the quality inspection for face of each face image, a detection result obtained by mass each face image, comprising: for each face image, acquired the facial image sharpness; when the facial image is greater than a predetermined resolution definition, determining the quality of the face image detection result for the first result; when the facial image clear when clarity is not greater than the preset, determination of the quality of the face image detection result to the second result.
5.根据权利要求1所述的方法,其特征在于,所述对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,包括: 对于每张人脸图片,获取所述人脸图片中的人脸姿态与正面姿态之间的姿态偏转角度; 当所述姿态偏转角度大于预设角度时,确定所述人脸图片的质量检测结果为所述第二结果; 当所述姿态偏转角度不大于所述预设角度时,确定所述人脸图片的质量检测结果为所述第一结果。 5. The method according to claim 1, characterized in that the quality inspection for face of each face image, a detection result obtained by mass each face image, comprising: for each face image, acquired deflection angle between the posture of the face pose of the face in the frontal pose picture; when the deflection angle is greater than a preset angle of the posture, determining the quality of the face image detection result to the second result; as the posture of the deflection angle is not greater than a predetermined angle, determining the quality of the face image detection result for the first result.
6.根据权利要求1所述的方法,其特征在于,所述对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,包括: 对于每张人脸图片,判断所述人脸图片中的眼睛是否处于睁开状态; 当所述人脸图片中的眼睛处于睁开状态时,确定所述人脸图片的质量检测结果为所述第一结果; 当所述人脸图片中的眼睛处于闭合状态时,确定所述人脸图片的质量检测结果为所述第二结果。 6. The method according to claim 1, characterized in that the quality inspection for face of each face image, a detection result obtained by mass each face image, comprising: for each face image, is determined whether the facial image in the eyes are opened state; when the facial image in the eyes are opened state, determining the quality of the face image detection result for the first result; when the human when the face image of the eye in a closed state, determining the quality of the face image detection result to the second result.
7.根据权利要求1所述的方法,其特征在于,所述获取多张人脸图片,包括: 将本地相册中的多张人脸图片按照人脸进行划分,得到多个子相册,同一子相册中的人脸图片包括相同的人脸; 从所述多个子相册中的指定子相册中,获取所述多张人脸图片。 7. The method according to claim 1, wherein said plurality of face image acquisition, comprising: a plurality of local album divided face by face image to obtain a plurality of sub-album, the same subalbums human face image includes a human face the same; are designated from the plurality of sub-album album, acquiring the plurality of face images.
8.一种图片播放装置,其特征在于,所述装置包括: 获取模块,用于获取多张人脸图片; 质量检测模块,用于对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,所述质量检测结果为第一结果或第二结果,所述第一结果优于所述第二结果; 播放模块,用于在采用幻灯片的形式播放所述多张人脸图片时,对质量检测结果为所述第二结果的人脸图片进行过滤。 8. An image playback apparatus, wherein the apparatus comprises: an obtaining module, configured to obtain a plurality of face images; Mass detection module, for each face image to the face detection by mass, to give each quality detection result of a face image, the quality of the detection result is the first result or second result, better than the first result and the second result; playing module, for use in the form of playing the plurality of slide Zhang face image, the quality of the detection result to the second result of the face image to filtering.
9.根据权利要求8所述的装置,其特征在于,所述装置还包括: 添加模块,用于为质量检测结果为所述第二结果的人脸图片添加过滤标识; 所述播放模块,还用于在采用幻灯片的形式播放所述多张人脸图片时,对已添加所述过滤标识的人脸图片进行过滤。 9. The apparatus according to claim 8, characterized in that said apparatus further comprises: adding means for adding a filter identified as a result of the quality inspection of the second face image result; the playing module is further the time for playing more than one face in the form of pictures using slides, the filter has been added to identify the human face images filtered.
10.根据权利要求8所述的装置,其特征在于,所述装置还包括: 添加模块,用于为质量检测结果为所述第一结果的人脸图片添加播放标识; 所述播放模块,还用于在采用幻灯片的形式播放所述多张人脸图片时,播放已添加所述播放标识的人脸图片。 10. The apparatus according to claim 8, characterized in that said apparatus further comprises: adding means for adding identified as playing quality detection result of the face image as a first result; the playing module is further the time for playing more than one face in the form of pictures using slides, play has been added to the play identifier face picture.
11.根据权利要求8所述的装置,其特征在于,所述质量检测模块还用于对于每张人脸图片,获取所述人脸图片的清晰度;当所述人脸图片的清晰度大于预设清晰度时,确定所述人脸图片的质量检测结果为所述第一结果;当所述人脸图片的清晰度不大于所述预设清晰度时,确定所述人脸图片的质量检测结果为所述第二结果。 11. The apparatus according to claim 8, wherein said quality detection module is further configured for each face image, the face image acquired by the definition; sharpness when the facial image is larger than preset definition, determining the quality of the face image detection result for the first result; when the clarity of the facial image is not greater than the preset definition, determining the quality of the facial image a detection result to the second result.
12.根据权利要求8所述的装置,其特征在于,所述质量检测模块还用于对于每张人脸图片,获取所述人脸图片中的人脸姿态与正面姿态之间的姿态偏转角度;当所述姿态偏转角度大于预设角度时,确定所述人脸图片的质量检测结果为所述第二结果;当所述姿态偏转角度不大于所述预设角度时,确定所述人脸图片的质量检测结果为所述第一结果。 12. The apparatus according to claim 8, wherein said quality detection module is further configured for each facial image, acquiring the posture of the deflection angle between the face image of the face pose and frontal pose ; attitude when the deflection angle is greater than a predetermined angle, determining the quality of the face image detection result for the second result; when the deflection angle is not greater than the preset posture angle, determining the face image quality detection result of the first result.
13.根据权利要求8所述的装置,其特征在于,所述质量检测模块还用于对于每张人脸图片,判断所述人脸图片中的眼睛是否处于睁开状态;当所述人脸图片中的眼睛处于睁开状态时,确定所述人脸图片的质量检测结果为所述第一结果;当所述人脸图片中的眼睛处于闭合状态时,确定所述人脸图片的质量检测结果为所述第二结果。 13. The apparatus according to claim 8, wherein said quality detection module is further configured for each face image, the face image is determined in the eye is in an open state; when the facial when the eyes are opened picture state, determining the quality of the face image detection result for the first result; when the facial image of the eye in a closed state, determining the quality of the detection of the facial image the second result is the result.
14.根据权利要求8所述的装置,其特征在于,所述获取模块还用于将本地相册中的多张人脸图片按照人脸进行划分,得到多个子相册,同一子相册中的人脸图片包括相同的人脸;从所述多个子相册中的指定子相册中,获取所述多张人脸图片。 14. The apparatus according to claim 8, wherein the obtaining module is further configured to local album image to a plurality of divided face by face, to obtain a plurality of sub-album, the same face subalbums They comprise the same face image; are designated from the plurality of sub-album album, acquiring the plurality of face images.
15.一种图片播放装置,其特征在于,包括: 处理器; 用于存储处理器可执行指令的存储器; 其中,所述处理器被配置为: 获取多张人脸图片; 对每张人脸图片进行人脸质量检测,得到每张人脸图片的质量检测结果,所述质量检测结果为第一结果或第二结果,所述第一结果优于所述第二结果; 在采用幻灯片的形式播放所述多张人脸图片时,对质量检测结果为所述第二结果的人脸图片进行过滤。 15. An image playback apparatus comprising: a processor; processor-executable instructions for storing a memory; wherein the processor is configured to: obtain a plurality of face images; on each face image quality for face detection, mass detection results obtained for each face image, the quality of the detection result is the first result or second result, better than the first result and the second result; slide adopting when playing the form of a plurality of face images, the quality of the result of the detection result of the second face image filtering.
CN 201510640839 2015-09-30 2015-09-30 Method and device for playing picture CN105335473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201510640839 CN105335473A (en) 2015-09-30 2015-09-30 Method and device for playing picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201510640839 CN105335473A (en) 2015-09-30 2015-09-30 Method and device for playing picture

Publications (1)

Publication Number Publication Date
CN105335473A true true CN105335473A (en) 2016-02-17

Family

ID=55286000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201510640839 CN105335473A (en) 2015-09-30 2015-09-30 Method and device for playing picture

Country Status (1)

Country Link
CN (1) CN105335473A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159016A (en) * 2007-11-26 2008-04-09 清华大学 Living body detecting method and system based on human face physiologic moving
GB2480521A (en) * 2010-05-21 2011-11-23 Honeywell Int Inc. Face recognition system using secondary cameras for high quality images
CN102262727A (en) * 2011-06-24 2011-11-30 常州锐驰电子科技有限公司 Customer acquisition terminal face images in real-time quality monitoring method
US20140133714A1 (en) * 2009-07-17 2014-05-15 The University Of Maryland Method and apparatus for authenticating biometric scanners
CN104216956A (en) * 2014-08-20 2014-12-17 北京奇艺世纪科技有限公司 Method and device for searching picture information
CN104699842A (en) * 2015-03-31 2015-06-10 百度在线网络技术(北京)有限公司 Method and device for displaying pictures

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159016A (en) * 2007-11-26 2008-04-09 清华大学 Living body detecting method and system based on human face physiologic moving
US20140133714A1 (en) * 2009-07-17 2014-05-15 The University Of Maryland Method and apparatus for authenticating biometric scanners
GB2480521A (en) * 2010-05-21 2011-11-23 Honeywell Int Inc. Face recognition system using secondary cameras for high quality images
CN102262727A (en) * 2011-06-24 2011-11-30 常州锐驰电子科技有限公司 Customer acquisition terminal face images in real-time quality monitoring method
CN104216956A (en) * 2014-08-20 2014-12-17 北京奇艺世纪科技有限公司 Method and device for searching picture information
CN104699842A (en) * 2015-03-31 2015-06-10 百度在线网络技术(北京)有限公司 Method and device for displaying pictures

Similar Documents

Publication Publication Date Title
US20140223548A1 (en) Adapting content and monitoring user behavior based on facial recognition
CN104317932A (en) Photo sharing method and device
CN103220490A (en) Special effect implementation method in video communication and video user terminal
CN104391635A (en) Device and method for unlocking screen
CN104796781A (en) Video clip extraction method and device
CN104219038A (en) Method and device for synchronizing data
CN104063123A (en) Icon displaying method and device
CN103916711A (en) Method and device for playing video signals
CN104112091A (en) File locking method and device
CN104182313A (en) Photographing delay method and device
CN103927165A (en) Wallpaper picture processing method and device
CN104243819A (en) Photo acquiring method and device
CN104754234A (en) Photographing method and device
CN104834665A (en) Target picture acquiring method and device
CN105120099A (en) Shooting control method and device
CN104156186A (en) Health data display method and device
CN104391711A (en) Method and device for setting screen protection
CN103955275A (en) Application control method and device
CN103685958A (en) Information processing method and electronic equipment
CN104378570A (en) Sound recording method and device
CN103607612A (en) Motion identification-based scene sharing method
CN103927350A (en) Smart glasses based prompting method and device
CN105095868A (en) Picture matching method and apparatus
CN104735385A (en) Playing control method and device and electronic equipment
CN105204742A (en) Control method and device of electronic equipment and terminal

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination