主权项 |
1. A method comprising:
detecting, by a computing device, two or more faces in a digital image; forming, by the computing device, at least two face boxes associated with the two or more faces; padding, by the computing device, the at least two face boxes to form padded face boxes; combining, by the computing device, the padded face boxes to form a first combined face box corresponding to a plurality of borders associated with the padded face boxes; and composing, by the computing device, the digital image by expanding the first combined face box responsive to a composition rule. |