CN104299001B - Generate the method and device of photograph album - Google Patents
Generate the method and device of photograph album Download PDFInfo
- Publication number
- CN104299001B CN104299001B CN201410535042.5A CN201410535042A CN104299001B CN 104299001 B CN104299001 B CN 104299001B CN 201410535042 A CN201410535042 A CN 201410535042A CN 104299001 B CN104299001 B CN 104299001B
- Authority
- CN
- China
- Prior art keywords
- face
- picture
- photograph album
- pictures
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/172—Classification, e.g. identification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
- G06F16/435—Filtering based on additional data, e.g. user or group profiles
- G06F16/436—Filtering based on additional data, e.g. user or group profiles using biological or physiological data of a human being, e.g. blood pressure, facial expression, gestures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Biophysics (AREA)
- Physiology (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Molecular Biology (AREA)
- General Engineering & Computer Science (AREA)
- Biomedical Technology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Processing Or Creating Images (AREA)
Abstract
The disclosure is directed to it is a kind of generate photograph album method and device, the method includes:It receives photograph album and generates instruction, the photograph album generates instruction and carries target signature and photograph album formation condition;It according to the target signature, treats category images and is handled, obtain target face phylogenetic group, the target face phylogenetic group includes the picture for having the target signature;According to the pictorial information of picture in the photograph album formation condition and the target face phylogenetic group, picture in the target face phylogenetic group is screened, obtains alternative face cluster group, the alternative face cluster group includes meeting the picture of the photograph album formation condition;According to the alternative face cluster group, target face photograph album is generated.Described device includes:Receiving module, processing module, screening module and generation module.The embodiment of the present disclosure is manually treated category images without user and is screened, and the time for generating photograph album and cost are reduced, and then improves the efficiency for generating photograph album.
Description
Technical field
This disclosure relates to picture process field more particularly to a kind of method and device generating photograph album.
Background technology
With the continuous improvement of people's quality of life and the continuous development of mobile technology, the picture of people's shooting can be got over
Come more.And when people want to see the picture of different times shooting, photograph album can be generated according to these pictures.Currently, generating
When photograph album, user needs manually to screen these pictures, then, manually generates photograph album according to the picture filtered out.
However, when the picture of shooting is more, the process of manual screening picture is more complicated, and the time of cost is long, reduces life
At the efficiency of photograph album.
Invention content
To overcome the problems in correlation technique, the disclosure provides a kind of method and device generating photograph album.
According to the first aspect of the embodiments of the present disclosure, a kind of method generating photograph album is provided, the method includes:
It receives photograph album and generates instruction, the photograph album generates instruction and carries target signature and photograph album formation condition;
It according to the target signature, treats category images and is handled, obtain target face phylogenetic group, the target face
Phylogenetic group includes the picture for having the target signature;
According to the pictorial information of picture in the photograph album formation condition and the target face phylogenetic group, to the target person
Picture is screened in face phylogenetic group, obtains alternative face cluster group, and the alternative face cluster group includes meeting the photograph album
The picture of formation condition;
According to the alternative face cluster group, target face photograph album is generated.
Optionally, the pictorial information according to picture in the photograph album formation condition and the target face phylogenetic group,
Picture in the target face phylogenetic group is screened, alternative face cluster group is obtained, including:
According to the pictorial information of picture in the photograph album formation condition and the target face phylogenetic group, to the target person
Picture is screened in face phylogenetic group, obtains multiple first face phylogenetic groups;
The multiple first face phylogenetic group is shown;
When receiving the selection instruction to the first face phylogenetic group of at least one of the multiple first face phylogenetic group
When, at least one first face phylogenetic group is determined as alternative face cluster group.
Optionally, the alternative face cluster group includes multiple son alternatively face cluster groups, and the multiple alternative people of son
Face phylogenetic group is corresponded with multiple sub- periods, and the multiple sub- period is waited for according to what the photograph album formation condition included
Picture number, the picture shooting period for including to the photograph album formation condition is selected to be divided to obtain;
Correspondingly, described that target face photograph album is generated according to the alternative face cluster group, including:
According to preset optimal conditions, according to the optimization algorithm with stochastic behaviour, from the multiple alternative face of son
In phylogenetic group, a pictures are selected respectively, obtain multiple first pictures, and the preset optimal conditions include selection in difference
The picture of shooting time section and spot for photography, selection picture clarity is more than the picture of predetermined threshold value and selection target face is being schemed
The picture in piece centre position;
New folder is created, the new folder includes multiple default photograph album templates;
When the size of multiple first pictures is not equal to the size of default photograph album template, according to the multiple default
The size of photograph album template cuts multiple described first pictures, obtains multiple second pictures respectively;
Multiple described second pictures are filled into respectively in the multiple default photograph album template, target face photograph album is obtained.
Optionally, described to further include after generating target face photograph album according to the alternative face cluster group:
When receiving the replacement instruction to the designated pictures in the target face photograph album, the designated pictures institute is determined
The alternative face cluster group of son;
From the determining alternative face cluster group of son, the corresponding replacement picture of the designated pictures is obtained;
Designated pictures described in the target face photograph album are replaced with into the replacement picture.
Optionally, described to treat category images according to the target signature and handled, target face phylogenetic group is obtained,
Including:
It treats category images and carries out recognition of face, obtain the first picture set, the first picture set includes described waits for
Face picture in category images;
From multiple face pictures of the first picture set, the face characteristic of every face picture is extracted respectively;
According to the face characteristic of the target signature and multiple face pictures, multiple described face pictures are gathered
Class obtains target face phylogenetic group.
Optionally, the face characteristic according to the target signature and multiple face pictures, to multiple described people
Face picture is clustered, and target face phylogenetic group is obtained, including:
According to the face characteristic of multiple face pictures, multiple described face pictures are clustered, multiple people are obtained
Face phylogenetic group;
According to the target signature, the multiple face cluster group is screened, obtains target face phylogenetic group.
According to the second aspect of the embodiment of the present disclosure, a kind of device generating photograph album is provided, described device includes:
Receiving module generates instruction for receiving photograph album, and the photograph album generates instruction carrying target signature and photograph album generates
Condition;
Processing module, for according to the target signature, treating category images and being handled, obtain target face cluster
Group, the target face phylogenetic group include the picture for having the target signature;
Screening module, for being believed according to the picture of picture in the photograph album formation condition and the target face phylogenetic group
Breath, screens picture in the target face phylogenetic group, obtains alternative face cluster group, the alternative face cluster group packet
Include the picture for meeting the photograph album formation condition;
Generation module, for according to the alternative face cluster group, generating target face photograph album.
Optionally, the screening module includes:
Screening unit, for being believed according to the picture of picture in the photograph album formation condition and the target face phylogenetic group
Breath, screens picture in the target face phylogenetic group, obtains multiple first face phylogenetic groups;
Display unit, for showing the multiple first face phylogenetic group;
Determination unit is received for working as at least one of the multiple first face phylogenetic group the first face cluster
When the selection instruction of group, at least one first face phylogenetic group is determined as alternative face cluster group.
Optionally, the alternative face cluster group includes multiple son alternatively face cluster groups, and the multiple alternative people of son
Face phylogenetic group is corresponded with multiple sub- periods, and the multiple sub- period is waited for according to what the photograph album formation condition included
Picture number, the picture shooting period for including to the photograph album formation condition is selected to be divided to obtain;
Correspondingly, the generation module includes:
Selecting unit, for according to preset optimal conditions, according to the optimization algorithm with stochastic behaviour, from described more
In the alternative face cluster group of height, a pictures are selected respectively, obtain multiple first pictures, and the preset optimal conditions include
Picture, selection picture clarity picture more than predetermined threshold value and selection of the selection in different shooting time sections and spot for photography
Picture of the target face in picture centre position;
Creating unit, for creating new folder, the new folder includes multiple default photograph album templates;
Unit is cut, is used for when the size of multiple first pictures is not equal to the size of default photograph album template, root
According to the size of the multiple default photograph album template, multiple described first pictures are cut respectively, obtain multiple second pictures;
Fills unit is obtained for multiple described second pictures to be filled into respectively in the multiple default photograph album template
Target face photograph album.
Optionally, described device further includes:
Determining module, for when receiving the replacement instruction to the designated pictures in the target face photograph album, determining
The alternative face cluster group of son where the designated pictures;
Acquisition module, for from the determining alternative face cluster group of son, obtaining the corresponding replacement figure of the designated pictures
Piece;
Replacement module, for designated pictures described in the target face photograph album to be replaced with the replacement picture.
Optionally, the processing module includes:
Face identification unit carries out recognition of face for treating category images, obtains the first picture set, first figure
Piece set includes the face picture in the picture to be sorted;
Extraction unit, for from multiple face pictures of the first picture set, extracting the people of every face picture respectively
Face feature;
Cluster cell, for according to the face characteristic of the target signature and multiple face pictures, to it is described multiple
Face picture is clustered, and target face phylogenetic group is obtained.
Optionally, the cluster cell includes:
Subelement is clustered, for the face characteristic according to multiple face pictures, multiple described face pictures are carried out
Cluster, obtains multiple face cluster groups;
Subelement is screened, for according to the target signature, being screened to the multiple face cluster group, obtaining target
Face cluster group.
The third aspect according to an embodiment of the present disclosure, provides a kind of device generating photograph album, and described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
It receives photograph album and generates instruction, the photograph album generates instruction and carries target signature and photograph album formation condition;
It according to the target signature, treats category images and is handled, obtain target face phylogenetic group, the target face
Phylogenetic group includes the picture for having the target signature;
According to the pictorial information of picture in the photograph album formation condition and the target face phylogenetic group, to the target person
Picture is screened in face phylogenetic group, obtains alternative face cluster group, and the alternative face cluster group includes meeting the photograph album
The picture of formation condition;
According to the alternative face cluster group, target face photograph album is generated.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiments of the present disclosure, when receiving photograph album generation instruction, the target that instruction carries is generated according to the photograph album
Feature is treated category images and is handled, and target face phylogenetic group is obtained.Then, the shadow that instruction carries is generated further according to photograph album
The pictorial information for collecting picture in formation condition and target face cluster, screens the picture in target face phylogenetic group, obtains
To alternative face cluster group.Finally, according to the picture in alternative face cluster group, target face photograph album is generated.Generating target
During face photograph album, category images is manually treated without user and is screened, and without user manually according to sieve
The picture elected generates photograph album, is entirely that terminal automatically generates photograph album, reduces the time for generating photograph album and cost, in turn
Improve the efficiency for generating photograph album.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not
The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the present invention
Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of flow chart of the method for generation photograph album shown according to an exemplary embodiment.
Fig. 2 is the flow chart according to another method for generating photograph album shown in an exemplary embodiment.
Fig. 3 is a kind of block diagram of the device of generation photograph album shown according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of device shown according to an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is a kind of flow chart of the method for generation photograph album shown according to an exemplary embodiment, as shown in Figure 1, should
The method of photograph album is generated in terminal, including the following steps.
In a step 101, it receives photograph album and generates instruction, photograph album generation instruction carries target signature and photograph album generates item
Part.
In a step 102, it according to target signature, treats category images and is handled, obtain target face phylogenetic group, target
Face cluster group includes the picture for having target signature.
In step 103, according to the pictorial information of picture in photograph album formation condition and target face phylogenetic group, to target person
Picture is screened in face phylogenetic group, obtains alternative face cluster group, and alternative face cluster group includes meeting photograph album formation condition
Picture.
At step 104, according to alternative face cluster group, target face photograph album is generated.
In the embodiments of the present disclosure, when receiving photograph album generation instruction, the target that instruction carries is generated according to the photograph album
Feature is treated category images and is handled, and target face phylogenetic group is obtained.Then, the shadow that instruction carries is generated further according to photograph album
The pictorial information for collecting picture in formation condition and target face cluster, screens the picture in target face phylogenetic group, obtains
To alternative face cluster group.Finally, according to the picture in alternative face cluster group, target face photograph album is generated.Generating target
During face photograph album, category images is manually treated without user and is screened, and without user manually according to sieve
The picture elected generates photograph album, is entirely that terminal automatically generates photograph album, reduces the time for generating photograph album and cost, in turn
Improve the efficiency for generating photograph album.
Optionally, poly- to target face according to the pictorial information of picture in photograph album formation condition and target face phylogenetic group
Picture is screened in class group, obtains alternative face cluster group, including:
According to the pictorial information of picture in photograph album formation condition and target face phylogenetic group, to scheming in target face phylogenetic group
Piece is screened, and multiple first face phylogenetic groups are obtained;
Multiple first face phylogenetic group is shown;
When receiving the selection instruction to the first face phylogenetic group of at least one of multiple first face phylogenetic group,
At least one first face phylogenetic group is determined as alternative face cluster group.
Optionally, alternative face cluster group includes the alternative face cluster group of multiple sons, and the alternative face cluster group of multiple sons
It being corresponded with multiple sub- periods, multiple sub- period is the picture number to be selected for including according to photograph album formation condition,
The picture shooting period that photograph album formation condition includes is divided to obtain;
Correspondingly, according to alternative face cluster group, target face photograph album is generated, including:
It is poly- from the alternative face of multiple son according to the optimization algorithm with stochastic behaviour according to preset optimal conditions
In class group, a pictures are selected respectively, multiple first pictures are obtained, when preset optimal conditions include that selection is in different shootings
Between the picture of section and spot for photography, selection picture clarity be more than predetermined threshold value picture and selection target face among picture
The picture of position;
New folder is created, which includes multiple default photograph album templates;
When the size of multiple the first pictures is not equal to the size of default photograph album template, according to multiple in new folder
The size of default photograph album template, to this, multiple first pictures are cut respectively, obtain multiple second pictures;
Multiple second pictures are filled into respectively in multiple default photograph album templates, target face photograph album is obtained.
Optionally, further include after generating target face photograph album according to alternative face cluster group:
When receiving the replacement instruction to the designated pictures in target face photograph album, the son where determining designated pictures is standby
It chooses face phylogenetic group;
From the determining alternative face cluster group of son, the corresponding replacement picture of designated pictures is obtained;
Designated pictures in target face photograph album are replaced with into replacement picture.
Optionally, it according to target signature, treats category images and is handled, obtain target face phylogenetic group, including:
It treats category images and carries out recognition of face, obtain the first picture set, the first picture set includes picture to be sorted
In face picture;
From multiple face pictures of the first picture set, the face characteristic of every face picture is extracted respectively;
According to the face characteristic of target signature and multiple face pictures, multiple face pictures are clustered, target is obtained
Face cluster group.
Optionally, according to the face characteristic of target signature and multiple face pictures, multiple face pictures is clustered, are obtained
To target face phylogenetic group, including:
According to the face characteristic of multiple face pictures, multiple face pictures are clustered, obtain multiple face cluster groups;
According to target signature, multiple face cluster groups are screened, obtain target face phylogenetic group.
Above-mentioned all optional technical solutions, can form the alternative embodiment of the disclosure according to any combination, and the disclosure is real
Example is applied no longer to repeat this one by one.
Fig. 2 is a kind of method flow diagram of generation photograph album shown according to an exemplary embodiment.As shown in Fig. 2, the life
At the method for photograph album in terminal, including the following steps.
In step 201, it receives photograph album and generates instruction, photograph album generation instruction carries target signature and photograph album generates item
Part.
When user wants to generate photograph album, photograph album can be submitted to generate instruction by the generation button in terminal interface.When
So, photograph album can also be submitted to generate instruction in other way, for example, to the slide of terminal interface, single-click operation, double
Hit operation, voice operating etc..The embodiment of the present disclosure is not specifically limited this.
Wherein, target signature can be target person face feature, can also be Target Photo keyword, the target face characteristic
It can extract and obtain from the picture where target face, which can be the corresponding people of the target face
Name, the embodiment of the present disclosure are not specifically limited this.In addition, photograph album formation condition may include:Picture shooting period, picture
Spot for photography, picture quality, picture direction and picture number to be selected etc., the embodiment of the present disclosure does not do this equally specific limit
It is fixed.
In step 202, it according to target signature, treats category images and is handled, obtain target face phylogenetic group, target
Face cluster group includes the picture for having target signature.
Wherein, picture to be sorted is the picture of user's shooting, and the purpose of the embodiment of the present disclosure is to generate target face shadow
Collection, is handled it is therefore desirable to treat category images, to obtain the picture with target signature.And according to target signature, it is right
Picture to be sorted is handled, and is obtained the operation of target face phylogenetic group and can is:It treats category images and carries out recognition of face, obtain
To the first picture set, the first picture set includes the face picture in picture to be sorted;From multiple people of the first picture set
In face picture, the face characteristic of every face picture is extracted respectively;According to the face characteristic of target signature and multiple face pictures,
Multiple face pictures are clustered, target face phylogenetic group is obtained.
Wherein, according to the face characteristic of target signature and multiple face pictures, multiple face pictures is clustered, are obtained
Target face phylogenetic group, including:According to the face characteristic of multiple face pictures, multiple face pictures are clustered, are obtained more
A face phylogenetic group;According to target signature, multiple face cluster group is screened, obtains target face phylogenetic group.
According to the face characteristic of multiple face pictures, multiple face pictures are clustered, obtain multiple face cluster groups
Operation be:The face characteristic of multiple face pictures is compared, there will be the pictures of identical face characteristic to be divided into one group,
To obtain multiple face cluster groups.
Can also be Target Photo keyword in addition, since target signature can be not only target person face feature.Work as target
When characterized by target face characteristic, according to target signature, multiple face cluster group is screened, target face cluster is obtained
Group operation be:Target face characteristic is compared with the face characteristic in multiple face cluster group, from multiple face
Face characteristic face cluster group identical with target face characteristic is selected in phylogenetic group, and the face cluster group of selection is determined as mesh
Mark face cluster group.When target signature is Target Photo keyword, according to target signature, multiple face cluster group is carried out
Screening, the operation for obtaining target face phylogenetic group are:The picture keyword of picture in multiple face cluster group is obtained respectively, it will
The multiple picture keywords obtained are compared with Target Photo keyword, select picture crucial from multiple face cluster group
The face cluster group of selection is determined as target face phylogenetic group by word face cluster group identical with Target Photo keyword.
Further, it according to target signature, treats after category images handled, target face cluster can also be calculated
The picture quality of picture in group, it is convenient that subsequently the picture in target face phylogenetic group is screened.And when calculating picture quality,
The picture feature extracted from picture, for example, face pixel size, face clarity and picture saturation degree etc., then obtain every
The corresponding weight of a picture, each picture feature weight corresponding with each picture feature is multiplied, obtains multiple first
Multiple first numerical value are added, obtain second value, second value is normalized, obtain the picture by numerical value
Picture quality.
In addition, if when a pictures include multiple faces, at this time, it may be necessary to be calculated separately once for different faces
Picture quality, for example, when multiple people take a group photo, the comparison that somebody claps is concentrated, and somebody is out-of-focus, so, for
Different faces, the picture quality are different.
In step 203, according to the pictorial information of picture in photograph album formation condition and target face phylogenetic group, to target person
Picture is screened in face phylogenetic group, obtains alternative face cluster group, and alternative face cluster group includes meeting photograph album formation condition
Picture.
The operation that this step obtains alternative face cluster group can be:According to photograph album formation condition and target face phylogenetic group
The pictorial information of middle picture screens picture in target face phylogenetic group, obtains multiple first face phylogenetic groups;This is more
A first face phylogenetic group is shown;It is poly- at least one of multiple first face phylogenetic group the first face when receiving
When the selection instruction of class group, which is determined as alternative face cluster group.
Since the picture in target face phylogenetic group may include the picture of shooting of multiple periods, for example, including 2012
The picture of the shooting of year, 2013 and 2014, so, according to the picture of picture in photograph album formation condition and target face phylogenetic group
Information may obtain multiple first face phylogenetic groups when being screened to picture in target face phylogenetic group.In order to ensure most
Throughout one's life at target face photograph album meet the demand of user, in the embodiments of the present disclosure, by multiple first face phylogenetic group into
Row display, so that user is selected from multiple first face phylogenetic group, to make generation target face photograph album effect
Preferably, more meet the demand of user.
It should be noted that pictorial information mentioned above may include picture shooting time, picture shooting place, picture
Quality and picture direction etc., the embodiment of the present disclosure is not specifically limited this.In addition, the picture in alternative face cluster group differs
Surely the full terms in photograph album formation condition are had to comply with, at least one condition in photograph album formation condition can be met.
It may include picture shooting period and a picture to be selected that photograph album formation condition is mentioned in above-mentioned steps 201
Number, in order to make the picture in the target face photograph album ultimately generated be located at different periods, terminal can be according to photograph album formation condition
Including picture number to be selected, the picture shooting period that photograph album formation condition includes is divided, multiple period of the day from 11 p.m. to 1 a.m are obtained
Between section.And according to multiple sub- period, alternative face cluster group is divided into the alternative face cluster group of multiple sons, multiple son
Alternative face cluster group is corresponded with multiple sub- periods.
In step 204, alternative from this according to the optimization algorithm with stochastic behaviour according to preset optimal conditions
In the alternative face cluster group of multiple sons that face cluster group includes, a pictures are selected respectively, obtain multiple first pictures, are preset
Optimal conditions include that picture of the selection in different shooting time sections and spot for photography, selection picture clarity are more than default threshold
Picture of the picture and selection target face of value in picture centre position.
According to the optimization algorithm with stochastic behaviour, the first picture of multiple chosen meets preset optimization item
Part, that is, multiple first pictures are to be in different shooting time sections and spot for photography, and the picture clarity of multiple the first pictures is big
In the picture of predetermined threshold value, and the target face in multiple first pictures is in the centre position of picture.Ensure so most lifelong
At target face photograph album have and recall property, and the picture effect in photograph album is preferable.
In the embodiments of the present disclosure, the optimization algorithm with stochastic behaviour can be genetic algorithm, it is, of course, also possible to be
Other algorithms, the embodiment of the present disclosure are not specifically limited this.In addition, preset optimal conditions may include not only above-mentioned institute
The condition listed can also include other optimal conditions, for example, select the direction of photo to be longitudinal, the embodiment of the present disclosure pair
This is equally not specifically limited.
In step 205, new folder is created, which includes multiple default photograph album templates.
After terminal selects multiple first pictures, the picture got in target face photograph album is determined, at this point, terminal
The number of the picture number or the first picture to be selected that can include according to photograph album formation condition, from the default photograph album mould of storage
Multiple default photograph album templates are obtained in plate, and create new folder.
In step 206, when this, the size of multiple the first pictures is not equal to the size of default photograph album template, according to this
The size of multiple default photograph album templates in new folder, to this, multiple first pictures are cut respectively, obtain multiple second
Picture.
The sizes of multiple default photograph album templates that new folder includes may be different, so, to this multiple first pictures into
Before row is cut, need to randomly choose a default photograph album template respectively for multiple first pictures, then, according to every first
The size of the corresponding default photograph album template of picture, respectively cuts every first picture.
In addition, for any first picture in multiple first pictures, when being cut to first picture, if this
It further includes removing target person that the size of one picture, which is more than the size of the corresponding default photograph album template of first picture and first picture,
Other faces except face, then according to the size of the corresponding default photograph album template of first picture, by other in first picture
Face crops, and obtains target face segment, and target face segment is determined as second picture.
In step 207, multiple second pictures are filled into respectively in multiple default photograph album templates, obtain target face shadow
Collection.
Further, according to alternative face cluster group, after generating target face photograph album, if user is to the target face
When certain pictures in photograph album are dissatisfied, user can submit the replacement instruction to the pictures to terminal, when terminal receives
When to the replacement instructions of the designated pictures in target face photograph album, the alternative face cluster group of son where determining designated pictures;From
In the alternative face cluster group of determining son, the corresponding replacement picture of designated pictures is obtained;By the specified figure of this in target face photograph album
Piece replaces with the replacement picture.
It wherein,, can be from this when obtaining the corresponding replacement picture of designated pictures from the alternative face cluster group of determining son
In the picture that sub alternative face cluster group includes, other pictures in addition to designated pictures are obtained, and random from other pictures
Select a pictures as replacement picture.It is, of course, also possible to the position residing for the picture clarity of other pictures, target face
It sets, a pictures is selected from other pictures as picture, the embodiment of the present disclosure is replaced, this is not specifically limited.
Optionally, in another exemplary embodiment of the present disclosure, if user is to certain in the target face photograph album
When picture is unsatisfied with, terminal can be replaced the designated pictures according to the above method, and certainly, terminal can also basis again
Preset optimal conditions, according to the optimization algorithm with stochastic behaviour, the multiple sons for including from alternative face cluster group are alternative
In face cluster group, a pictures are selected respectively, are obtained multiple first pictures and are then re-executed step 206 and step 207,
Regenerate target face photograph album.
Further, after generating target face photograph album, user can also add into the target face photograph album
Descriptive word etc. keeps the picture effect of target face photograph album more preferably abundant, various.
It should be noted that in the embodiments of the present disclosure, target face photograph album show form can be photograph album pattern and
Picture mosaic pattern, it is, of course, also possible to be animation style, the embodiment of the present disclosure is not specifically limited this.
In the embodiments of the present disclosure, when receiving photograph album generation instruction, the target that instruction carries is generated according to the photograph album
Feature is treated category images and is handled, and target face phylogenetic group is obtained.Then, the shadow that instruction carries is generated further according to photograph album
The pictorial information for collecting picture in formation condition and target face cluster, screens the picture in target face phylogenetic group, obtains
To alternative face cluster group.Finally, according to the picture in alternative face cluster group, target face photograph album is generated.Generating target
During face photograph album, category images is manually treated without user and is screened, and without user manually according to sieve
The picture elected generates photograph album, is entirely that terminal automatically generates photograph album, reduces the time for generating photograph album and cost, in turn
Improve the efficiency for generating photograph album.
Fig. 3 is a kind of device block diagram of generation photograph album shown according to an exemplary embodiment.With reference to Fig. 3, the device packet
Include receiving module 301, processing module 302, screening module 303 and generation module 304.
Receiving module 301 generates instruction for receiving photograph album, and photograph album generates instruction carrying target signature and photograph album generates item
Part;
Processing module 302, for according to target signature, treating category images and being handled, obtain target face phylogenetic group,
Target face phylogenetic group includes the picture for having target signature;
Screening module 303, for the pictorial information according to picture in photograph album formation condition and target face phylogenetic group, to mesh
Picture is screened in mark face cluster group, obtains alternative face cluster group, and alternative face cluster group includes meeting photograph album generation
The picture of condition;
Generation module 304, for according to alternative face cluster group, generating target face photograph album.
Optionally, screening module 303 includes:
Screening unit, for the pictorial information according to picture in photograph album formation condition and target face phylogenetic group, to target
Picture is screened in face cluster group, obtains multiple first face phylogenetic groups;
Display unit, for showing multiple first face phylogenetic groups;
Determination unit is received for working as to the first face phylogenetic group of at least one of multiple first face phylogenetic groups
When selection instruction, which is determined as alternative face cluster group.
Optionally, alternative face cluster group includes multiple son alternatively face cluster groups, and multiple alternative face cluster of son
Group is corresponded with multiple sub- periods, and multiple sub- period is the picture to be selected for including according to photograph album formation condition
Number, is divided to obtain to the picture shooting period that photograph album formation condition includes;
Correspondingly, generation module 304 includes:
Selecting unit, for according to preset optimal conditions, according to the optimization algorithm with stochastic behaviour, from multiple
In sub alternative face cluster group, a pictures are selected respectively, obtain multiple first pictures, preset optimal conditions include at selection
It is more than picture and the selection target people of predetermined threshold value in the picture of different shooting time sections and spot for photography, selection picture clarity
Picture of the face in picture centre position;
Creating unit, for creating new folder, which includes multiple default photograph album templates;
Unit is cut, is used for when the size of multiple the first pictures is not equal to the size of default photograph album template, according to this
The size of multiple default photograph album templates, cuts multiple first pictures, obtains multiple second pictures respectively in new folder;
Fills unit obtains target face for multiple second pictures to be filled into respectively in multiple default photograph album templates
Photograph album.
Optionally, which further includes:
Determining module, it is specified for when receiving the replacement instruction to the designated pictures in target face photograph album, determining
The alternative face cluster group of son where picture;
Acquisition module, for from the determining alternative face cluster group of son, obtaining the corresponding replacement picture of designated pictures;
Replacement module, for designated pictures in target face photograph album to be replaced with the replacement picture.
Optionally, processing module 302 includes:
Face identification unit carries out recognition of face for treating category images, obtains the first picture set, the first pictures
Conjunction includes the face picture in picture to be sorted;
Extraction unit, for from multiple face pictures of the first picture set, extracting the people of every face picture respectively
Face feature;
Cluster cell, for according to the face characteristic of target signature and multiple face pictures, to multiple face pictures into
Row cluster, obtains target face phylogenetic group.
Optionally, cluster cell includes:
Subelement is clustered, for the face characteristic according to multiple face pictures, multiple face pictures is clustered, are obtained
Multiple face cluster groups;
Subelement is screened, for according to target signature, being screened to multiple face cluster group, it is poly- to obtain target face
Class group.
In the embodiments of the present disclosure, when receiving photograph album generation instruction, the target that instruction carries is generated according to the photograph album
Feature is treated category images and is handled, and target face phylogenetic group is obtained.Then, the shadow that instruction carries is generated further according to photograph album
The pictorial information for collecting picture in formation condition and target face cluster, screens the picture in target face phylogenetic group, obtains
To alternative face cluster group.Finally, according to the picture in alternative face cluster group, target face photograph album is generated.Generating target
During face photograph album, category images is manually treated without user and is screened, and without user manually according to sieve
The picture elected generates photograph album, is entirely that terminal automatically generates photograph album, reduces the time for generating photograph album and cost, in turn
Improve the efficiency for generating photograph album.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 is a kind of block diagram for generating the device 400 of photograph album shown according to an exemplary embodiment.For example, dress
It can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment to set 400
Equipment, body-building equipment, personal digital assistant etc..
With reference to Fig. 4, device 400 may include following one or more components:Processing component 402, memory 404, power supply
Component 406, multimedia component 408, audio component 410, the interface 412 of input/output (I/O), sensor module 414, and
Communication component 416.
The integrated operation of 402 usual control device 400 of processing component, such as with display, call, data communication, phase
Machine operates and record operates associated operation.Processing element 402 may include that one or more processors 420 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 402 may include one or more modules, just
Interaction between processing component 402 and other assemblies.For example, processing component 402 may include multi-media module, it is more to facilitate
Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in equipment 400.These data are shown
Example includes instruction for any application program or method that are operated on device 400, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Electric power assembly 406 provides electric power for the various assemblies of device 400.Electric power assembly 406 may include power management system
System, one or more power supplys and other generated with for device 400, management and the associated component of distribution electric power.
Multimedia component 408 is included in the screen of one output interface of offer between described device 400 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 408 includes a front camera and/or rear camera.When equipment 400 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 410 is configured as output and/or input audio signal.For example, audio component 410 includes a Mike
Wind (MIC), when device 400 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The received audio signal can be further stored in memory 404 or via communication set
Part 416 is sent.In some embodiments, audio component 410 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 412 provide interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor module 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented
Estimate.For example, sensor module 414 can detect the state that opens/closes of equipment 400, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 400, and sensor module 414 can be with 400 1 components of detection device 400 or device
Position change, the existence or non-existence that user contacts with device 400,400 orientation of device or acceleration/deceleration and device 400
Temperature change.Sensor module 414 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 414 can also include optical sensor, such as CMOS or CCD photo sensors, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device
400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation
In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 416 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be believed by one or more application application-specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of
Such as include the memory 404 of instruction, above-metioned instruction can be executed by the processor 420 of device 400 to complete the above method.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal
When device executes so that mobile terminal is able to carry out a kind of method generating photograph album, the method includes:
It receives photograph album and generates instruction, which generates instruction and carry target signature and photograph album formation condition;
It according to target signature, treats category images and is handled, obtain target face phylogenetic group, target face phylogenetic group packet
Include the picture with target signature;
According to the pictorial information of picture in photograph album formation condition and target face phylogenetic group, to scheming in target face phylogenetic group
Piece is screened, and alternative face cluster group is obtained, and alternative face cluster group includes meeting the picture of photograph album formation condition;
According to alternative face cluster group, target face photograph album is generated.
Optionally, poly- to target face according to the pictorial information of picture in photograph album formation condition and target face phylogenetic group
Picture is screened in class group, obtains alternative face cluster group, including:
According to the pictorial information of picture in photograph album formation condition and target face phylogenetic group, to scheming in target face phylogenetic group
Piece is screened, and multiple first face phylogenetic groups are obtained;
Multiple first face phylogenetic group is shown;
When receiving the selection instruction to the first face phylogenetic group of at least one of multiple first face phylogenetic group,
At least one first face phylogenetic group is determined as alternative face cluster group.
Optionally, alternative face cluster group includes the alternative face cluster group of multiple sons, and the alternative face cluster group of multiple sons
It being corresponded with multiple sub- periods, multiple sub- period is the picture number to be selected for including according to photograph album formation condition,
The picture shooting period that photograph album formation condition includes is divided to obtain;
Correspondingly, according to alternative face cluster group, target face photograph album is generated, including:
It is poly- from the alternative face of multiple son according to the optimization algorithm with stochastic behaviour according to preset optimal conditions
In class group, a pictures are selected respectively, multiple first pictures are obtained, when preset optimal conditions include that selection is in different shootings
Between the picture of section and spot for photography, selection picture clarity be more than predetermined threshold value picture and selection target face among picture
The picture of position;
New folder is created, which includes multiple default photograph album templates;
When the size of multiple the first pictures is not equal to the size of default photograph album template, according to multiple in new folder
The size of default photograph album template, to this, multiple first pictures are cut respectively, obtain multiple second pictures;
Multiple second pictures are filled into respectively in multiple default photograph album templates, target face photograph album is obtained.
Optionally, further include after generating target face photograph album according to alternative face cluster group:
When receiving the replacement instruction to the designated pictures in target face photograph album, the son where determining designated pictures is standby
It chooses face phylogenetic group;
From the determining alternative face cluster group of son, the corresponding replacement picture of designated pictures is obtained;
Designated pictures in target face photograph album are replaced with into replacement picture.
Optionally, it according to target signature, treats category images and is handled, obtain target face phylogenetic group, including:
It treats category images and carries out recognition of face, obtain the first picture set, the first picture set includes picture to be sorted
In face picture;
From multiple face pictures of the first picture set, the face characteristic of every face picture is extracted respectively;
According to the face characteristic of target signature and multiple face pictures, multiple face pictures are clustered, target is obtained
Face cluster group.
Optionally, according to the face characteristic of target signature and multiple face pictures, multiple face pictures is clustered, are obtained
To target face phylogenetic group, including:
According to the face characteristic of multiple face pictures, multiple face pictures are clustered, obtain multiple face cluster groups;
According to target signature, multiple face cluster groups are screened, obtain target face phylogenetic group.
In the embodiments of the present disclosure, when receiving photograph album generation instruction, the target that instruction carries is generated according to the photograph album
Feature is treated category images and is handled, and target face phylogenetic group is obtained.Then, the shadow that instruction carries is generated further according to photograph album
The pictorial information for collecting picture in formation condition and target face cluster, screens the picture in target face phylogenetic group, obtains
To alternative face cluster group.Finally, according to the picture in alternative face cluster group, target face photograph album is generated.Generating target
During face photograph album, category images is manually treated without user and is screened, and without user manually according to sieve
The picture elected generates photograph album, is entirely that terminal automatically generates photograph album, reduces the time for generating photograph album and cost, in turn
Improve the efficiency for generating photograph album.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the present invention
Its embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or
Person's adaptive change follows the general principle of the present invention and includes the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the invention is not limited in the precision architectures for being described above and being shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
Claims (9)
1. a kind of method generating photograph album, which is characterized in that the method includes:
It receives photograph album and generates instruction, the photograph album generates instruction and carries target signature and photograph album formation condition, and the photograph album generates
Condition includes picture shooting period and picture number to be selected;
It according to the target signature, treats category images and is handled, obtain target face phylogenetic group, the target face cluster
Group includes the picture for having the target signature;
It is poly- to the target face according to the pictorial information of picture in the photograph album formation condition and the target face phylogenetic group
Picture is screened in class group, obtains alternative face cluster group, and the alternative face cluster group includes meeting the photograph album to generate
The picture of condition, and include the alternative face cluster group of multiple sons, the multiple alternative face cluster group of son and multiple sub- periods
It corresponds, the multiple sub- period is the picture number to be selected for including according to the photograph album formation condition, to the shadow
The picture shooting period that collection formation condition includes is divided to obtain;
According to preset optimal conditions, according to the optimization algorithm with stochastic behaviour, from the multiple alternative face cluster of son
In group, a pictures are selected respectively, obtain multiple first pictures, and the preset optimal conditions include that selection is in different shootings
The picture of period and spot for photography, selection picture clarity be more than predetermined threshold value picture and selection target face in picture
Between position picture;
The number of the picture number to be selected or multiple first pictures that include according to the photograph album formation condition, from storage
Default photograph album template in obtain multiple default photograph album templates, and create new folder, the new folder includes described more
A default photograph album template;
When the size of multiple first pictures is not equal to the size of default photograph album template, according to the multiple default photograph album
The size of template cuts multiple described first pictures, obtains multiple second pictures respectively;
Multiple described second pictures are filled into respectively in the multiple default photograph album template, target face photograph album is obtained;
When receiving the replacement instruction to the designated pictures in the target face photograph album, where determining the designated pictures
Sub alternative face cluster group;
From the determining alternative face cluster group of son, the corresponding replacement picture of the designated pictures is obtained;
Designated pictures described in the target face photograph album are replaced with into the replacement picture.
2. according to the method described in claim 1, it is characterized in that, described according to the photograph album formation condition and the target person
The pictorial information of picture in face phylogenetic group screens picture in the target face phylogenetic group, obtains alternative face cluster
Group, including:
It is poly- to the target face according to the pictorial information of picture in the photograph album formation condition and the target face phylogenetic group
Picture is screened in class group, obtains multiple first face phylogenetic groups;
The multiple first face phylogenetic group is shown;
It, will when receiving the selection instruction to the first face phylogenetic group of at least one of the multiple first face phylogenetic group
At least one first face phylogenetic group is determined as alternative face cluster group.
3. according to the method described in claim 1, it is characterized in that, described according to the target signature, treat category images into
Row processing, obtains target face phylogenetic group, including:
It treats category images and carries out recognition of face, obtain the first picture set, the first picture set includes described to be sorted
Face picture in picture;
From multiple face pictures of the first picture set, the face characteristic of every face picture is extracted respectively;
According to the face characteristic of the target signature and multiple face pictures, multiple described face pictures are clustered,
Obtain target face phylogenetic group.
4. according to the method described in claim 3, it is characterized in that, described according to the target signature and multiple described face figures
The face characteristic of piece clusters multiple described face pictures, obtains target face phylogenetic group, including:
According to the face characteristic of multiple face pictures, multiple described face pictures are clustered, it is poly- to obtain multiple faces
Class group;
According to the target signature, the multiple face cluster group is screened, obtains target face phylogenetic group.
5. a kind of device generating photograph album, which is characterized in that described device includes:
Receiving module generates instruction for receiving photograph album, and the photograph album generates instruction and carries target signature and photograph album formation condition,
The photograph album formation condition includes picture shooting period and picture number to be selected;
Processing module, for according to the target signature, treating category images and being handled, obtain target face phylogenetic group, institute
It includes the picture for having the target signature to state target face phylogenetic group;
Screening module is right for the pictorial information according to picture in the photograph album formation condition and the target face phylogenetic group
Picture is screened in the target face phylogenetic group, obtains alternative face cluster group, and the alternative face cluster group includes symbol
The picture of the photograph album formation condition is closed, and includes the alternative face cluster group of multiple sons, the multiple alternative face cluster group of son
It is corresponded with multiple sub- periods, the multiple sub- period is the picture to be selected for including according to the photograph album formation condition
Number, the picture shooting period for including to the photograph album formation condition are divided to obtain;
Generation module is used for according to preset optimal conditions, according to the optimization algorithm with stochastic behaviour, from the multiple son
In alternative face cluster group, a pictures are selected respectively, obtain multiple first pictures, and the preset optimal conditions include selection
Picture, selection picture clarity in different shooting time sections and spot for photography are more than the picture and selection target of predetermined threshold value
Picture of the face in picture centre position;The picture number to be selected that includes according to the photograph album formation condition or it is described multiple
The number of first picture obtains multiple default photograph album templates from the default photograph album template of storage, and creates new folder, described
New folder includes the multiple default photograph album template;When the size of multiple first pictures is not equal to default photograph album mould
When the size of plate, according to the size of the multiple default photograph album template, multiple described first pictures is cut respectively, are obtained
Multiple second pictures;Multiple described second pictures are filled into respectively in the multiple default photograph album template, target face is obtained
Photograph album;
Determining module, described in when receiving the replacement instruction to the designated pictures in the target face photograph album, determining
The alternative face cluster group of son where designated pictures;
Acquisition module, for from the determining alternative face cluster group of son, obtaining the corresponding replacement picture of the designated pictures;
Replacement module, for designated pictures described in the target face photograph album to be replaced with the replacement picture.
6. device according to claim 5, which is characterized in that the screening module includes:
Screening unit is right for the pictorial information according to picture in the photograph album formation condition and the target face phylogenetic group
Picture is screened in the target face phylogenetic group, obtains multiple first face phylogenetic groups;
Display unit, for showing the multiple first face phylogenetic group;
Determination unit is received for working as to the first face phylogenetic group of at least one of the multiple first face phylogenetic group
When selection instruction, at least one first face phylogenetic group is determined as alternative face cluster group.
7. device according to claim 5, which is characterized in that the processing module includes:
Face identification unit carries out recognition of face for treating category images, obtains the first picture set, first pictures
Conjunction includes the face picture in the picture to be sorted;
Extraction unit, the face for from multiple face pictures of the first picture set, extracting every face picture respectively are special
Sign;
Cluster cell, for the face characteristic according to the target signature and multiple face pictures, to multiple described faces
Picture is clustered, and target face phylogenetic group is obtained.
8. device according to claim 7, which is characterized in that the cluster cell includes:
Subelement is clustered, for the face characteristic according to multiple face pictures, multiple described face pictures are clustered,
Obtain multiple face cluster groups;
Subelement is screened, for according to the target signature, being screened to the multiple face cluster group, obtaining target face
Phylogenetic group.
9. a kind of device generating photograph album, which is characterized in that described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
It receives photograph album and generates instruction, the photograph album generates instruction and carries target signature and photograph album formation condition, and the photograph album generates
Condition includes picture shooting period and picture number to be selected;
It according to the target signature, treats category images and is handled, obtain target face phylogenetic group, the target face cluster
Group includes the picture for having the target signature;
It is poly- to the target face according to the pictorial information of picture in the photograph album formation condition and the target face phylogenetic group
Picture is screened in class group, obtains alternative face cluster group, and the alternative face cluster group includes meeting the photograph album to generate
The picture of condition, and include the alternative face cluster group of multiple sons, the multiple alternative face cluster group of son and multiple sub- periods
It corresponds, the multiple sub- period is the picture number to be selected for including according to the photograph album formation condition, to the shadow
The picture shooting period that collection formation condition includes is divided to obtain;
According to preset optimal conditions, according to the optimization algorithm with stochastic behaviour, from the multiple alternative face cluster of son
In group, a pictures are selected respectively, obtain multiple first pictures, and the preset optimal conditions include that selection is in different shootings
The picture of period and spot for photography, selection picture clarity be more than predetermined threshold value picture and selection target face in picture
Between position picture;
The number of the picture number to be selected or multiple first pictures that include according to the photograph album formation condition, from storage
Default photograph album template in obtain multiple default photograph album templates, and create new folder, the new folder includes described more
A default photograph album template;
When the size of multiple first pictures is not equal to the size of default photograph album template, according to the multiple default photograph album
The size of template cuts multiple described first pictures, obtains multiple second pictures respectively;
Multiple described second pictures are filled into respectively in the multiple default photograph album template, target face photograph album is obtained;
When receiving the replacement instruction to the designated pictures in the target face photograph album, where determining the designated pictures
Sub alternative face cluster group;
From the determining alternative face cluster group of son, the corresponding replacement picture of the designated pictures is obtained;
Designated pictures described in the target face photograph album are replaced with into the replacement picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410535042.5A CN104299001B (en) | 2014-10-11 | 2014-10-11 | Generate the method and device of photograph album |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410535042.5A CN104299001B (en) | 2014-10-11 | 2014-10-11 | Generate the method and device of photograph album |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104299001A CN104299001A (en) | 2015-01-21 |
CN104299001B true CN104299001B (en) | 2018-08-07 |
Family
ID=52318722
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410535042.5A Active CN104299001B (en) | 2014-10-11 | 2014-10-11 | Generate the method and device of photograph album |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104299001B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106203459B (en) * | 2015-04-29 | 2020-05-12 | 腾讯科技(深圳)有限公司 | Picture processing method and device |
CN105069083B (en) | 2015-07-31 | 2019-03-08 | 小米科技有限责任公司 | The determination method and device of association user |
CN106056138A (en) * | 2016-05-25 | 2016-10-26 | 努比亚技术有限公司 | Picture processing device and method |
CN108229674B (en) * | 2017-02-21 | 2021-03-02 | 北京市商汤科技开发有限公司 | Training method and device of neural network for clustering, and clustering method and device |
CN107341190B (en) * | 2017-06-09 | 2021-01-22 | 努比亚技术有限公司 | Picture screening method, terminal and computer readable storage medium |
CN109389019B (en) * | 2017-08-14 | 2021-11-05 | 杭州海康威视数字技术股份有限公司 | Face image selection method and device and computer equipment |
CN108052533B (en) * | 2017-11-14 | 2021-05-28 | 维沃移动通信有限公司 | Picture processing method, server and mobile terminal |
CN108038431A (en) * | 2017-11-30 | 2018-05-15 | 广东欧珀移动通信有限公司 | Image processing method, device, computer equipment and computer-readable recording medium |
CN108694737B (en) * | 2018-05-14 | 2019-06-14 | 星视麒(北京)科技有限公司 | The method and apparatus for making image |
CN108921918B (en) * | 2018-07-24 | 2023-05-30 | Oppo广东移动通信有限公司 | Video creation method and related device |
CN109167937B (en) * | 2018-11-05 | 2022-10-14 | 北京达佳互联信息技术有限公司 | Video distribution method, device, terminal and storage medium |
CN112165585A (en) * | 2020-09-28 | 2021-01-01 | 北京小米移动软件有限公司 | Short video generation method, device, equipment and storage medium |
CN113407754B (en) * | 2021-07-13 | 2023-12-15 | 北京达佳互联信息技术有限公司 | Album generating method, apparatus, electronic device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1388805A2 (en) * | 2002-07-15 | 2004-02-11 | Samsung Electronics Co., Ltd. | Apparatus and method for retrieving face images using combined components descriptors |
CN101510312A (en) * | 2009-03-16 | 2009-08-19 | 广州市有福数码科技有限公司 | Method, device and system for making electronic photo album |
CN102594896A (en) * | 2012-02-23 | 2012-07-18 | 广州商景网络科技有限公司 | Electronic photo sharing method and system for same |
CN103685815A (en) * | 2012-09-20 | 2014-03-26 | 卡西欧计算机株式会社 | Image classifying apparatus, electronic album creating apparatus, image classifying method, and program |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130129159A1 (en) * | 2011-11-22 | 2013-05-23 | Ronald Huijgens | Face recognition method and apparatus |
-
2014
- 2014-10-11 CN CN201410535042.5A patent/CN104299001B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1388805A2 (en) * | 2002-07-15 | 2004-02-11 | Samsung Electronics Co., Ltd. | Apparatus and method for retrieving face images using combined components descriptors |
CN101510312A (en) * | 2009-03-16 | 2009-08-19 | 广州市有福数码科技有限公司 | Method, device and system for making electronic photo album |
CN102594896A (en) * | 2012-02-23 | 2012-07-18 | 广州商景网络科技有限公司 | Electronic photo sharing method and system for same |
CN103685815A (en) * | 2012-09-20 | 2014-03-26 | 卡西欧计算机株式会社 | Image classifying apparatus, electronic album creating apparatus, image classifying method, and program |
Also Published As
Publication number | Publication date |
---|---|
CN104299001A (en) | 2015-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104299001B (en) | Generate the method and device of photograph album | |
CN105045467B (en) | The display methods and device at task manager interface | |
CN103856590B (en) | Spectacle mobile terminal | |
CN105302315A (en) | Image processing method and device | |
JP6211715B2 (en) | Video browsing method, apparatus, program and recording medium | |
CN107018333A (en) | Shoot template and recommend method, device and capture apparatus | |
CN104219445B (en) | Screening-mode method of adjustment and device | |
CN112783379B (en) | Picture selection method and electronic equipment | |
CN105306752B (en) | The method and device that generation event is reminded | |
JP6622289B2 (en) | Photo composition method, apparatus, program, and recording medium | |
CN112580400B (en) | Image optimization method and electronic equipment | |
CN104463092B (en) | Mobile terminal and its control method | |
CN106980840A (en) | Shape of face matching process, device and storage medium | |
CN104636164B (en) | Start page generation method and device | |
CN105203456B (en) | Plant variety recognition methods and device | |
CN106506948A (en) | Flash lamp control method and device | |
CN110060034A (en) | Worksheet method, apparatus, electronic equipment and storage medium | |
CN104980719A (en) | Image processing method, image processing apparatus and electronic equipment | |
CN108965770A (en) | Image processing template generation method, device, storage medium and mobile terminal | |
KR101973464B1 (en) | Mobile terminal and method for controlling the same | |
CN104834699B (en) | The method, apparatus and mobile terminal of photo are deleted based on use state | |
CN104869283B (en) | A kind of image pickup method and electronic equipment | |
CN104240274B (en) | Face image processing process and device | |
CN108170539A (en) | Information processing method and equipment | |
CN107707759A (en) | Terminal control method, device and system, storage medium |
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 |