Patent ID: 11914850
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 0:
1. An electronic device comprising:
a display;
a memory coupled to the display and configured to store a computer program code comprising computer instructions; and
one or more processors coupled to the display and the memory, wherein when executed by the one or more processors, the computer instructions cause the electronic device to:
display at least one thumbnail on the display, wherein the at least one thumbnail comprises a first thumbnail that corresponds to a first picture, and wherein the first picture comprises a human face region;
detect a first operation on the first thumbnail;
display, in response to the first operation, the first picture and a crop box in the first picture, wherein the crop box comprises the human face region, and wherein a first composition manner of the human face region in the crop box is the same as a second composition manner of the human face region in the first picture; and
generate, based on the crop box, a user profile picture comprising the human face region,
wherein the first composition manner is based on a first shortest distance from among a first distance between a center of gravity of the human face region and a first center line of the crop box, a second distance between the center of gravity and a first edge of the crop box, and a third distance between the center of gravity and a first reference line of the crop box,
wherein the first reference line is a first trisection line or a first golden section line,
wherein the second composition manner is based on a second shortest distance from among a fourth distance between the center of gravity and a second center line of the first picture, a fifth distance between the center of gravity and a second edge of the first picture, and a sixth distance between the center of gravity and a second reference line of the first picture, and
wherein the second reference line is a second trisection line or a second golden section line.