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

Claim 5:
6. The electronic device of claim 1, wherein the first picture comprises three or more human faces, and wherein when executed by the one or more processors, the computer instructions further cause the electronic device to:
determine first dimensions of the crop box;
generate three or more sixth subject boxes based on the three or more human faces, wherein a seventh subject box comprises a largest area in the three or more sixth subject boxes;
when second dimensions of the seventh subject box are not greater than the first dimensions, perform on of:
expand the seventh subject box until third dimensions of an expanded seventh subject box is greater than the first dimensions and determine that the human face region is a first human face in a first existing seventh subject box; or
expand the seventh subject box until other subject boxes are all traversed and determine that the human face region is a second human face in a first updated seventh subject box, wherein the other subject boxes are sixth subject boxes other than the seventh subject box in the three or more sixth subject boxes;

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.