CN111488477A - Album processing method, apparatus, electronic device and storage medium - Google Patents

Album processing method, apparatus, electronic device and storage medium Download PDF

Info

Publication number
CN111488477A
CN111488477A CN201910072789.4A CN201910072789A CN111488477A CN 111488477 A CN111488477 A CN 111488477A CN 201910072789 A CN201910072789 A CN 201910072789A CN 111488477 A CN111488477 A CN 111488477A
Authority
CN
China
Prior art keywords
pictures
album
mode
processing
picture
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.)
Pending
Application number
CN201910072789.4A
Other languages
Chinese (zh)
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.)
Institute of Semiconductors of CAS
Original Assignee
Institute of Semiconductors of CAS
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 Institute of Semiconductors of CAS filed Critical Institute of Semiconductors of CAS
Priority to CN201910072789.4A priority Critical patent/CN111488477A/en
Publication of CN111488477A publication Critical patent/CN111488477A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an album processing method, which is applied to the technical field of terminals and comprises the following steps: when an instruction for processing the photo album is received, all pictures stored in the photo album are obtained, all the pictures are processed according to a photo album processing mode selected by a user, the photo album processing mode comprises a repeated picture screening mode, a fuzzy picture screening mode, a human face posture classification mode, a character gender classification mode, a character age classification mode and a target picture screening mode, and the photo album is displayed based on a processing result. The invention also discloses an album processing device, electronic equipment and a storage medium, which enrich the picture processing function in the album and improve the user experience.

Description

Album processing method, apparatus, electronic device and storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a method and an apparatus for processing an album, an electronic device, and a storage medium.
Background
With the rapid development of the shooting technology on the mobile terminal, more and more users begin to use the mobile terminal to take pictures and share the pictures in daily life or travel, or the users directly download required pictures from application software, and the social contact of the pictures is gradually increased.
At present, photos directly shot by using a mobile terminal and pictures downloaded through application software are generally stored in an album of the mobile terminal, and in the process of displaying or selecting the pictures, the albums are usually opened, and then the pictures are browsed one by one according to a time sequence or a reverse sequence, or the whole album is opened in a thumbnail mode, so that a plurality of pictures are briefly browsed at the same time. However, the existing photo album has a simple picture processing function, and is difficult to meet the requirements of various users on various management, classification, selection and the like of the pictures, and the user experience is poor.
Disclosure of Invention
The invention mainly aims to provide an album processing method, an album processing device, electronic equipment and a storage medium, and aims to enrich the picture processing function in an album and improve the user experience.
In order to achieve the above object, a first aspect of the embodiments of the present invention provides an album processing method, including:
when an instruction for processing the photo album is received, acquiring all pictures stored in the photo album;
processing all the pictures according to an album processing mode selected by a user, wherein the album processing mode comprises a repeated picture screening mode, a fuzzy picture screening mode, a human face posture classification mode, a character gender classification mode, a character age classification mode and a target picture screening mode;
and displaying the photo album based on the processing result.
Further, when the album processing mode selected by the user is a repeated picture screening mode, the processing all the pictures according to the album processing mode selected by the user includes:
carrying out repeated identification on all the pictures, and screening out multiple groups of repeated pictures;
according to a preset rule, designating one picture in each group of repeated pictures as a picture to be reserved, and using the rest pictures as pictures to be deleted;
the displaying the photo album based on the processed result comprises:
and when an instruction of deleting the picture to be deleted by the user is received, deleting the picture to be deleted, and displaying the picture to be reserved.
Further, when the album processing mode selected by the user is the fuzzy picture screening mode, the processing the album according to the album processing mode selected by the user includes:
carrying out fuzzy recognition on all the pictures, and screening out fuzzy pictures;
the displaying the photo album based on the processed result comprises:
and when an instruction of deleting the fuzzy picture by the user is received, deleting the fuzzy picture and displaying the rest pictures.
Further, when the album processing mode selected by the user is a face pose classification mode, the processing the album according to the album processing mode selected by the user includes:
carrying out face recognition on all the pictures, and screening out face pictures;
carrying out face posture classification and identification on the face pictures to obtain face pictures with front faces, side faces, head-up and head-down categories;
the displaying the photo album based on the processed result comprises:
and carrying out classified display on the face pictures according to the categories of the front face, the side face, the head raising and the head lowering.
Further, when the album processing mode selected by the user is a person gender classification mode, the processing the album according to the album processing mode selected by the user includes:
carrying out face recognition on all the pictures, and screening out face pictures;
carrying out figure gender classification and identification on the face picture to obtain figure pictures with the categories of male, female and unidentifiable;
the displaying the photo album based on the processed result comprises:
and displaying the figure pictures in a classified manner according to the categories of the male, the female and the persons which cannot be identified.
Further, when the album processing mode selected by the user is a person age classification mode, the processing the album according to the album processing mode selected by the user includes:
carrying out face recognition on all the pictures, and screening out face pictures;
carrying out figure age classification identification on the face picture to obtain figure pictures with the categories of juvenile, middle-aged and old;
the displaying the photo album based on the processed result comprises:
and carrying out classified display on the figure pictures according to the categories of the juvenile period, the middle-aged period and the old period.
Further, when the album processing mode selected by the user is a target picture screening mode, the processing the album according to the album processing mode selected by the user includes:
screening a target picture from all pictures according to at least one condition screening option selected by a user, wherein the condition screening option corresponds to the classified category in the face posture classification mode, the character gender classification mode and the character age classification mode;
the displaying the photo album based on the processed result comprises:
and displaying the target picture.
A second aspect of an embodiment of the present invention provides an album processing apparatus, including:
the acquisition module is used for acquiring all pictures stored in the album when receiving an instruction for processing the album;
the processing module is used for processing all the pictures according to an album processing mode selected by a user, wherein the album processing mode comprises a repeated picture screening mode, a fuzzy picture screening mode, a human face posture classification mode, a character gender classification mode, a character age classification mode and a target picture screening mode;
and the display module is used for displaying the photo album based on the processing result.
A third aspect of an embodiment of the present invention provides an electronic device, including:
the album processing method is characterized in that the processor executes the program to realize the album processing method provided by the first aspect of the embodiment of the invention.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the album processing method provided by the first aspect of the embodiments of the present invention.
As can be seen from the foregoing embodiments of the present invention, according to the album processing method, apparatus, electronic device and storage medium provided by the present invention, when an instruction for processing an album is received, all pictures stored in the album are obtained, and all the pictures are processed according to an album processing mode selected by a user, where the album processing mode includes a repeated picture screening mode, a fuzzy picture screening mode, a human face posture classification mode, a person gender classification mode, a person age classification mode and a target picture screening mode, and based on a processing result, the album is displayed, a picture processing function in the album is enriched, and a user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an album processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a page of an album processing mode according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a page of another album processing mode according to an embodiment of the present invention;
fig. 4 is a schematic page diagram of a repeated picture screening mode in the album processing method according to an embodiment of the present invention;
fig. 5 is a schematic page diagram of a fuzzy picture screening mode in the album processing method according to an embodiment of the present invention;
fig. 6 is a schematic page diagram of a face pose classification mode in the album processing method according to an embodiment of the present invention;
fig. 7 is a schematic page diagram of a gender classification mode of a person in the album processing method according to an embodiment of the present invention;
fig. 8 is a schematic page diagram of a classification mode of age groups of people in the album processing method according to an embodiment of the present invention;
fig. 9 is a schematic page diagram of a target picture screening mode in the album processing method according to an embodiment of the present invention;
fig. 10 is a schematic structural view of an album processing apparatus according to another embodiment of the present invention;
fig. 11 shows a hardware configuration diagram of an electronic apparatus.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of an album processing method according to a first embodiment of the present invention, where the method is applicable to an electronic device, and the electronic device includes: the method mainly comprises the following steps of arranging an intelligent terminal such as a mobile phone, a tablet Personal computer (PAD), a notebook computer and a Personal Digital Assistant (PDA) of an album, wherein the intelligent terminal comprises the following steps:
s101, when an instruction for processing the photo album is received, acquiring all pictures stored in the photo album;
the system receives an instruction for processing the album, namely, enters an album processing mode. In the embodiment of the invention, the album processing mode comprises a repeated picture screening mode, a fuzzy picture screening mode, a human face posture classification mode, a character gender classification mode, a character age classification mode and a target picture screening mode.
Specifically, the album processing mode may be entered, as shown in fig. 2, a repeated picture screening mode, a fuzzy picture screening mode, a face posture classification mode, a person gender classification mode, a person age classification mode, and a target picture screening mode are all directly displayed on the main page of the album, and a user enters a corresponding mode by clicking the mode icon displayed on the touch-sensitive display of the intelligent terminal to perform album processing. Alternatively, as shown in fig. 3, an icon of the album processing mode is displayed on the main page, and when the user clicks the icon of the album processing mode, icons of the repeated picture screening mode, the blurred picture screening mode, the face pose classification mode, the person gender classification mode, the person age group classification mode, and the target picture screening mode are displayed, and then, a corresponding mode is entered according to the mode icon clicked by the user. Alternatively, the user enters the specific mode directly by voice input.
S102, processing all pictures according to an album processing mode selected by a user, wherein the album processing mode comprises a repeated picture screening mode, a fuzzy picture screening mode, a human face posture classification mode, a character gender classification mode, a character age classification mode and a target picture screening mode;
when the album processing mode selected by the user is a repeated picture screening mode, processing all pictures comprises the following steps: and screening a plurality of groups of repeated pictures from pictures stored in the intelligent terminal, designating one picture from each group of repeated pictures as a picture to be reserved according to a preset rule, and using the rest pictures as pictures to be deleted.
For the screening of the repeated pictures, the following algorithm can be selected: step one, acquiring an average gray value of each picture, wherein the average gray value of each picture can be obtained by calculation immediately after each picture is shot or downloaded, or can be obtained by calculation immediately after a repeated picture screening mode is entered; secondly, grouping and comparing the pictures with the average gray value difference within a certain range, for example, dividing the pictures with the maximum average gray value difference of 10 into a group for comparison; and thirdly, selecting the existing similar picture comparison methods such as a perceptual hash algorithm, a color distribution method or a content characteristic method, and the like to screen repeated pictures of each group of pictures. In the algorithm, the first step and the second step are carried out before the third step, so that the calculated amount can be reduced, the screening rate is improved, and the requirement on the intelligent terminal processor is reduced. For example, a picture with a mean gray level value as a median value in a group of repeated pictures may be used as a picture to be retained, or one picture may be arbitrarily designated as a picture to be retained.
Understandably, the repeated pictures refer to pictures with similarity reaching a preset threshold, or refer to pictures which are copied and pasted. Wherein, the preset threshold value of the similarity is determined by setting a threshold value in a perceptual hash algorithm, a color distribution method or a content characteristic method.
When the album processing mode selected by the user is the fuzzy picture screening mode, processing all pictures comprises the following steps: and carrying out fuzzy recognition on all pictures, and screening out fuzzy pictures.
For the screening of the blurred picture, an existing screening method can be selected, for example, a gray-scale image array of the picture is firstly obtained, then a laplacian operator is used for performing convolution operation {0, 1, 0, 1, -4, 1, 0, 1, 0}, the variance of the result is obtained, and finally the result is compared with other pictures to obtain the definition result of the picture.
When the album processing mode selected by the user is the face pose classification mode, processing all the pictures comprises the following steps: and carrying out face recognition on all the pictures, screening out the face pictures, and carrying out face posture classification recognition on the face pictures to obtain the face pictures with the categories of front face, side face, head raising and head lowering.
For the screening of the blurred image, the specific algorithm may be: firstly, screening all face pictures from pictures stored in an intelligent terminal by using any existing face recognition technology, then carrying out convolution operation on all face pictures by using a front face standard model, a side face standard model, a head-up standard model and a head-down standard model, and classifying the face pictures according to the categories of front faces, side faces, head-up and heads-down.
When the album processing mode selected by the user is the person gender classification mode, the processing of all the pictures comprises the following steps: and carrying out face recognition on all the pictures, screening out the face pictures, and carrying out gender classification recognition on the face pictures to obtain the pictures of the persons with the categories of male, female and unidentifiable persons.
For the person gender classification, the gender of the face in the picture can be recognized through any existing gender recognition algorithm, such as a gender recognition algorithm based on a characteristic face, a gender recognition method based on a Fisher criterion, or a face gender classification algorithm based on Adaboost + SVM.
When the album processing mode selected by the user is the people age classification mode, processing all the pictures comprises the following steps: and carrying out face recognition on all the pictures, screening out the face pictures, and carrying out figure age classification recognition on the face pictures to obtain figure pictures with the categories of juvenile, middle-aged and old.
The age of the people in the picture can be estimated and classified by any existing age estimation algorithm, for example, a face age estimation algorithm fusing L BP and HOG characteristics.
When the album processing mode selected by the user is the target picture screening mode, processing all the pictures comprises: and screening a target picture from all pictures according to at least one condition screening option selected by a user, wherein the condition screening option corresponds to the classified category in the face posture classification mode, the character gender classification mode and the character age classification mode.
For example, in the face pose classification mode, the user may select only one of the four conditional screening options, namely front face, side face, head raising and head lowering. For the condition screening items selected by the user in different modes, the relationship among the condition screening items is a right relationship, for example, the user selects the condition screening item of the front face in the face posture classification mode, and at the same time, the user can select the condition screening item of the juvenile period in the person age classification mode, at this time, the intelligent terminal selects the picture which simultaneously satisfies the condition screening item of the front face and the condition screening item of the juvenile period.
In the embodiment of the invention, the construction of the screening condition is refined through the target picture screening mode, the refined screening of the target picture can be realized, and the target picture can be locked by a user more conveniently and quickly.
Furthermore, the album processing mode can also comprise an image sorting mode, a human face automatic clustering mode and a human face automatic aesthetic mode. When the album processing mode selected by the user is the image sorting mode, processing all the pictures comprises the following steps: the photos are sorted according to the time of taking. When the album processing mode selected by the user is the automatic face clustering mode, processing all the pictures comprises the following steps: extracting the face information in the photos, inputting the face information into a preset face model, judging according to the features (facial features, facial shapes and the like) of the faces, and automatically clustering the photos with high model similarity. When the album processing mode selected by the user is the automatic human face aesthetic mode, processing all the pictures comprises the following steps: extracting the face information in the photos, inputting the face information into a preset face model, automatically learning the user preference, judging the photos according to the user preference, and classifying the photos which accord with the user preference together.
And S103, displaying the photo album based on the processing result.
When the album processing mode selected by the user is the repeated picture screening mode, at this time, the system has screened out the pictures to be retained and the pictures to be deleted, and the repeated pictures are displayed to the user in groups, for example, the display page may be displayed on the intelligent terminal in a manner as shown in fig. 4. Further, a confirm delete icon and a change icon may also be displayed on the page. When an instruction of deleting the fuzzy picture by the user is received, in the embodiment of the invention, the picture to be deleted can be deleted by clicking the deletion confirmation icon by the user. When the user touches the change icon, one or more pictures can be manually reselected from all the repeated pictures in the group as the pictures to be reserved.
Wherein the confirm delete icon and the change icon are graphical interactive user page icons.
When the album processing mode selected by the user is the fuzzy picture screening mode, at this time, the system has screened out the fuzzy pictures and displays all the fuzzy pictures to the user, and for example, the display page may be displayed on the intelligent terminal in a manner as shown in fig. 5. Furthermore, a confirmation selection icon for selecting the blurred picture may be displayed on each blurred picture on the page, and as shown in fig. 5, the confirmation selection icon may be represented by "√" shape. All selection icons for selecting all the blurred pictures are displayed. And displaying a confirmation deletion icon for deleting the selected fuzzy picture. When an instruction for deleting the fuzzy picture by the user is received, in the embodiment of the invention, the user clicks the deletion confirmation icon, and all the selected fuzzy pictures can be deleted.
Wherein the confirm select icon, the all select icon, and the confirm delete icon are graphical interactive user page icons.
When the album processing mode selected by the user is the face posture classification mode, at this time, the system screens out corresponding front face pictures, side face pictures, head-up pictures and head-down pictures according to the categories of front face, side face, head-up and head-down, and displays the front face pictures, side face pictures, head-up pictures and head-down pictures to the user in a classification manner, for example, the display page can be displayed on the intelligent terminal in a manner shown in fig. 6. More, in order to further enrich the classification types of the human face gestures, the side faces in the human face gestures can be divided into left deviation and right deviation.
In the embodiment of the invention, the front face posture picture selected from the face pictures can be used for the identity authentication of application software or occasions such as the front face picture and the like needing to be sent to other users. The photo album function can be enriched by screening and classifying the human face gestures through the human face gesture classification mode.
When the album processing mode selected by the user is the person gender classification mode, at this time, the system screens out corresponding male person pictures, female person pictures and person pictures which cannot be identified according to the categories of male, female and persons which cannot be identified, and displays the male person pictures, the female person pictures and the person pictures which cannot be identified to the user in a classification manner, for example, a display page may be displayed on the intelligent terminal in a manner as shown in fig. 7.
When the album processing mode selected by the user is the people age classification mode, at this time, the system has screened out the corresponding young people pictures, young middle people pictures and old people pictures according to the categories of young, middle and old people and displays the pictures to the user in a classification manner, for example, the display page can be displayed on the intelligent terminal in a manner as shown in fig. 8.
When the album processing mode selected by the user is the target picture screening mode, at this time, the system will screen out the target picture from all the pictures according to at least one condition screening option selected by the user and display the target picture to the user, and for example, the condition screening page may be displayed on the intelligent terminal in a manner as shown in fig. 9.
In the embodiment of the invention, when an instruction for processing the photo album is received, all the pictures stored in the photo album are acquired, all the pictures are processed according to the photo album processing mode selected by a user, the photo album processing mode comprises a repeated picture screening mode, a fuzzy picture screening mode, a human face posture classification mode, a character gender classification mode, a character age classification mode and a target picture screening mode, and based on the processing result, the photo album is displayed, the picture processing function in the photo album is enriched, and the user experience is improved.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an album processing apparatus according to another embodiment of the present invention, the apparatus may be embedded in an electronic device, and the apparatus mainly includes:
an acquisition module 201, a processing module 202 and a display module 203;
an obtaining module 201, configured to obtain all pictures stored in the album when receiving an instruction to process the album;
the system receives an instruction for processing the album, namely, enters an album processing mode. In the embodiment of the invention, the album processing mode comprises a repeated picture screening mode, a fuzzy picture screening mode, a human face posture classification mode, a character gender classification mode, a character age classification mode and a target picture screening mode.
Specifically, the album processing mode may be entered, as shown in fig. 2, a repeated picture screening mode, a fuzzy picture screening mode, a face posture classification mode, a person gender classification mode, a person age classification mode, and a target picture screening mode are all directly displayed on the main page of the album, and a user enters a corresponding mode by clicking the mode icon displayed on the touch-sensitive display of the intelligent terminal to perform album processing. Alternatively, as shown in fig. 3, an icon of the album processing mode is displayed on the main page, and when the user clicks the icon of the album processing mode, icons of the repeated picture screening mode, the blurred picture screening mode, the face pose classification mode, the person gender classification mode, the person age group classification mode, and the target picture screening mode are displayed, and then, a corresponding mode is entered according to the mode icon clicked by the user. Alternatively, the user enters the specific mode directly by voice input.
The processing module 202 is configured to process all the pictures according to an album processing mode selected by a user, where the album processing mode includes a repeated picture screening mode, a fuzzy picture screening mode, a face posture classification mode, a person gender classification mode, a person age classification mode, and a target picture screening mode;
when the album processing mode selected by the user is a repeated picture screening mode, processing all pictures comprises the following steps: and screening a plurality of groups of repeated pictures from pictures stored in the intelligent terminal, designating one picture from each group of repeated pictures as a picture to be reserved according to a preset rule, and using the rest pictures as pictures to be deleted.
For the screening of the repeated pictures, the following algorithm can be selected: step one, acquiring an average gray value of each picture, wherein the average gray value of each picture can be obtained by calculation immediately after each picture is shot or downloaded, or can be obtained by calculation immediately after a repeated picture screening mode is entered; secondly, grouping and comparing the pictures with the average gray value difference within a certain range, for example, dividing the pictures with the maximum average gray value difference of 10 into a group for comparison; and thirdly, selecting the existing similar picture comparison methods such as a perceptual hash algorithm, a color distribution method or a content characteristic method, and the like to screen repeated pictures of each group of pictures. In the algorithm, the first step and the second step are carried out before the third step, so that the calculated amount can be reduced, the screening rate is improved, and the requirement on the intelligent terminal processor is reduced. For example, a picture with a mean gray level value as a median value in a group of repeated pictures may be used as a picture to be retained, or one picture may be arbitrarily designated as a picture to be retained.
Understandably, the repeated pictures refer to pictures with similarity reaching a preset threshold, or refer to pictures which are copied and pasted. Wherein, the preset threshold value of the similarity is determined by setting a threshold value in a perceptual hash algorithm, a color distribution method or a content characteristic method.
When the album processing mode selected by the user is the fuzzy picture screening mode, processing all pictures comprises the following steps: and carrying out fuzzy recognition on all pictures, and screening out fuzzy pictures.
For the screening of the blurred picture, an existing screening method can be selected, for example, a gray-scale image array of the picture is firstly obtained, then a laplacian operator is used for performing convolution operation {0, 1, 0, 1, -4, 1, 0, 1, 0}, the variance of the result is obtained, and finally the result is compared with other pictures to obtain the definition result of the picture.
When the album processing mode selected by the user is the face pose classification mode, processing all the pictures comprises the following steps: and carrying out face recognition on all the pictures, screening out the face pictures, and carrying out face posture classification recognition on the face pictures to obtain the face pictures with the categories of front face, side face, head raising and head lowering.
For the screening of the blurred image, the specific algorithm may be: firstly, screening all face pictures from pictures stored in an intelligent terminal by using any existing face recognition technology, then carrying out convolution operation on all face pictures by using a front face standard model, a side face standard model, a head-up standard model and a head-down standard model, and classifying the face pictures according to the categories of front faces, side faces, head-up and heads-down.
When the album processing mode selected by the user is the person gender classification mode, the processing of all the pictures comprises the following steps: and carrying out face recognition on all the pictures, screening out the face pictures, and carrying out gender classification recognition on the face pictures to obtain the pictures of the persons with the categories of male, female and unidentifiable persons.
For the person gender classification, the gender of the face in the picture can be recognized through any existing gender recognition algorithm, such as a gender recognition algorithm based on a characteristic face, a gender recognition method based on a Fisher criterion, or a face gender classification algorithm based on Adaboost + SVM.
When the album processing mode selected by the user is the people age classification mode, processing all the pictures comprises the following steps: and carrying out face recognition on all the pictures, screening out the face pictures, and carrying out figure age classification recognition on the face pictures to obtain figure pictures with the categories of juvenile, middle-aged and old.
The age of the people in the picture can be estimated and classified by any existing age estimation algorithm, for example, a face age estimation algorithm fusing L BP and HOG characteristics.
When the album processing mode selected by the user is the target picture screening mode, processing all the pictures comprises: and screening a target picture from all pictures according to at least one condition screening option selected by a user, wherein the condition screening option corresponds to the classified category in the face posture classification mode, the character gender classification mode and the character age classification mode.
For example, in the face pose classification mode, the user may select only one of the four conditional screening options, namely front face, side face, head raising and head lowering. For the condition screening items selected by the user in different modes, the relationship among the condition screening items is a right relationship, for example, the user selects the condition screening item of the front face in the face posture classification mode, and at the same time, the user can select the condition screening item of the juvenile period in the person age classification mode, at this time, the intelligent terminal selects the picture which simultaneously satisfies the condition screening item of the front face and the condition screening item of the juvenile period.
In the embodiment of the invention, the construction of the screening condition is refined through the target picture screening mode, the refined screening of the target picture can be realized, and the target picture can be locked by a user more conveniently and quickly.
And a display module 203 for displaying the photo album based on the processed result.
When the album processing mode selected by the user is the repeated picture screening mode, at this time, the system has screened out the pictures to be retained and the pictures to be deleted, and the repeated pictures are displayed to the user in groups, for example, the display page may be displayed on the intelligent terminal in a manner as shown in fig. 4. Further, a confirm delete icon and a change icon may also be displayed on the page. When an instruction of deleting the fuzzy picture by the user is received, in the embodiment of the invention, the picture to be deleted can be deleted by clicking the deletion confirmation icon by the user. When the user touches the change icon, one or more pictures can be manually reselected from all the repeated pictures in the group as the pictures to be reserved.
Wherein the confirm delete icon and the change icon are graphical interactive user page icons.
When the album processing mode selected by the user is the fuzzy picture screening mode, at this time, the system has screened out the fuzzy pictures and displays all the fuzzy pictures to the user, and for example, the display page may be displayed on the intelligent terminal in a manner as shown in fig. 5. Further, a confirmation selection icon for selecting the blurred image may be displayed on each blurred image on the page, as shown in FIG. 5, and may be used
Figure BDA0001957633010000141
Indicating a confirmation selection icon. All selection icons for selecting all the blurred pictures are displayed. And displaying a confirmation deletion icon for deleting the selected fuzzy picture. When an instruction for deleting the fuzzy picture by the user is received, in the embodiment of the invention, the user clicks the deletion confirmation icon, and all the selected fuzzy pictures can be deleted.
Wherein the confirm select icon, the all select icon, and the confirm delete icon are graphical interactive user page icons.
When the album processing mode selected by the user is the face posture classification mode, at this time, the system screens out corresponding front face pictures, side face pictures, head-up pictures and head-down pictures according to the categories of front face, side face, head-up and head-down, and displays the front face pictures, side face pictures, head-up pictures and head-down pictures to the user in a classification manner, for example, the display page can be displayed on the intelligent terminal in a manner shown in fig. 6. More, in order to further enrich the classification types of the human face gestures, the side faces in the human face gestures can be divided into left deviation and right deviation.
In the embodiment of the invention, the front face posture picture selected from the face pictures can be used for the identity authentication of application software or occasions such as the front face picture and the like needing to be sent to other users. The photo album function can be enriched by screening and classifying the human face gestures through the human face gesture classification mode.
When the album processing mode selected by the user is the person gender classification mode, at this time, the system screens out corresponding male person pictures, female person pictures and person pictures which cannot be identified according to the categories of male, female and persons which cannot be identified, and displays the male person pictures, the female person pictures and the person pictures which cannot be identified to the user in a classification manner, for example, a display page may be displayed on the intelligent terminal in a manner as shown in fig. 7.
When the album processing mode selected by the user is the people age classification mode, at this time, the system has screened out the corresponding young people pictures, young middle people pictures and old people pictures according to the categories of young, middle and old people and displays the pictures to the user in a classification manner, for example, the display page can be displayed on the intelligent terminal in a manner as shown in fig. 8.
When the album processing mode selected by the user is the target picture screening mode, at this time, the system will screen out the target picture from all the pictures according to at least one condition screening option selected by the user and display the target picture to the user, and for example, the condition screening page may be displayed on the intelligent terminal in a manner as shown in fig. 9.
In the embodiment of the invention, when an instruction for processing the photo album is received, all the pictures stored in the photo album are acquired, all the pictures are processed according to the photo album processing mode selected by a user, the photo album processing mode comprises a repeated picture screening mode, a fuzzy picture screening mode, a human face posture classification mode, a character gender classification mode, a character age classification mode and a target picture screening mode, and based on the processing result, the photo album is displayed, the picture processing function in the photo album is enriched, and the user experience is improved.
Referring to fig. 11, fig. 11 is a hardware configuration diagram of an electronic device.
The electronic device described in this embodiment includes:
a memory 31, a processor 32 and a computer program stored on the memory 31 and executable on the processor, the processor implementing the album processing method described in the foregoing embodiment shown in fig. 1 when executing the program.
Further, the electronic device further includes:
at least one input device 33; at least one output device 34.
The memory 31, processor 32 input device 33 and output device 34 are connected by a bus 35.
The input device 33 may be a camera, a touch panel, a physical button, or a mouse. The output device 34 may specifically be a display screen.
The Memory 31 may be a high-speed Random Access Memory (RAM) Memory or a non-volatile Memory (non-volatile Memory), such as a disk Memory. The memory 31 is used for storing a set of executable program code, and the processor 32 is coupled to the memory 31.
Further, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium may be provided in the terminal in the foregoing embodiments, and the computer-readable storage medium may be the memory in the foregoing embodiment shown in fig. 11. The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the album processing method described in the foregoing embodiment shown in fig. 1. Further, the computer-readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication link may be through some interfaces, and the indirect coupling or communication link of the modules may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no acts or modules are necessarily required of the invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The above description is provided for the album processing method, apparatus, electronic device and storage medium, and for those skilled in the art, there may be variations in the specific implementation and application scope according to the ideas of the embodiments of the present invention, and in summary, the content of the present specification should not be construed as limiting the present invention.

Claims (10)

1. An album processing method, comprising:
when an instruction for processing the photo album is received, acquiring all pictures stored in the photo album;
processing all the pictures according to an album processing mode selected by a user, wherein the album processing mode comprises a repeated picture screening mode, a fuzzy picture screening mode, a human face posture classification mode, a character gender classification mode, a character age classification mode and a target picture screening mode;
and displaying the photo album based on the processing result.
2. The album processing method according to claim 1, wherein when the album processing mode selected by the user is the repeated picture screening mode, the processing all the pictures according to the album processing mode selected by the user includes:
carrying out repeated identification on all the pictures, and screening out multiple groups of repeated pictures;
according to a preset rule, designating one picture in each group of repeated pictures as a picture to be reserved, and using the rest pictures as pictures to be deleted;
the displaying the photo album based on the processed result comprises:
and when an instruction of deleting the picture to be deleted by the user is received, deleting the picture to be deleted, and displaying the picture to be reserved.
3. The album processing method according to claim 1, wherein when the album processing mode selected by the user is the blurred picture screening mode, the processing the album according to the album processing mode selected by the user includes:
carrying out fuzzy recognition on all the pictures, and screening out fuzzy pictures;
the displaying the photo album based on the processed result comprises:
and when an instruction of deleting the fuzzy picture by the user is received, deleting the fuzzy picture and displaying the rest pictures.
4. The album processing method according to claim 1, wherein when the album processing mode selected by the user is the face pose classification mode, the processing the album according to the album processing mode selected by the user includes:
carrying out face recognition on all the pictures, and screening out face pictures;
carrying out face posture classification and identification on the face pictures to obtain face pictures with front faces, side faces, head-up and head-down categories;
the displaying the photo album based on the processed result comprises:
and carrying out classified display on the face pictures according to the categories of the front face, the side face, the head raising and the head lowering.
5. The album processing method according to claim 1, wherein when the album processing mode selected by the user is the person gender classification mode, the processing the album according to the album processing mode selected by the user includes:
carrying out face recognition on all the pictures, and screening out face pictures;
carrying out figure gender classification and identification on the face picture to obtain figure pictures with the categories of male, female and unidentifiable;
the displaying the photo album based on the processed result comprises:
and displaying the figure pictures in a classified manner according to the categories of the male, the female and the persons which cannot be identified.
6. The album processing method according to claim 1, wherein when the album processing mode selected by the user is the person age group classification mode, the processing the album according to the album processing mode selected by the user includes:
carrying out face recognition on all the pictures, and screening out face pictures;
carrying out figure age classification identification on the face picture to obtain figure pictures with the categories of juvenile, middle-aged and old;
the displaying the photo album based on the processed result comprises:
and carrying out classified display on the figure pictures according to the categories of the juvenile period, the middle-aged period and the old period.
7. The album processing method according to claim 1, wherein when the album processing mode selected by the user is the target picture screening mode, the processing the album according to the album processing mode selected by the user includes:
screening a target picture from all pictures according to at least one condition screening option selected by a user, wherein the condition screening option corresponds to the classified category in the face posture classification mode, the character gender classification mode and the character age classification mode;
the displaying the photo album based on the processed result comprises:
and displaying the target picture.
8. An album processing apparatus comprising:
the acquisition module is used for acquiring all pictures stored in the album when receiving an instruction for processing the album;
the processing module is used for processing all the pictures according to an album processing mode selected by a user, wherein the album processing mode comprises a repeated picture screening mode, a fuzzy picture screening mode, a human face posture classification mode, a character gender classification mode, a character age classification mode and a target picture screening mode;
and the display module is used for displaying the photo album based on the processing result.
9. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the album processing method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing each step in the album processing method according to any one of claims 1 to 7.
CN201910072789.4A 2019-01-25 2019-01-25 Album processing method, apparatus, electronic device and storage medium Pending CN111488477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910072789.4A CN111488477A (en) 2019-01-25 2019-01-25 Album processing method, apparatus, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910072789.4A CN111488477A (en) 2019-01-25 2019-01-25 Album processing method, apparatus, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN111488477A true CN111488477A (en) 2020-08-04

Family

ID=71793844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910072789.4A Pending CN111488477A (en) 2019-01-25 2019-01-25 Album processing method, apparatus, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN111488477A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035685A (en) * 2020-08-17 2020-12-04 中移(杭州)信息技术有限公司 Album video generating method, electronic device and storage medium
CN112269890A (en) * 2020-09-28 2021-01-26 南京酷派软件技术有限公司 Photo classification method, device, storage medium and terminal
CN112507155A (en) * 2020-12-22 2021-03-16 哈尔滨师范大学 Information processing method
CN112799734A (en) * 2021-01-07 2021-05-14 广州虎牙科技有限公司 Flow management method, image processing method, and corresponding platform and device
CN113225451A (en) * 2021-04-28 2021-08-06 维沃移动通信(杭州)有限公司 Image processing method and device and electronic equipment
CN112799734B (en) * 2021-01-07 2024-04-19 广州虎牙科技有限公司 Flow management method, image processing method, and corresponding platform and device thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104284252A (en) * 2014-09-10 2015-01-14 康佳集团股份有限公司 Method for generating electronic photo album automatically
CN104408061A (en) * 2014-10-29 2015-03-11 深圳市中兴移动通信有限公司 Photo album management method and device
CN104850848A (en) * 2015-06-04 2015-08-19 广东欧珀移动通信有限公司 Picture classification method and apparatus
CN106777007A (en) * 2016-12-07 2017-05-31 北京奇虎科技有限公司 Photograph album Classified optimization method, device and mobile terminal
CN107832420A (en) * 2017-11-10 2018-03-23 维沃移动通信有限公司 photo management method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104284252A (en) * 2014-09-10 2015-01-14 康佳集团股份有限公司 Method for generating electronic photo album automatically
CN104408061A (en) * 2014-10-29 2015-03-11 深圳市中兴移动通信有限公司 Photo album management method and device
CN104850848A (en) * 2015-06-04 2015-08-19 广东欧珀移动通信有限公司 Picture classification method and apparatus
CN106777007A (en) * 2016-12-07 2017-05-31 北京奇虎科技有限公司 Photograph album Classified optimization method, device and mobile terminal
CN107832420A (en) * 2017-11-10 2018-03-23 维沃移动通信有限公司 photo management method and mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035685A (en) * 2020-08-17 2020-12-04 中移(杭州)信息技术有限公司 Album video generating method, electronic device and storage medium
CN112269890A (en) * 2020-09-28 2021-01-26 南京酷派软件技术有限公司 Photo classification method, device, storage medium and terminal
CN112507155A (en) * 2020-12-22 2021-03-16 哈尔滨师范大学 Information processing method
CN112799734A (en) * 2021-01-07 2021-05-14 广州虎牙科技有限公司 Flow management method, image processing method, and corresponding platform and device
CN112799734B (en) * 2021-01-07 2024-04-19 广州虎牙科技有限公司 Flow management method, image processing method, and corresponding platform and device thereof
CN113225451A (en) * 2021-04-28 2021-08-06 维沃移动通信(杭州)有限公司 Image processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US11074734B2 (en) Image processing apparatus, image processing method and storage medium
CN111488477A (en) Album processing method, apparatus, electronic device and storage medium
US10140515B1 (en) Image recognition and classification techniques for selecting image and audio data
US8358902B2 (en) Apparatus, method and program for image search
US9721148B2 (en) Face detection and recognition
US8873851B2 (en) System for presenting high-interest-level images
US20180046855A1 (en) Face detection and recognition
US8897485B2 (en) Determining an interest level for an image
US9014510B2 (en) Method for presenting high-interest-level images
US9014509B2 (en) Modifying digital images to increase interest level
US20150277686A1 (en) Systems and Methods for the Real-Time Modification of Videos and Images Within a Social Network Format
US10176198B1 (en) Techniques for identifying visually similar content
US9478054B1 (en) Image overlay compositing
US11373441B2 (en) Apparatus and method for coordinating the matching and initial communications between individuals in a dating application
CN106844659A (en) A kind of multimedia data processing method and device
JP2017504861A (en) Image-based search
CA2930322A1 (en) Face detection and recognition
CN108898082B (en) Picture processing method, picture processing device and terminal equipment
WO2021208633A1 (en) Method and device for determining item name, computer apparatus, and storage medium
US20130301938A1 (en) Human photo search system
CN111275683B (en) Image quality grading processing method, system, device and medium
US11232616B2 (en) Methods and systems for performing editing operations on media
CN112035685A (en) Album video generating method, electronic device and storage medium
WO2023093622A1 (en) Wallpaper setting method, wallpaper setting apparatus, and electronic device
KR101961462B1 (en) Object recognition method and the device thereof

Legal Events

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