# US 12,003,850 B2 · Method for selecting image based on burst shooting and electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,003,850 B2
- Document ID: US12003850B2
- Status: Granted
- Kind: B2
- Application number: 17/427,433
- Filed: 2019-01-31
- Published: 2022-03-24
- Granted: 2024-06-04
- Earliest claimed: 2019-01-31
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Shuailin Lv; Yunchao Zhang; Hongyu Li; Zhiping Jia
- Web page: https://patentgrep.com/patent/US12003850B2

## CPC

- H04N 23/611: where the recognised objects include parts of the human body
- H04N 23/64: {Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image}
- G06T 7/0002: {Inspection of images, e.g. flaw detection}
- H04N 5/772: {the recording apparatus and the television camera being placed in the same enclosure}
- H04N 23/62: Control of parameters via user interfaces
- H04N 23/63: by using electronic viewfinders
- H04N 23/631: {Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters}
- H04N 23/743: Bracketing, i.e. taking a series of images with varying exposure conditions
- H04N 23/80: Camera processing pipelines; Components thereof
- H04N 23/951: by using two or more images to influence resolution, frame rate or aspect ratio
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method for selecting an image based on burst shooting is provided, which relates to the field of terminal technologies. The method includes: an electronic device displays a preview interface; detects a first operation used to start burst shooting; obtains N images; then performs scene recognition based on K images that meet an image quality screening condition, to determine a shooting scene; and finally determines M images based on the shooting scene, where N is greater than or equal to K, N is greater than or equal to M, N and K are positive integers greater than 1, and M is a positive integer greater than or equal to 1. This technical solution helps improve quality of an image obtained by the electronic device through screening, thereby improving user satisfaction with an image that is automatically obtained through screening during burst shooting by the electronic device.

## Claims

### Claim 1

A method comprising:
displaying, by an electronic device comprising a camera and a display, a preview interface on the display, wherein the preview interface displays an image captured by the camera;
detecting, by the electronic device, a first operation of a user that indicates to start burst shooting using the camera;
in response to detecting the first operation, obtaining, by the electronic device, N first-resolution images captured by the camera using burst shooting;
performing down-sampling on the N first-resolution images to obtain N second-resolution images;
performing, by the electronic device, scene recognition based on K images that meet an image quality screening condition in the N second-resolution images, to determine a shooting scene;
determining, by the electronic device, M second-resolution images from the N second-resolution images based on an image content screening condition corresponding to the shooting scene, wherein N is greater than or equal to K, N is greater than or equal to M, N and K are positive integers greater than 1, and M is a positive integer greater than or equal to 1;
displaying, by the electronic device, the M second-resolution images on the display; and
in response to detecting a second operation performed by a user on a first image in the M second-resolution images, displaying, by the electronic device, a second image on the display in full screen, wherein the second image is a first-resolution image corresponding to the first image.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the determining, by the electronic device, M second-resolution images from the N second-resolution images based on an image content screening condition corresponding to the shooting scene comprises:
determining, by the electronic device, the M second-resolution images that meet the image content screening condition from Q images, wherein the Q images are all images that meet the image quality screening condition in the N second-resolution images, M≤Q≤N, and Q is a positive integer.

### Claim 3 (depends on 1)

The method according to claim 1, wherein after the displaying, by the electronic device, the M second-resolution images on the display, the method further comprises:
in response to detecting an operation that the user selects at least one image from the M second-resolution images, storing, by the electronic device, the at least one image.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the performing, by the electronic device, the scene recognition based on the K images that meet the image quality screening condition in the N second-resolution images, to determine the shooting scene comprises:
performing, by the electronic device, the scene recognition based on preset scene recognition priority information and the K images that meet the image quality screening condition in the N second-resolution images, to determine the shooting scene.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the preset scene recognition priority information indicates that a descending order of scene recognition priorities is: a jumping scene, a look-back scene, and another scene.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the performing, by the electronic device, the scene recognition based on the K images that meet the image quality screening condition in the N second-resolution images, to determine the shooting scene comprises:
each time the electronic device obtains an image captured by the camera in the burst shooting, determining, by the electronic device, whether the image captured by the camera meets the image quality screening condition; and when the image meets the image quality screening condition, caching, by the electronic device, the image; or when the image does not meet the image quality screening condition, deleting, by the electronic device, the image; and
determining, by the electronic device, that there are K cached images that meet the image quality screening condition, and performing the scene recognition based on the K cached images that meet the image quality screening condition, to determine the shooting scene.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the image quality screening condition comprises one or more of an image definition screening condition, an image contrast screening condition, an image brightness screening condition, an image exposure screening condition, an image saturation screening condition, a condition indicating whether there is a color block in an image, or a condition indicating whether there is a color cast in an image.

### Claim 8

An electronic device comprising:
a display;
a camera;
one or more processors; and
a non-transitory memory, wherein the memory stores one or more computer programs, the one or more computer programs comprise instructions, and when the instructions are executed by the electronic device, the electronic device is caused to perform:
displaying a preview interface on the display, wherein the preview interface displays an image captured by the camera;
detecting a first operation of a user that indicates to start burst shooting using the camera;
in response to detecting the first operation, obtaining N first-resolution images captured by the camera using burst shooting;
performing down-sampling on the N first-resolution images to obtain N second-resolution images;
performing scene recognition based on K images that meet an image quality screening condition in the N second-resolution images, to determine a shooting scene;
determining M second-resolution images from the N second-resolution images based on an image content screening condition corresponding to the shooting scene, wherein N is greater than or equal to K, N is greater than or equal to M, N and K are positive integers greater than 1, and M is a positive integer greater than or equal to 1;
displaying, by the electronic device, the M second-resolution images on the display; and
in response to detecting a second operation performed by a user on a first image in the M second-resolution images, displaying, by the electronic device, a second image on the display in full screen, wherein the second image is a first-resolution image corresponding to the first image.

### Claim 9 (depends on 8)

The electronic device according to claim 8, wherein when the instructions are executed by the electronic device, the electronic device is caused to perform:
determining the M second-resolution images that meet the image content screening condition from Q images, wherein the Q images are all images that meet the image quality screening condition in the N second-resolution images, M≤Q≤N, and Q is a positive integer.

### Claim 10 (depends on 8)

The electronic device according to claim 8, wherein when the instructions are executed by the electronic device, after determining the M images, the electronic device is caused to further perform:
automatically storing the M images, and deleting an image in the N second-resolution images other than the M images.

### Claim 11 (depends on 8)

The electronic device according to claim 8, wherein when the instructions are executed by the electronic device, after displaying the first image on the display in full screen, the electronic device is caused to further perform:
in response to a third operation performed by the user on the first image, exiting full-screen display of the first image, and displaying the M second-resolution images on the display.

### Claim 12 (depends on 8)

The electronic device according to claim 8, wherein when the instructions are executed by the electronic device, after displaying the first image on the display in full screen, the electronic device is caused to further perform:
in response to detecting an operation that the user selects at least one image from the M second-resolution images, storing the at least one image.

### Claim 13 (depends on 8)

The electronic device according to claim 8, wherein the performing the scene recognition based on the K images that meet the image quality screening condition in the N second-resolution images, to determine the shooting scene comprises:
performing the scene recognition based on preset scene recognition priority information and the K images that meet the image quality screening condition in the N second-resolution images, to determine the shooting scene.

### Claim 14 (depends on 13)

The electronic device according to claim 13, wherein the preset scene recognition priority information indicates that a descending order of scene recognition priorities is: a jumping scene, a look-back scene, and another scene.

### Claim 15 (depends on 8)

The electronic device according to claim 8, wherein performing the scene recognition based on the K images that meet the image quality screening condition in the N second-resolution images, to determine the shooting scene comprises:
each time the electronic device obtains an image captured by the camera in the burst shooting, determining whether the image captured by the camera meets the image quality screening condition; and when the image meets the image quality screening condition, caching the image; or when the image does not meet the image quality screening condition, deleting the image; and
determining that there are K cached images that meet the image quality screening condition, and performing the scene recognition based on the K cached images that meet the image quality screening condition, to determine the shooting scene.

### Claim 16 (depends on 8)

The electronic device according to claim 8, wherein the image quality screening condition comprises one or more of an image definition screening condition, an image contrast screening condition, an image brightness screening condition, an image exposure screening condition, an image saturation screening condition, a condition indicating whether there is a color block in an image, or a condition indicating whether there is a color cast in an image.
