# US 2025/0168492 A1 · Photographing method 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 2025/0168492 A1
- Document ID: US20250168492A1
- Status: Published application
- Kind: A1
- Application number: 18/873,495
- Filed: 2023-11-13
- Published: 2025-05-22
- Earliest claimed: 2023-02-27
- Assignees: Honor Device Co., Ltd.
- Applicants: Honor Device Co., Ltd.
- Inventors: Weilong Hou; Shiyu Zhu; Jian Zhang; Zhen Dong
- Web page: https://patentgrep.com/patent/US20250168492A1

## CPC

- H04N 5/76: Television signal recording
- H04N 23/632: {for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters}
- H04N 23/60: Control of cameras or camera modules
- H04N 23/62: Control of parameters via user interfaces
- 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}
- H04N 23/667: Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
- H04N 23/80: Camera processing pipelines; Components thereof
- H04N 23/95: Computational photography systems, e.g. light-field imaging systems
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

This application is applicable to the field of terminal technologies, and provides a photographing method and an electronic device. A corresponding candidate image is determined from each group of preview images falling within an observation time window sequentially, each time after a candidate image of a group of preview images is determined, the currently determined candidate image is buffered in one preset first buffer region, and in a case that all first buffer regions are occupied, a candidate image with earliest buffer time in all the first buffer regions is replaced with the currently determined candidate image. In a case that a photographing operation is detected, a to-be-compared image is determined from candidate images currently buffered in the first buffer regions and an observation buffer region, and a manual snapshot image corresponding to the photographing operation is determined from the to-be-compared image and all preview images within preset duration.

## Claims

### Claim 1

A photographing method, comprising:
determining a score of each frame of preview image in a snapshot mode;
determining, from each group of preview images falling within an observation time window sequentially as time goes by, a candidate image of each group of preview images based on the score of each frame of preview image;
buffering, each time a candidate image of a group of preview images is determined, the currently determined candidate image in one of one or more preset first buffer regions, fixing the currently determined candidate image in a preset observation buffer region in a case that all the first buffer regions are occupied, and replacing a candidate image with earliest buffer time in all the first buffer regions with the currently determined candidate image after a candidate image of a next group of preview images is determined;
determining, in a case of detecting a photographing operation, a to-be-compared image of the photographing operation in response to the photographing operation from candidate images currently buffered in all the first buffer regions and the observation buffer region; and
determining, based on a score of the to-be-compared image and the score of each frame of preview image within preset duration after an occurrence moment of the photographing operation, a manual snapshot image corresponding to the photographing operation from the to-be-compared image and all preview images within the preset duration.

### Claim 2 (depends on 1)

The photographing method according to claim 1, wherein the determining, from each group of preview images falling within an observation time window sequentially as time goes by, a candidate image of each group of preview images comprises:
determining a preview image whose score is higher than a preset score threshold in each group of preview images as the candidate image of each group of preview images.

### Claim 3 (depends on 1)

The photographing method according to claim 1, wherein the determining, based on a score of the to-be-compared image and the score of each frame of preview image within preset duration after an occurrence moment of the photographing operation, a manual snapshot image corresponding to the photographing operation from the to-be-compared image and all preview images within the preset duration comprises:
determining, in a case that no another photographing operation is detected again within the preset duration, an image with a highest score in the to-be-compared image and all the preview images within the preset duration as the manual snapshot image corresponding to the photographing operation.

### Claim 4 (depends on 3)

The photographing method according to claim 3, wherein the determining, based on a score of the to-be-compared image and the score of each frame of preview image within preset duration after an occurrence moment of the photographing operation, a manual snapshot image corresponding to the photographing operation from the to-be-compared image and all preview images within the preset duration further comprises:
determining, in a case that another photographing operation is detected again within the preset duration, an image with a highest score in the to-be-compared image and all preview images within a first time period as the manual snapshot image corresponding to the photographing operation, wherein
a start moment of the first time period is the occurrence moment of the photographing operation, and an end moment of the first time period is a moment at which the another photographing operation is detected again.

### Claim 5 (depends on 4)

The photographing method according to claim 4, further comprising:
determining, in a case that the another photographing operation is detected again within the preset duration, a to-be-compared image corresponding to the another photographing operation based on the scores of all preview images within a second time period, wherein
a start moment of the second time period is the moment at which the another photographing operation is detected again, and a sum of duration of the second time period and duration of the first time period is second duration.

### Claim 6 (depends on 1)

The photographing method according to claim 1, wherein after the determining a to-be-compared image of the photographing operation from candidate images currently buffered in all the first buffer regions and the observation buffer region, and before the determining a manual snapshot image corresponding to the photographing operation from the to-be-compared image and all preview images within the preset duration, the method further comprises:
generating a target thumbnail based on the to-be-compared image corresponding to the photographing operation, and displaying the target thumbnail in a thumbnail display region of a photographing preview interface.

### Claim 7 (depends on 6)

The photographing method according to claim 6, wherein after the determining a manual snapshot image corresponding to the photographing operation from the to-be-compared image and all preview images within the preset duration, the method further comprises:
generating an actual thumbnail based on the manual snapshot image corresponding to the photographing operation, and replacing the target thumbnail with the actual thumbnail.

### Claim 8

An electronic device, comprising:
one or more processors; and
one or more memories, wherein
the one or more memories store one or more computer-executable programs, the one or more computer-executable programs comprise instructions, and when the instructions are executed by the one or more processors, the electronic device is caused to perform the steps of the photographing method comprising:
determining a score of each frame of preview image in a snapshot mode;
determining, from each group of preview images falling within an observation time window sequentially as time goes by, a candidate image of each group of preview images based on the score of each frame of preview image;
buffering, each time a candidate image of a group of preview images is determined, the currently determined candidate image in one of one or more preset first buffer regions, fixing the currently determined candidate image in a preset observation buffer region in a case that all the first buffer regions are occupied, and replacing a candidate image with earliest buffer time in all the first buffer regions with the currently determined candidate image after a candidate image of a next group of preview images is determined;
determining, in a case of detecting a photographing operation, a to-be-compared image of the photographing operation in response to the photographing operation from candidate images currently buffered in all the first buffer regions and the observation buffer region; and
determining, based on a score of the to-be-compared image and the score of each frame of preview image within preset duration after an occurrence moment of the photographing operation, a manual snapshot image corresponding to the photographing operation from the to-be-compared image and all preview images within the preset duration.

### Claim 9

A computer-readable storage medium, storing a computer-executable program, wherein the computer-executable program, when invoked by a computer, causes the computer to perform the steps of the photographing method comprising:
determining a score of each frame of preview image in a snapshot mode;
determining, from each group of preview images falling within an observation time window sequentially as time goes by, a candidate image of each group of preview images based on the score of each frame of preview image;
buffering, each time a candidate image of a group of preview images is determined, the currently determined candidate image in one of one or more preset first buffer regions, fixing the currently determined candidate image in a preset observation buffer region in a case that all the first buffer regions are occupied, and replacing a candidate image with earliest buffer time in all the first buffer regions with the currently determined candidate image after a candidate image of a next group of preview images is determined;
determining, in a case of detecting a photographing operation, a to-be-compared image of the photographing operation in response to the photographing operation from candidate images currently buffered in all the first buffer regions and the observation buffer region; and
determining, based on a score of the to-be-compared image and the score of each frame of preview image within preset duration after an occurrence moment of the photographing operation, a manual snapshot image corresponding to the photographing operation from the to-be-compared image and all preview images within the preset duration.

### Claim 10

(canceled)

### Claim 11 (depends on 2)

The photographing method according to claim 2, wherein the determining, based on a score of the to-be-compared image and the score of each frame of preview image within preset duration after an occurrence moment of the photographing operation, a manual snapshot image corresponding to the photographing operation from the to-be-compared image and all preview images within the preset duration comprises:
determining, in a case that no another photographing operation is detected again within the preset duration, an image with a highest score in the to-be-compared image and all the preview images within the preset duration as the manual snapshot image corresponding to the photographing operation.

### Claim 12 (depends on 2)

The photographing method according to claim 2, wherein after the determining a to-be-compared image of the photographing operation from candidate images currently buffered in all the first buffer regions and the observation buffer region, and before the determining a manual snapshot image corresponding to the photographing operation from the to-be-compared image and all preview images within the preset duration, the method further comprises:
generating a target thumbnail based on the to-be-compared image corresponding to the photographing operation, and displaying the target thumbnail in a thumbnail display region of a photographing preview interface.

### Claim 13 (depends on 3)

The photographing method according to claim 3, wherein after the determining a to-be-compared image of the photographing operation from candidate images currently buffered in all the first buffer regions and the observation buffer region, and before the determining a manual snapshot image corresponding to the photographing operation from the to-be-compared image and all preview images within the preset duration, the method further comprises:
generating a target thumbnail based on the to-be-compared image corresponding to the photographing operation, and displaying the target thumbnail in a thumbnail display region of a photographing preview interface.

### Claim 14 (depends on 4)

The photographing method according to claim 4, wherein after the determining a to-be-compared image of the photographing operation from candidate images currently buffered in all the first buffer regions and the observation buffer region, and before the determining a manual snapshot image corresponding to the photographing operation from the to-be-compared image and all preview images within the preset duration, the method further comprises:
generating a target thumbnail based on the to-be-compared image corresponding to the photographing operation, and displaying the target thumbnail in a thumbnail display region of a photographing preview interface.

### Claim 15 (depends on 5)

The photographing method according to claim 5, wherein after the determining a to-be-compared image of the photographing operation from candidate images currently buffered in all the first buffer regions and the observation buffer region, and before the determining a manual snapshot image corresponding to the photographing operation from the to-be-compared image and all preview images within the preset duration, the method further comprises:
generating a target thumbnail based on the to-be-compared image corresponding to the photographing operation, and displaying the target thumbnail in a thumbnail display region of a photographing preview interface.

### Claim 16 (depends on 11)

The photographing method according to claim 11, wherein the determining, based on a score of the to-be-compared image and the score of each frame of preview image within preset duration after an occurrence moment of the photographing operation, a manual snapshot image corresponding to the photographing operation from the to-be-compared image and all preview images within the preset duration further comprises:
determining, in a case that another photographing operation is detected again within the preset duration, an image with a highest score in the to-be-compared image and all preview images within a first time period as the manual snapshot image corresponding to the photographing operation, wherein
a start moment of the first time period is the occurrence moment of the photographing operation, and an end moment of the first time period is a moment at which the another photographing operation is detected again.

### Claim 17 (depends on 16)

The photographing method according to claim 16, further comprising:
determining, in a case that the another photographing operation is detected again within the preset duration, a to-be-compared image corresponding to the another photographing operation based on the scores of all preview images within a second time period, wherein
a start moment of the second time period is the moment at which the another photographing operation is detected again, and a sum of duration of the second time period and duration of the first time period is second duration.

### Claim 18 (depends on 17)

The photographing method according to claim 17, wherein after the determining a to-be-compared image of the photographing operation from candidate images currently buffered in all the first buffer regions and the observation buffer region, and before the determining a manual snapshot image corresponding to the photographing operation from the to-be-compared image and all preview images within the preset duration, the method further comprises:
generating a target thumbnail based on the to-be-compared image corresponding to the photographing operation, and displaying the target thumbnail in a thumbnail display region of a photographing preview interface.

### Claim 19 (depends on 18)

The photographing method according to claim 18, wherein after the determining a manual snapshot image corresponding to the photographing operation from the to-be-compared image and all preview images within the preset duration, the method further comprises:
generating an actual thumbnail based on the manual snapshot image corresponding to the photographing operation, and replacing the target thumbnail with the actual thumbnail.

### Claim 20 (depends on 8)

The electronic device according to claim 8, wherein the determining, based on a score of the to-be-compared image and the score of each frame of preview image within preset duration after an occurrence moment of the photographing operation, a manual snapshot image corresponding to the photographing operation from the to-be-compared image and all preview images within the preset duration comprises:
determining, in a case that no another photographing operation is detected again within the preset duration, an image with a highest score in the to-be-compared image and all the preview images within the preset duration as the manual snapshot image corresponding to the photographing operation.

### Claim 21 (depends on 20)

The electronic device according to claim 20, wherein the determining, based on a score of the to-be-compared image and the score of each frame of preview image within preset duration after an occurrence moment of the photographing operation, a manual snapshot image corresponding to the photographing operation from the to-be-compared image and all preview images within the preset duration further comprises:
determining, in a case that another photographing operation is detected again within the preset duration, an image with a highest score in the to-be-compared image and all preview images within a first time period as the manual snapshot image corresponding to the photographing operation, wherein
a start moment of the first time period is the occurrence moment of the photographing operation, and an end moment of the first time period is a moment at which the another photographing operation is detected again.
