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

Claim 2:
3. The electronic device of claim 1, wherein the first picture comprises a human face, and wherein when executed by the one or more processors, the computer instructions further cause the electronic device to:
determine a first length of the crop box and a first width of the crop box based on a second length of the first picture and a second width of the first picture and an aspect ratio of the crop box;
generate a first subject box based on the human face, wherein the first subject box is a first bounding rectangle of the human face;
determine that the human face is the human face region when a third length of the first subject box is not greater than the first length and when a third width of the first subject box is not greater than the first width of the crop box;
calculate a position of the crop box to make the first composition manner the same as the second composition manner; and
further display the crop box in the first picture based on the position.