computeAntiSpoofCropBox
fun computeAntiSpoofCropBox(boundingBox: FaceBoundingBox, imageWidth: Int, imageHeight: Int, scale: Double = 2.7): FaceBoundingBox
Computes the expanded, image-clamped bounding box for passive face anti-spoofing (MiniFASNetV2).
Follows the Silent-Face-Anti-Spoofing CropImage._get_new_box formulation: expands boundingBox around its center by scale (default 2.7 for MiniFASNetV2), capped so the expanded box does not exceed the source image dimensions, and shifts the box inward if it extends beyond [0, imageWidth - 1] or [0, imageHeight - 1].