tag_asset_face
Tag a detected face on an image with a person's name or existing tag ID, indexing it into Rekognition for automatic face matching in future uploads.
Instructions
Manually tag a detected face crop on an image asset and index it into Rekognition for org-wide face matching.
Workflow for "upload a headshot for a person tag":
Upload the headshot via upload_file (optionally with the person tag attached).
Call get_asset_face_taggings to get the face_id of the detected face crop.
Call tag_asset_face with the person tag's id (or a new name) + that face_id.
After indexing, future uploads automatically run face matching against this person.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the resource | |
| name | No | Create a new person tag with this name (alternative to tag_id) | |
| tag_id | No | Existing person tag id to associate (preferred when the tag already exists in a taxonomy) | |
| face_id | Yes | Detected face id from face_taggings (Rekognition face id) |