Original image, cropped
To control the margin when cropping the face, you can use the face_margin=X[,Y] operation when Y is the vertical margin and X is the horizontal margin. If only one number is supplied, horizontal and vertical margins are equal. X and Y are in percent of the face width and height, respectively. Default value is 20.
Horizontal and vertical margins
Auto aspect ratio
Was this page helpful?