Boost specific regions (e.g., faces)
mainThe boost option allows you to manually increase the importance of specific areas in an image. This is commonly used to ensure faces are included in the crop. Each boost object defines a rectangular region and a weight (between 0 and 1). The impact of the boost is proportional to both its weight and its area.
{
x: 11, // pixels from the left side
y: 20, // pixels from the top
width: 32, // pixels
height: 32, // pixels
weight: 1 // in the range [0, 1]
}