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

Claim 3:
4. The electronic device of claim 3, wherein when executed by the one or more processors, the computer instructions further cause the electronic device to:
generate an optimized human face based on the human face when the third length is greater than the first length or when the third width is greater than the first width, wherein the optimized human face is a picture region comprising first pixels with grayscale values greater than a preset value in a plurality of second pixels of the human face;
generate a second subject box based on the optimized human face, wherein the second subject box is a second bounding rectangle of the optimized human face; and
determine that the optimized human face is the human face region when a fourth length of the second subject box is not greater than the first length and when a fourth width of the second subject box is not greater than the first width.