Image selection method and electronic device
Abstract
Disclosed are an image selection method and an electronic device. In the method, an electronic device can detect feedback information related to a user operation. The feedback information may include an optimal image selected by a decision model and a changed optimal image. The feedback information may further include images that are deleted, browsed, added-to-favorites, or shared and operation records. The feedback information may further include a facial feature in a gallery and a proportion of images including the facial feature in the gallery. The electronic device adjusts, according to the feedback information, parameters of the decision model configured to perform image selection, to obtain an updated decision model. The electronic device can perform image selection according to the updated decision model. Through the implementation of the technical solution, a selected optimal image is more in line with user habits, thereby improving convenience.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 1.
Claims (15 — 2 Independent, 13 Dependent)
- Claim 1Independent Claim
An image selection method, comprising: detecting, by an electronic device, first feedback information, the first feedback information comprising a plurality of images and a user operation acting on an image in the plurality of images; adjusting, by the electronic device, parameters of a decision model according to the first feedback information to obtain an updated decision model, wherein the decision model is an algorithm model configured to select an optimal image from multiple images obtained through continuous shooting, and the decision model includes one or more image features, each of the one or more image features being associated with one or more scores used for scoring the image feature in an image, and a weight being specified for each of the one or more image features; and selecting, by the electronic device, a first image from a first image group as the optimal image of the first image group according to the updated decision model, wherein the first feedback information comprises a first facial feature and a proportion of images comprising the first facial feature in a gallery, the first facial feature being a facial feature corresponding to the largest quantity of images in the gallery that comprise the facial feature, and the gallery comprising images stored in the electronic device, wherein the adjusting, by the electronic device, parameters of a decision model according to the first feedback information to obtain an updated decision model comprising: increasing, by the electronic device, the weight of a facial expression score of the first facial feature in the decision model, the one or more image features in the decision model comprising one or more facial features, the one or more facial features comprising the first facial feature, wherein the facial expression score is used for scoring an expression of the first facial feature of an image, and a greater weight of a facial feature indicates a greater probability that an image including the facial feature is selected as the optimal image.
- Claim 2Depends on #1
The method according to claim 1, wherein before the detecting, by an electronic device, first feedback information, the method further comprises: displaying, by the electronic device, a first user interface, the first user interface comprising a second image group, the second image group being images obtained through continuous shooting and comprising a second image and a third image, the second image being an optimal image of the second image group selected by the electronic device according to the decision model; the detecting, by an electronic device, first feedback information comprises: detecting, by the electronic device, a first user operation on the first user interface, and changing, by the electronic device, the optimal image of the second image group to the third image in response to the first user operation; and the first feedback information comprises the first user operation, the second image, and the third image.
- Claim 3Depends on #1
The method according to claim 1, wherein the first feedback information comprises an operation record of an image in a gallery and the image corresponding to the operation record, and the operation record indicates one or more of the following operations: a delete operation, a browse operation, an adding-to-favorites operation, and a sharing operation.
- Claim 4Depends on #1
The method according to claim 1, wherein the adjusting, by the electronic device, parameters of a decision model according to the first feedback information to obtain an updated decision model comprising: increasing, by the electronic device, a weight of a portrait body proportion score of the first facial feature in the decision model, the portrait body proportion score being used for scoring a body proportion of a facial feature in an image, images in the first image group each comprising one or more facial features, the one or more facial features comprising the first facial feature.
- Claim 5Depends on #1
The method according to claim 1, wherein before the selecting, by the electronic device, a first image from a first image group as an optimal image of the first image group according to the updated decision model, the method further comprises: displaying, by the electronic device, a camera application interface, the camera application interface comprising a photographing control; and performing, by the electronic device in response to a second user operation acting on the photographing control, continuous shooting to obtain the first image group; and after the selecting, by the electronic device, a first image from a first image group as an optimal image of the first image group according to the updated decision model, the method further comprises: displaying, by the electronic device, a continuous shooting image interface in response to a third user operation used for displaying the first image group, the continuous shooting image interface comprising the first image and thumbnails of the images in the first image group.
- Claim 6Depends on #1
The method according to claim 1, wherein before the selecting, by the electronic device, a first image from a first image group as an optimal image of the first image group according to the updated decision model, the method further comprises: detecting, by the electronic device, the first image group from a gallery, thumbnails of the first image group being displayed adjacently in a gallery application interface, each of the images in the first image group comprising a first image feature, the first image feature comprising a second facial feature or a first shooting scene; and after the selecting, by the electronic device, a first image from a first image group as an optimal image of the first image group according to the updated decision model, the method further comprises: displaying, by the electronic device, the gallery application interface in response to a fourth user operation acting on a gallery icon, the gallery application interface comprising the thumbnails of the images in the first image group, and a size of a thumbnail of the first image being greater than a size of a thumbnail of any other image in the first image group.
- Claim 7Depends on #1
The method according to claim 1, wherein before the selecting, by the electronic device, a first image from a first image group as an optimal image of the first image group according to the updated decision model, the method further comprises: displaying, by the electronic device, a second user interface, the second user interface comprising a plurality of image feature options and a determining control, each of the plurality of image feature options being corresponding to an image feature; displaying, by the electronic device, a first option from an unselected state to a selected state in response to a fifth user operation acting on the first option, the plurality of image feature options comprising the first option; and adjusting, by the electronic device, the parameters of the decision model according to an image feature corresponding to the first option in response to a sixth user operation acting on the determining control, to obtain the updated decision model.
- Claim 8Independent Claim
An electronic device, comprising one or more processor, a memory, and a display screen, the memory being coupled to the one or more processors, the memory being configured to store computer program code comprising computer instructions, and the one or more processors invoking the computer instructions to cause the electronic device to perform operations comprising: detecting first feedback information, the first feedback information comprising a plurality of images and a user operation acting on an image in the plurality of images; adjusting parameters of a decision model according to the first feedback information to obtain an updated decision model, wherein the decision model is an algorithm model configured to select an optimal image from multiple images obtained through continuous shooting, and the decision model includes one or more image features, each of the one or more image features being associated with one or more scores used for scoring the image feature in an image, and a weight being specified for each of the one or more image features; and selecting a first image from a first image group as the optimal image of the first image group according to the updated decision model, wherein the first feedback information comprises a first facial feature and a proportion of images comprising the first facial feature in a gallery, the first facial feature being a facial feature corresponding to the largest quantity of images in the gallery that comprise the facial feature, and the gallery comprising images stored in the electronic device, wherein the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform operations comprising: increasing the weight of a facial expression score of the first facial feature in the decision model, the one or more image features in the decision model comprising one or more facial features, the one or more facial features comprising the first facial feature, wherein the facial expression score is used for scoring an expression of the first facial feature of an image, and a greater weight of a facial feature indicates a greater probability that an image including the facial feature is selected as the optimal image.
- Claim 9Depends on #8
The electronic device according to claim 8, wherein the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform operations comprising: displaying a first user interface, the first user interface comprising a second image group, the second image group being images obtained through continuous shooting and comprising a second image and a third image, the second image being an optimal image of the second image group selected by the electronic device according to the decision model; the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform operations comprising: detecting a first user operation on the first user interface, and changing the optimal image of the second image group to the third image in response to the first user operation; and the first feedback information comprises the first user operation, the second image, and the third image.
- Claim 10Depends on #8
The electronic device according to claim 8, wherein the first feedback information comprises an operation record of an image in a gallery and the image corresponding to the operation record, and the operation record indicates one or more of the following operations: a delete operation, a browse operation, an adding-to-favorites operation, and a sharing operation.
- Claim 11Depends on #8
The electronic device according to claim 8, wherein the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform operations comprising: increasing a weight of a portrait body proportion score of the first facial feature in the decision model, the portrait body proportion score being used for scoring a body proportion of a facial feature in an image, images in the first image group each comprising one or more facial features, the one or more facial features comprising the first facial feature.
- Claim 12Depends on #8
The electronic device according to claim 8, wherein the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform operations comprising: displaying a camera application interface, the camera application interface comprising a photographing control; and performing continuous shooting in response to a second user operation acting on the photographing control, to obtain the first image group; and displaying a continuous shooting image interface in response to a third user operation used for displaying the first image group, the continuous shooting image interface comprising the first image and thumbnails of the images in the first image group.
- Claim 13Depends on #8
The electronic device according to claim 8, wherein the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform operations comprising: detecting the first image group from a gallery, thumbnails of the first image group being displayed adjacently in a gallery application interface, each of the images in the first image group comprising a first image feature, the first image feature comprising a second facial feature or a first shooting scene; and the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform operations comprising: displaying the gallery application interface in response to a fourth user operation acting on a gallery icon, the gallery application interface comprising the thumbnails of the images in the first image group, and a size of a thumbnail of the first image being greater than a size of a thumbnail of any other image in the first image group.
- Claim 14Depends on #8
The electronic device according to claim 8, wherein the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform operations comprising: displaying a second user interface, the second user interface comprising a plurality of image feature options and a determining control, each of the plurality of image feature options being corresponding to an image feature; displaying a first option from an unselected state to a selected state in response to a fifth user operation acting on the first option, the plurality of image feature options comprising the first option; and adjusting the parameters of the decision model according to an image feature corresponding to the first option in response to a sixth user operation acting on the determining control, to obtain the updated decision model.
- Claim 15Depends on #1
The method according to claim 1, wherein the first feedback information comprises a first image feature and a proportion of images comprising the first image feature in a gallery, the first image feature corresponding to the largest quantity of images in the gallery that comprise the first image feature, and the gallery comprising images stored in the electronic device; and wherein the adjusting, by the electronic device, parameters of a decision model according to the first feedback information to obtain an updated decision model comprising: increasing, by the electronic device, a weight of a score of the first image feature in the decision model, images in the first image group each comprising one or more image features, the one or more image features comprising the first image feature.
Technical Overview & Description
This application is a national stage of International Application No. PCT/CN2020/116963, filed on Sep. 23, 2020, which claims priority of Chinese Patent Application No. 201910936462.7, filed on Sep. 29, 2019. Both of them are hereby incorporated by reference in its entirety. TECHNICAL FIELD This application relates to the field of terminal technologies, and in particular, to an image selection method and an electronic device. BACKGROUND The continuous shooting function is a shooting function to continuously capture a plurality of images in a short period of time and store the captured images in the cache. In the related art, an increasing number of electronic devices (such as smartphones and tablet computers) support the continuous shooting function. The electronic device may select, according to parameters such as the sharpness of the captured images, composition, and expressions of person images, an optimal image from the plurality of images obtained through continuous shooting, and display the optimal image as an optimal image. However, the optimal image displayed by the electronic device is often not a favorite image of a user among the plurality of images obtained through continuous shooting. The user needs to reselect an optimal image from the plurality of images, thereby reducing convenience. SUMMARY This application provides an image selection method and an electronic device. The electronic device may update a decision model according to feedback information related to a user operation and perform image selection according to an updated decision model, so that a selected optimal image is more in line with user habits, thereby improving convenience. According to a first aspect, this application provides an image selection method, the method including: detecting, by an electronic device, first feedback information, the first feedback information including a plurality of images and a user operation acting on an image in the plurality of images; adjusting, by th
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,399,604 B2 | Electronic device control method and electronic device | 2025 | 0 |
References Cited — Backward Prior Art (23)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (5)
- Liu Zhenpeng et al;
- “
- HRS-DC: Hybrid Recommendation Model Based on Deep Learning
- ”
- ; Computer Engineering and 1 Applications; Jun. 13, 2019; with English Translation, 19 pages.