detect_faces
Queue face detection for a media file to return face crops or grouped identities from sampled video frames, helping you choose a target face for mapping.
Instructions
Queue face detection. Poll job_status, then inspect crops with view_artifact.
Single-frame detection (frame, zero based) returns faces with crop reference paths
usable as FaceMapping.target_face. To find who appears across a video, pass
sample_frames (N evenly spaced frames) or explicit frames (at most 64) instead: faces
are grouped into identities by recognition-embedding similarity at Fusion's default
similarity threshold. Each identity lists its appearances, frames, sample boxes and a
representative crop (reference_path, verified to re-detect as one face) usable as
target_face. Both modes write contact.jpg, one grid of every crop labelled "face N" or
"id N: x" (* marks an unverified reference); view it first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | ||
| frames | No | ||
| job_id | No | ||
| controls | No | ||
| media_path | Yes | ||
| sample_frames | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||