CN105335473A - Method and device for playing picture - Google Patents

Method and device for playing picture Download PDF

Info

Publication number
CN105335473A
CN105335473A CN201510640839.6A CN201510640839A CN105335473A CN 105335473 A CN105335473 A CN 105335473A CN 201510640839 A CN201510640839 A CN 201510640839A CN 105335473 A CN105335473 A CN 105335473A
Authority
CN
China
Prior art keywords
face picture
result
face
picture
quality measurements
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510640839.6A
Other languages
Chinese (zh)
Other versions
CN105335473B (en
Inventor
陈志军
张波
张涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510640839.6A priority Critical patent/CN105335473B/en
Publication of CN105335473A publication Critical patent/CN105335473A/en
Application granted granted Critical
Publication of CN105335473B publication Critical patent/CN105335473B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • 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
    • 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/172Classification, e.g. identification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

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 playing method and device
Technical field
The disclosure is directed to field of computer technology, specifically about a kind of picture playing method and device.
Background technology
Along with the development of infotech, the application of picture is more and more extensive, and the form of playing pictures also gets more and more, and picture lantern slide has wherein become a kind of conventional broadcasting form.
Picture lantern slide refers to the form adopting lantern slide, plays plurality of pictures, the form of picture lantern slide all can be adopted under a lot of scene to play.Such as, the multiple pictures comprising same user can be left in same photograph album, and adopt the form of lantern slide, play the multiple pictures in this photograph album successively, comprise the photo of this user with concentrated displaying, strengthen interesting.
Summary of the invention
In order to solve Problems existing in correlation technique, present disclose provides a kind of picture playing method and device.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, provide a kind of picture playing method, described method comprises:
Obtain multiple face picture;
Carrying out face quality testing to often opening face picture, often being opened the quality measurements of face picture, described quality measurements is the first result or the second result, and described first result is better than described second result;
When adopting the form of lantern slide to play multiple face picture described, the face picture that quality measurements is described second result is filtered.
In another embodiment, described method also comprises:
The face picture being described second result for quality measurements adds filter identification;
Described when adopting the form of lantern slide to play multiple face picture described, the face picture that quality measurements is described second result is filtered, comprising:
When adopting the form of lantern slide to play multiple face picture described, the face picture of adding described filter identification is filtered.
In another embodiment, described method also comprises:
The face picture being described first result for quality measurements adds broadcasting mark;
Described when adopting the form of lantern slide to play multiple face picture described, the face picture that quality measurements is described second result is filtered, comprising:
When adopting the form of lantern slide to play multiple face picture described, playing and having added the described face picture playing mark.
In another embodiment, describedly carrying out face quality testing to often opening face picture, often being opened the quality measurements of face picture, comprising:
For often opening face picture, obtain the sharpness of described face picture;
When the sharpness of described face picture is greater than default sharpness, determine that the quality measurements of described face picture is described first result;
When the sharpness of described face picture is not more than described default sharpness, determine that the quality measurements of described face picture is described second result.
In another embodiment, describedly carrying out face quality testing to often opening face picture, often being opened the quality measurements of face picture, comprising:
For often opening face picture, obtain the attitude deflection angle between human face posture in described face picture and frontal pose;
When described attitude deflection angle is greater than predetermined angle, determine that the quality measurements of described face picture is described second result;
When described attitude deflection angle is not more than described predetermined angle, determine that the quality measurements of described face picture is described first result.
In another embodiment, describedly carrying out face quality testing to often opening face picture, often being opened the quality measurements of face picture, comprising:
For often opening face picture, judge whether the eyes in described face picture are in the state of opening;
When the eyes in described face picture be in open state time, determine that the quality measurements of described face picture is described first result;
When the eyes in described face picture are in closure state, determine that the quality measurements of described face picture is described second result.
In another embodiment, multiple face picture of described acquisition, comprising:
Multiple face picture in local photograph album divided according to face, obtain multiple sub-photograph album, the face picture in same sub-photograph album comprises identical face;
From in the sub-photograph album of appointment described multiple sub-photograph album, obtain multiple face picture described.
According to the second aspect of disclosure embodiment, provide a kind of picture playing device, described device comprises:
Acquisition module, for obtaining multiple face picture;
Quality detection module, for carrying out face quality testing to often opening face picture, is often opened the quality measurements of face picture, and described quality measurements is the first result or the second result, and described first result is better than described second result;
Playing module, for when adopting the form of lantern slide to play multiple face picture described, filters the face picture that quality measurements is described second result.
In another embodiment, described device also comprises:
Add module, for for quality measurements being the face picture interpolation filter identification of described second result;
Described playing module, also for when adopting the form of lantern slide to play multiple face picture described, filters the face picture of adding described filter identification.
In another embodiment, described device also comprises:
Add module, for for quality measurements being the face picture interpolation broadcasting mark of described first result;
Described playing module, also for when adopting the form of lantern slide to play multiple face picture described, playing and having added the described face picture playing mark.
In another embodiment, described quality detection module also for for often opening face picture, obtains the sharpness of described face picture; When the sharpness of described face picture is greater than default sharpness, determine that the quality measurements of described face picture is described first result; When the sharpness of described face picture is not more than described default sharpness, determine that the quality measurements of described face picture is described second result.
In another embodiment, described quality detection module, also for for often opening face picture, obtains the attitude deflection angle between human face posture in described face picture and frontal pose; When described attitude deflection angle is greater than predetermined angle, determine that the quality measurements of described face picture is described second result; When described attitude deflection angle is not more than described predetermined angle, determine that the quality measurements of described face picture is described first result.
In another embodiment, described quality detection module also for for often opening face picture, judges whether the eyes in described face picture are in the state of opening; When the eyes in described face picture be in open state time, determine that the quality measurements of described face picture is described first result; When the eyes in described face picture are in closure state, determine that the quality measurements of described face picture is described second result.
In another embodiment, described acquisition module also for multiple face picture in local photograph album being divided according to face, obtains multiple sub-photograph album, and the face picture in same sub-photograph album comprises identical face; From in the sub-photograph album of appointment described multiple sub-photograph album, obtain multiple face picture described.
According to the third aspect of disclosure embodiment, provide a kind of picture playing device, described device comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain multiple face picture;
Carrying out face quality testing to often opening face picture, often being opened the quality measurements of face picture, described quality measurements is the first result or the second result, and described first result is better than described second result;
When adopting the form of lantern slide to play multiple face picture described, the face picture that quality measurements is described second result is filtered.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
The method and apparatus that the present embodiment provides, by carrying out face quality testing to face picture, when adopting the form playing pictures of lantern slide, can filter ropy face picture, improve the quality of institute's playing pictures, improve result of broadcast, avoid the impact of ropy picture on result of broadcast.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of a kind of picture playing method according to an exemplary embodiment;
Fig. 2 is the process flow diagram of a kind of picture playing method according to an exemplary embodiment;
Fig. 3 A is the block diagram of a kind of picture playing device according to an exemplary embodiment;
Fig. 3 B is the block diagram of a kind of picture playing device according to an exemplary embodiment;
Fig. 4 is the block diagram of a kind of picture playing device according to an exemplary embodiment.
Embodiment
For making object of the present disclosure, technical scheme and advantage clearly understand, below in conjunction with embodiment and accompanying drawing, the disclosure is described in further details.At this, exemplary embodiment of the present disclosure and illustrating for explaining the disclosure, but not as to restriction of the present disclosure.
Disclosure embodiment provides a kind of picture playing method and device, is described in detail to the disclosure below in conjunction with accompanying drawing.
Fig. 1 is the process flow diagram of a kind of picture playing method according to an exemplary embodiment, and as shown in Figure 1, picture playing method is used for, in smart machine, comprising the following steps:
In a step 101, multiple face picture are obtained.
In a step 102, carrying out face quality testing, often being opened the quality measurements of face picture to often opening face picture, this quality measurements is the first result or the second result, and this first result is better than this second result.
In step 103, when adopting the form of lantern slide to play these multiple face picture, the face picture that quality measurements is this second result is filtered.
The method that the present embodiment provides, by carrying out face quality testing to face picture, when adopting the form playing pictures of lantern slide, can filter ropy face picture, improve the quality of institute's playing pictures, improve result of broadcast, avoid the impact of ropy picture on result of broadcast.
In another embodiment, the method also comprises:
The face picture being this second result for quality measurements adds filter identification;
When adopting the form of lantern slide to play these multiple face picture, the face picture that quality measurements is this second result should be filtered, comprising:
When adopting the form of lantern slide to play these multiple face picture, the face picture of adding this filter identification is filtered.
In another embodiment, the method also comprises:
The face picture being this first result for quality measurements adds broadcasting mark;
When adopting the form of lantern slide to play these multiple face picture, the face picture that quality measurements is this second result should be filtered, comprising:
When adopting the form of lantern slide to play these multiple face picture, play the face picture of having added this broadcasting mark.
In another embodiment, this carries out face quality testing to often opening face picture, is often opened the quality measurements of face picture, comprising:
For often opening face picture, obtain the sharpness of this face picture;
When the sharpness of this face picture is greater than default sharpness, determine that the quality measurements of this face picture is for this first result;
When the sharpness of this face picture is not more than this default sharpness, determine that the quality measurements of this face picture is for this second result.
In another embodiment, this carries out face quality testing to often opening face picture, is often opened the quality measurements of face picture, comprising:
For often opening face picture, obtain the attitude deflection angle between human face posture in this face picture and frontal pose;
When this attitude deflection angle is greater than predetermined angle, determine that the quality measurements of this face picture is for this second result;
When this attitude deflection angle is not more than this predetermined angle, determine that the quality measurements of this face picture is for this first result.
In another embodiment, this carries out face quality testing to often opening face picture, is often opened the quality measurements of face picture, comprising:
For often opening face picture, judge whether the eyes in this face picture are in the state of opening;
When the eyes in this face picture be in open state time, the quality measurements determining this face picture is this first result;
When the eyes in this face picture are in closure state, determine that the quality measurements of this face picture is for this second result.
In another embodiment, multiple face picture of this acquisition, comprising:
Multiple face picture in local photograph album divided according to face, obtain multiple sub-photograph album, the face picture in same sub-photograph album comprises identical face;
From in the sub-photograph album of appointment the plurality of sub-photograph album, obtain this multiple face picture.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation embodiment of the present disclosure, this is no longer going to repeat them.
Fig. 2 is the process flow diagram of a kind of picture playing method according to an exemplary embodiment, and as shown in Figure 2, picture playing method is used for, in smart machine, comprising the following steps:
In step 201, multiple face picture are obtained.
Wherein, this smart machine can be that mobile phone, computing machine or intelligent television etc. can the equipment of playing pictures, and the present embodiment does not limit this.
The present embodiment is applied under this smart machine adopts the form of lantern slide to play the scene of multiple face picture, and in order to ensure the quality of play face picture, this smart machine can be before being played, first obtaining multiple face picture to be played, carrying out face quality testing to often opening face picture.
This smart machine can obtain the plurality of pictures in local photograph album, also only can obtain multiple face picture in the photograph album corresponding to play instruction detected.
Or, multiple face picture in local photograph album can also divide according to face by this smart machine, obtain multiple sub-photograph album, the face picture in same sub-photograph album is made to comprise identical face, this smart machine can also show the plurality of sub-photograph album, and user can trigger the play instruction to the plurality of sub-photograph album middle finger stator photograph album, when this smart machine receives the play instruction to the sub-photograph album of appointment, from in the sub-photograph album of appointment the plurality of sub-photograph album, obtain this multiple face picture.
Often open in face picture and can comprise one or more face, the face picture comprising same face in units of face, can be gathered same sub-photograph album by this smart machine, thus can play the face picture of a certain face individually.
Such as, face picture A comprises face 1, and face picture B comprises face 2, comprises face 1 and face 2 in face picture C, then face picture A and face picture C can be gathered in first photograph album, face picture B and face picture C be gathered in second photograph album.The form of lantern slide can be adopted in subsequent process to play face picture A and face picture C, or adopt the form of lantern slide to play face picture B and face picture C.
It should be noted that, this smart machine when receiving the play instruction to this plurality of pictures, can obtain this plurality of pictures, carries out face quality testing, play after detection again this plurality of pictures.Or this smart machine before receiving the play instruction to any picture, can also carry out face quality testing to the plurality of pictures got, and when subsequently received play instruction, then plays corresponding picture.The present embodiment does not limit this.
In step 202., carrying out face quality testing, often being opened the quality measurements of face picture to often opening face picture, this quality measurements is the first result or the second result, and this first result is better than this second result.
After getting multiple face picture, this smart machine can carry out face quality testing to often opening face picture, obtains quality measurements, and this quality measurements, for representing the quality of face picture, can be the first result or the second result.Wherein, this first result is better than this second result, that is to say, when the quality measurements of face picture is this first result, represent that the quality of this face picture is better, and when the quality measurements of face picture is this second result, represent the second-rate of this face picture.
When this smart machine carries out face quality testing to face picture, can detect the sharpness of face picture, human face posture, the face index such as whether to close one's eyes, accordingly, often open face picture for be detected, this step 202 can comprise the following steps at least one item in (1)-(3):
(1) sharpness of this face picture is obtained, when the sharpness of this face picture is greater than default sharpness, determine that the quality measurements of this face picture is for this first result, when the sharpness of this face picture is not more than this default sharpness, determine that the quality measurements of this face picture is for this second result.
The sharpness of face picture is larger, and represent that face picture is more clear, quality is better, and the sharpness of face picture is less, and represent that face picture is fuzzyyer, quality is poorer.When this smart machine carries out face quality testing, obtain the sharpness of this face picture, judge whether this sharpness is greater than default sharpness, when this sharpness is greater than this default sharpness, represent that the quality of this face picture is better, then determine that quality measurements is the first result.And when this sharpness is not more than this default sharpness, represent the second-rate of face picture, then determine that quality measurements is the second result.
Wherein, this default sharpness can be determined according to the demand of face picture sharpness by this smart machine, and the present embodiment does not limit this.
(2) the attitude deflection angle between human face posture in this face picture and frontal pose is obtained, when this attitude deflection angle is greater than predetermined angle, determine that the quality measurements of this face picture is for this second result, when this attitude deflection angle is not more than this predetermined angle, determine that the quality measurements of this face picture is for this first result.
Be in frontal pose for benchmark with face, when face turns left or turn right, human face posture can depart from frontal pose in the horizontal direction, and forms certain attitude deflection angle with frontal pose; When people face upward rotate or rotate time, human face posture can depart from frontal pose by the vertical direction, and forms certain attitude deflection angle with frontal pose.
And in a face picture, when the attitude deflection angle between human face posture and frontal pose is excessive, complete face in this face picture, can not be shown, this can have influence on face bandwagon effect, thus has influence on the quality of this face picture.Therefore, when carrying out quality testing, this smart machine can obtain the human face posture in this face picture, calculates the attitude deflection angle between this human face posture and frontal pose, judges whether this attitude deflection angle is greater than predetermined angle.When this attitude deflection angle is greater than this predetermined angle, represent that the attitude deflection angle between human face posture and frontal pose is excessive, face in this face picture is shown imperfect, this face picture second-rate, then this smart machine determination quality measurements is this second result.When this attitude deflection angle is not more than this predetermined angle, represent that the attitude deflection angle between human face posture and frontal pose is less, face in this face picture can completely be shown, the quality of this face picture is better, then this smart machine determination quality measurements is this first result.
Wherein, maximum attitude deflection angle when this predetermined angle can completely can be shown according to face by this smart machine is determined, the present embodiment does not limit this.
In addition, this smart machine can also determine the first predetermined angle in horizontal direction and the second predetermined angle on vertical direction, and obtain this human face posture and frontal pose the first attitude deflection angle in the horizontal direction, and the second attitude deflection angle of this human face posture and frontal pose in the vertical direction, judge whether this first attitude deflection angle is greater than this first predetermined angle, and judge whether this second attitude deflection angle is greater than this second predetermined angle.Only have when this first attitude deflection angle is not more than this first predetermined angle, and when this second attitude deflection angle is also not more than this second predetermined angle, determine that this quality measurements is for this first result, otherwise determine that this quality measurements is for this second result.
(3) judge whether the eyes in this face picture are in the state of opening, when the eyes in this face picture be in open state time, determine that the quality measurements of this face picture is for this first result, when the eyes in this face picture are in closure state, determine that the quality measurements of this face picture is for this second result.
When the eyes closed of face in face picture, this face picture second-rate, relatively, when the eyes of the face in this face picture are opened, the quality of this face picture is better.Therefore, this smart machine is when carrying out face quality testing, can judge whether the eyes in this face picture are in the state of opening, when determine the eyes in this face picture be in open state time, determine that quality measurements is this first result, and when determining that the eyes in this face picture are in closure state, determine that quality measurements is this second result.
Wherein, when whether the eyes judging in this face picture are in and open state, this smart machine can position the point in this face picture, obtain multiple eye contour point, and according to the position of each eye contour point, determine the distribution trajectory of eye contour point, when this distribution trajectory is straight line or one has the curve of less radian, can determine that eyes are in closure state, and when this distribution trajectory is two closed curves, can determine that eyes are in the state of opening.
It should be noted that, the present embodiment only performs wherein one in above-mentioned steps (1)-(3) for this smart machine, in fact, wantonly two or three in above-mentioned steps (1)-(3) can be carried out combination to carry out face quality testing by this smart machine.Such as, so that above-mentioned steps (1) and (2) are combined into example, when determining that the sharpness of this face picture is greater than default sharpness, judge whether the attitude deflection angle between human face posture and frontal pose is greater than predetermined angle, when attitude deflection angle is not more than this predetermined angle, determine that quality measurements is this first result, when attitude deflection angle is greater than this predetermined angle, determine that quality measurements is this second result.
In addition, except sharpness, attitude deflection angle and eye state three kinds of indexs, also comprising other in this face picture can the index of effect diagram tablet quality, and this smart machine can also carry out quality testing according to other indexs of this face picture, and the present embodiment does not limit this.
In step 203, the face picture being this second result for quality measurements adds filter identification.
For the ease of identifying ropy face picture in the process of follow-up play, after this smart machine carries out face quality testing, the face picture that can be this second result for quality measurements adds filter identification, and this filter identification is used to indicate and filters this face picture in playing process.
Such as, this smart machine can add this filter identification in the data head of this face picture, or adds this filter identification etc. in the title of this face picture, and the present embodiment does not limit the mode of adding this filter identification.
In step 204, when adopting the form of lantern slide to play the first face picture, judge whether the second face picture has added this filter identification, if so, perform step 205, if not, perform step 206.
This smart machine adopts the form of lantern slide, when playing multiple face picture, can first sort to these multiple face picture, and according to the order arranged, plays this multiple face picture successively.Wherein, this smart machine can sort according to rise time order from morning to night, or sorts etc. according to picture name, and the present embodiment does not limit sortord.
In the process playing these multiple face picture, in order to improve picture quality, promote result of broadcast, this smart machine can filter the face picture of adding this filter identification.
This filter identification is not added with the first face picture, current first face picture of playing is example, this smart machine is according to putting in order, obtain next face picture of this first face picture, this second face picture i.e., judge whether this second face picture has added this filter identification, thus determine whether to play this second face picture, perform following step 205 or 206 according to judged result.
In step 205, this second face picture is filtered, when playing this first face picture and completing, the face picture after this second face picture is play.
If this second face picture has added this filter identification, then this second face picture is filtered.Namely, when playing this first face picture and completing, this smart machine is without the need to playing this second face picture.In subsequent process, this smart machine can according to putting in order, continue next face picture obtaining this second face picture, i.e. the 3rd face picture, continue to judge whether the 3rd face picture has added this filter identification, when the 3rd face picture has added this filter identification, 3rd face picture is filtered, and when the 3rd face picture does not add this filter identification, when playing this first face picture and completing, play the 3rd face picture, by that analogy, till the face picture being the first result by quality measurements in these multiple face picture finishes playing.
In step 206, when playing this first face picture and completing, play this second face picture, continue to perform step 204 to next face picture of this second face picture.
If this second face picture does not add this filter identification, represent that the quality of this second face picture is better, then, when playing this first face picture and completing, this second face picture can be play.In subsequent process, in the process playing this second face picture, this smart machine can continue next face picture obtaining this second face picture, i.e. the 3rd face picture, continue to carry out the deterministic process shown in above-mentioned steps 204 to the 3rd face picture, by that analogy, till the face picture being the first result by quality measurements in these multiple face picture finishes playing.
It should be noted that, the present embodiment is only to carry out playing being described according to filter identification in above-mentioned steps 203-206, and in another embodiment provided at the present embodiment, this step 203-206 can be replaced by any one in following steps (1)-(3):
(1) face picture of this smart machine to be quality measurements be this first result is added and is play mark, when adopting the form of lantern slide to play the first face picture, judges whether the second face picture has added this broadcasting mark, if, perform step 206, if not, perform step 205.
Wherein, this broadcasting mark is used to indicate plays this face picture in playing process, then this smart machine is when adopting the form of lantern slide to play these multiple face picture, only plays the face picture of having added this broadcasting mark, and no longer plays the face picture of not adding this broadcasting mark.
(2) face picture of this smart machine to be quality measurements be this first result is added and is play mark, and for quality measurements be this second result face picture add filter identification, when adopting the form of lantern slide to play the first face picture, judge whether the second face picture has added this broadcasting mark or this filter identification, if the second face picture adds filter identification, perform step 205, if the second face picture has added this broadcasting mark, perform step 206.
(3) face picture of this smart machine to be quality measurements be this first result is added and is play mark, and for quality measurements be this second result face picture add filter identification, according to the mark of often opening face picture and adding, determine playlist, the face picture of adding this broadcasting mark is only comprised in this playlist, when adopting the form of lantern slide to play face picture, play according to this playlist.
In the present embodiment, this smart machine can also after carrying out face quality testing, before broadcasting, playlist is determined in advance according to often opening the mark that face picture adds, the face picture that quality measurements is the first result is only comprised in this playlist, and do not comprise the face picture that quality measurements is the second result, then when this smart machine is play according to this playlist, ropy face picture can be filtered out.The concrete broadcast mode of the present embodiment to this smart machine does not limit, and only need meet no longer play quality testing result is the face picture of the second result.
In addition, except filtering face picture ropy in plurality of pictures, this smart machine can also filter the similar face picture in this plurality of pictures.Such as, when some face picture in multiple face picture be by same equipment take continuously obtain time, these face picture are closely similar, now there is no need show continuous shooting often open face picture, similar face picture can be filtered out, only retain one or several sheets face picture.For this reason, this smart machine can contrast the plurality of pictures got, obtain the similarity of wantonly two face picture, when determining that the similarity of certain two face picture is greater than default similarity, represent that these two face picture are closely similar, then this smart machine is that wherein a face picture adds filter identification, to ensure only to play another face picture when playing.Wherein, this default similarity can be pre-determined by this smart machine, and the present embodiment does not limit this.
It should be noted that, the present embodiment performs above-mentioned steps 201-206 for same smart machine and is described, and in actual applications, and above-mentioned steps 201-206 can also be performed by two different smart machines.For the first smart machine and the second smart machine, this first smart machine performs above-mentioned steps 201-203, after ropy face picture interpolation filter identification, plurality of pictures is sent to this second smart machine, this second smart machine can perform step 204-206, plays this multiple face picture.
The method that the present embodiment provides, by carrying out face quality testing to face picture, when adopting the form playing pictures of lantern slide, can filter ropy face picture, improve the quality of institute's playing pictures, improve result of broadcast, avoid the impact of ropy picture on result of broadcast.
Fig. 3 A is the block diagram of a kind of picture playing device according to an exemplary embodiment.See Fig. 3 A, this device comprises acquisition module 301, quality detection module 302 and playing module 303.
Acquisition module 301 is configured to for obtaining multiple face picture;
Quality detection module 302 is configured to, for carrying out face quality testing to often opening face picture, often be opened the quality measurements of face picture, and this quality measurements is the first result or the second result, and this first result is better than this second result;
When playing module 303 is configured in and adopts the form of lantern slide to play multiple face picture described, the face picture that quality measurements is described second result is filtered.
The device that the present embodiment provides, by carrying out face quality testing to face picture, when adopting the form playing pictures of lantern slide, can filter ropy face picture, improve the quality of institute's playing pictures, improve result of broadcast, avoid the impact of ropy picture on result of broadcast.
See Fig. 3 B, in another embodiment, this device also comprises:
The face picture that interpolation module 304 is configured to for for quality measurements being this second result adds filter identification;
When this playing module 303 is also configured in and adopts the form of lantern slide to play these multiple face picture, the face picture of adding this filter identification is filtered.
In another embodiment, this device also comprises:
Add module 304 face picture be configured to for for quality measurements being this first result and add broadcasting mark;
When this playing module 303 is also configured in and adopts the form of lantern slide to play these multiple face picture, play the face picture of having added this broadcasting mark.
In another embodiment, this quality detection module 302 is also configured to, for for often opening face picture, obtain the sharpness of this face picture; When the sharpness of this face picture is greater than default sharpness, determine that the quality measurements of this face picture is for this first result; When the sharpness of this face picture is not more than this default sharpness, determine that the quality measurements of this face picture is for this second result.
In another embodiment, this quality detection module 302 is also configured to for for often opening face picture, obtains the attitude deflection angle between human face posture in this face picture and frontal pose; When this attitude deflection angle is greater than predetermined angle, determine that the quality measurements of this face picture is for this second result; When this attitude deflection angle is not more than this predetermined angle, determine that the quality measurements of this face picture is for this first result.
In another embodiment, this quality detection module 302 is also configured to, for for often opening face picture, judge whether the eyes in this face picture are in the state of opening; When the eyes in this face picture be in open state time, the quality measurements determining this face picture is this first result; When the eyes in this face picture are in closure state, determine that the quality measurements of this face picture is for this second result.
In another embodiment, this acquisition module 301 is also configured to for multiple face picture in local photograph album being divided according to face, and obtain multiple sub-photograph album, the face picture in same sub-photograph album comprises identical face; From in the sub-photograph album of appointment the plurality of sub-photograph album, obtain this multiple face picture.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
It should be noted that: the picture playing device that above-described embodiment provides is when playing pictures, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by smart machine is divided into different functional modules, to complete all or part of function described above.In addition, the picture playing device that above-described embodiment provides and picture playing method embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Fig. 4 is the block diagram of a kind of picture playing device 400 according to an exemplary embodiment.Such as, device 400 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 4, device 400 can comprise following one or more assembly: processing components 402, storer 404, power supply module 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of I/O (I/O), sensor module 414, and communications component 416.
The integrated operation of the usual control device 400 of processing components 402, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 402 can comprise one or more processor 420 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 402 can comprise one or more module, and what be convenient between processing components 402 and other assemblies is mutual.Such as, processing components 402 can comprise multi-media module, mutual with what facilitate between multimedia groupware 408 and processing components 402.
Storer 404 is configured to store various types of data to be supported in the operation of device 400.The example of these data comprises for any application program of operation on device 400 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 404 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 406 is device 400 provide electric power.Power supply module 406 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 400 and be associated.
Multimedia groupware 408 is included in the screen providing an output interface between described device 400 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 408 comprises a front-facing camera and/or post-positioned pick-up head.When device 400 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 410 is configured to export and/or input audio signal.Such as, audio-frequency assembly 410 comprises a microphone (MIC), and when device 400 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 404 further or be sent via communications component 416.In certain embodiments, audio-frequency assembly 410 also comprises a loudspeaker, for output audio signal.
I/O interface 412 is for providing interface between processing components 402 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 414 comprises one or more sensor, for providing the state estimation of various aspects for device 400.Such as, sensor module 414 can detect the opening/closing state of device 400, the relative positioning of assembly, such as described assembly is display and the keypad of device 400, the position of all right pick-up unit 400 of sensor module 414 or device 400 1 assemblies changes, the presence or absence that user contacts with device 400, the temperature variation of device 400 orientation or acceleration/deceleration and device 400.Sensor module 414 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 414 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 414 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 416 is configured to the communication being convenient to wired or wireless mode between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 416 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, this communications component 416 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 400 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 404 of instruction, above-mentioned instruction can perform said method by the processor 420 of device 400.Such as, this non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in this storage medium is performed by the processor of smart machine, make smart machine can perform a kind of picture playing method, the method comprises:
Obtain multiple face picture;
Carrying out face quality testing to often opening face picture, often being opened the quality measurements of face picture, this quality measurements is the first result or the second result, and this first result is better than this second result;
When adopting the form of lantern slide to play these multiple face picture, the face picture that quality measurements is this second result is filtered.
In another embodiment, the method also comprises:
The face picture being this second result for quality measurements adds filter identification;
When adopting the form of lantern slide to play these multiple face picture, the face picture that quality measurements is this second result should be filtered, comprising:
When adopting the form of lantern slide to play these multiple face picture, the face picture of adding this filter identification is filtered.
In another embodiment, the method also comprises:
The face picture being this first result for quality measurements adds broadcasting mark;
When adopting the form of lantern slide to play these multiple face picture, the face picture that quality measurements is this second result should be filtered, comprising:
When adopting the form of lantern slide to play these multiple face picture, play the face picture of having added this broadcasting mark.
In another embodiment, this carries out face quality testing to often opening face picture, is often opened the quality measurements of face picture, comprising:
For often opening face picture, obtain the sharpness of this face picture;
When the sharpness of this face picture is greater than default sharpness, determine that the quality measurements of this face picture is for this first result;
When the sharpness of this face picture is not more than this default sharpness, determine that the quality measurements of this face picture is for this second result.
In another embodiment, this carries out face quality testing to often opening face picture, is often opened the quality measurements of face picture, comprising:
For often opening face picture, obtain the attitude deflection angle between human face posture in this face picture and frontal pose;
When this attitude deflection angle is greater than predetermined angle, determine that the quality measurements of this face picture is for this second result;
When this attitude deflection angle is not more than this predetermined angle, determine that the quality measurements of this face picture is for this first result.
In another embodiment, this carries out face quality testing to often opening face picture, is often opened the quality measurements of face picture, comprising:
For often opening face picture, judge whether the eyes in this face picture are in the state of opening;
When the eyes in this face picture be in open state time, the quality measurements determining this face picture is this first result;
When the eyes in this face picture are in closure state, determine that the quality measurements of this face picture is for this second result.
In another embodiment, multiple face picture of this acquisition, comprising:
Multiple face picture in local photograph album divided according to face, obtain multiple sub-photograph album, the face picture in same sub-photograph album comprises identical face;
From in the sub-photograph album of appointment the plurality of sub-photograph album, obtain this multiple face picture.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (15)

1. a picture playing method, is characterized in that, described method comprises:
Obtain multiple face picture;
Carrying out face quality testing to often opening face picture, often being opened the quality measurements of face picture, described quality measurements is the first result or the second result, and described first result is better than described second result;
When adopting the form of lantern slide to play multiple face picture described, the face picture that quality measurements is described second result is filtered.
2. method according to claim 1, is characterized in that, described method also comprises:
The face picture being described second result for quality measurements adds filter identification;
Described when adopting the form of lantern slide to play multiple face picture described, the face picture that quality measurements is described second result is filtered, comprising:
When adopting the form of lantern slide to play multiple face picture described, the face picture of adding described filter identification is filtered.
3. method according to claim 1, is characterized in that, described method also comprises:
The face picture being described first result for quality measurements adds broadcasting mark;
Described when adopting the form of lantern slide to play multiple face picture described, the face picture that quality measurements is described second result is filtered, comprising:
When adopting the form of lantern slide to play multiple face picture described, playing and having added the described face picture playing mark.
4. method according to claim 1, is characterized in that, describedly carries out face quality testing to often opening face picture, is often opened the quality measurements of face picture, comprising:
For often opening face picture, obtain the sharpness of described face picture;
When the sharpness of described face picture is greater than default sharpness, determine that the quality measurements of described face picture is described first result;
When the sharpness of described face picture is not more than described default sharpness, determine that the quality measurements of described face picture is described second result.
5. method according to claim 1, is characterized in that, describedly carries out face quality testing to often opening face picture, is often opened the quality measurements of face picture, comprising:
For often opening face picture, obtain the attitude deflection angle between human face posture in described face picture and frontal pose;
When described attitude deflection angle is greater than predetermined angle, determine that the quality measurements of described face picture is described second result;
When described attitude deflection angle is not more than described predetermined angle, determine that the quality measurements of described face picture is described first result.
6. method according to claim 1, is characterized in that, describedly carries out face quality testing to often opening face picture, is often opened the quality measurements of face picture, comprising:
For often opening face picture, judge whether the eyes in described face picture are in the state of opening;
When the eyes in described face picture be in open state time, determine that the quality measurements of described face picture is described first result;
When the eyes in described face picture are in closure state, determine that the quality measurements of described face picture is described second result.
7. method according to claim 1, is characterized in that, multiple face picture of described acquisition, comprising:
Multiple face picture in local photograph album divided according to face, obtain multiple sub-photograph album, the face picture in same sub-photograph album comprises identical face;
From in the sub-photograph album of appointment described multiple sub-photograph album, obtain multiple face picture described.
8. a picture playing device, is characterized in that, described device comprises:
Acquisition module, for obtaining multiple face picture;
Quality detection module, for carrying out face quality testing to often opening face picture, is often opened the quality measurements of face picture, and described quality measurements is the first result or the second result, and described first result is better than described second result;
Playing module, for when adopting the form of lantern slide to play multiple face picture described, filters the face picture that quality measurements is described second result.
9. device according to claim 8, is characterized in that, described device also comprises:
Add module, for for quality measurements being the face picture interpolation filter identification of described second result;
Described playing module, also for when adopting the form of lantern slide to play multiple face picture described, filters the face picture of adding described filter identification.
10. device according to claim 8, is characterized in that, described device also comprises:
Add module, for for quality measurements being the face picture interpolation broadcasting mark of described first result;
Described playing module, also for when adopting the form of lantern slide to play multiple face picture described, playing and having added the described face picture playing mark.
11. devices according to claim 8, is characterized in that, described quality detection module also for for often opening face picture, obtains the sharpness of described face picture; When the sharpness of described face picture is greater than default sharpness, determine that the quality measurements of described face picture is described first result; When the sharpness of described face picture is not more than described default sharpness, determine that the quality measurements of described face picture is described second result.
12. devices according to claim 8, is characterized in that, described quality detection module, also for for often opening face picture, obtains the attitude deflection angle between human face posture in described face picture and frontal pose; When described attitude deflection angle is greater than predetermined angle, determine that the quality measurements of described face picture is described second result; When described attitude deflection angle is not more than described predetermined angle, determine that the quality measurements of described face picture is described first result.
13. devices according to claim 8, is characterized in that, described quality detection module also for for often opening face picture, judges whether the eyes in described face picture are in the state of opening; When the eyes in described face picture be in open state time, determine that the quality measurements of described face picture is described first result; When the eyes in described face picture are in closure state, determine that the quality measurements of described face picture is described second result.
14. devices according to claim 8, is characterized in that, described acquisition module also for multiple face picture in local photograph album being divided according to face, obtains multiple sub-photograph album, and the face picture in same sub-photograph album comprises identical face; From in the sub-photograph album of appointment described multiple sub-photograph album, obtain multiple face picture described.
15. 1 kinds of picture playing devices, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain multiple face picture;
Carrying out face quality testing to often opening face picture, often being opened the quality measurements of face picture, described quality measurements is the first result or the second result, and described first result is better than described second result;
When adopting the form of lantern slide to play multiple face picture described, the face picture that quality measurements is described second result is filtered.
CN201510640839.6A 2015-09-30 2015-09-30 Picture playing method and device Active CN105335473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510640839.6A CN105335473B (en) 2015-09-30 2015-09-30 Picture playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510640839.6A CN105335473B (en) 2015-09-30 2015-09-30 Picture playing method and device

Publications (2)

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

Family

ID=55286000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510640839.6A Active CN105335473B (en) 2015-09-30 2015-09-30 Picture playing method and device

Country Status (1)

Country Link
CN (1) CN105335473B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109106225A (en) * 2018-07-24 2019-01-01 珠海格力电器股份有限公司 Heating appliance control method and heating appliance
CN108989555B (en) * 2018-07-10 2021-06-04 Oppo广东移动通信有限公司 Image processing method and related product

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 常州锐驰电子科技有限公司 Method for monitoring face image quality at client acquisition terminal in real time
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 常州锐驰电子科技有限公司 Method for monitoring face image quality at client acquisition terminal in real time
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989555B (en) * 2018-07-10 2021-06-04 Oppo广东移动通信有限公司 Image processing method and related product
CN109106225A (en) * 2018-07-24 2019-01-01 珠海格力电器股份有限公司 Heating appliance control method and heating appliance
CN109106225B (en) * 2018-07-24 2021-02-19 珠海格力电器股份有限公司 Heating appliance control method and heating appliance

Also Published As

Publication number Publication date
CN105335473B (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN105828201B (en) Method for processing video frequency and device
CN104284240B (en) Video browsing approach and device
CN104243819A (en) Photo acquiring method and device
CN105791958A (en) Method and device for live broadcasting game
CN105204846A (en) Method for displaying video picture in multi-user video, device and terminal equipment
CN105260732A (en) Image processing method and device
CN106375772A (en) Video playing method and device
CN105469056A (en) Face image processing method and device
CN106331504A (en) Shooting method and device
CN105491284A (en) Preview image display method and device
CN104270565A (en) Image shooting method and device and equipment
CN105117033A (en) Connection method and device of external equipment
CN104933419A (en) Method and device for obtaining iris images and iris identification equipment
CN104460185A (en) Automatic focusing method and device
CN105069426A (en) Similar picture determining method and apparatus
CN104182313A (en) Photographing delay method and device
CN105354560A (en) Fingerprint identification method and device
CN107820006A (en) Control the method and device of camera shooting
CN106598429A (en) Method and device for adjusting window of mobile terminal
CN104216525A (en) Method and device for mode control of camera application
CN105138956A (en) Face detection method and device
CN105100634A (en) Image photographing method and image photographing device
CN104991910A (en) Album creation method and apparatus
CN105335714A (en) Photograph processing method, device and apparatus
CN104536669A (en) Information displaying method and device

Legal Events

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