Policies
Face detection
Face detection flags images with a single rule you write as a sentence:Flag images that contain at least / fewer than N faces.Both directions are useful, which is why the rule reads this way rather than as a simple on/off:
- At least 1 — flag any image showing a person. Use it where faces shouldn’t appear at all, like product photos or document uploads.
- Fewer than 1 — flag images with no face. Use it where a face is required, like verifying that a profile picture is actually of someone.
- At least 3 — flag group photos while letting individual portraits through.
probability reports confidence that the rule is satisfied, so an absence match (“fewer than 1 face, and there are none”) reports high confidence rather than zero. Detected faces are returned on the policy’s data field.
Face detection runs on images only. It doesn’t identify anyone — it counts faces and returns no identity information.