All pages
Powered by GitBook
1 of 1

Face hide

Crop operation which removes faces from the top of the image

Crops out the topmost part of an image if it contains a face.

To control the margin when cropping the face out, you can use the face_margin=Y operation where Y is a percentage of the face height. Its default value is 20. You can also use negative numbers if you would like to keep part of the face.

func=facehide

Examples

Preview
Syntax

/docs/woman_dress.jpg?w=450&h=600&gravity=auto

/docs/woman_dress.jpg?func=facehide&w=450&h=600&face_margin=10