Face Draw
AI-powered participant randomizer using face detection from a group photo
Face Draw is an AI-powered randomizer that detects every person in a group photo and turns them into entries for a fair, animated draw. It is useful for any scenario where a random selection needs to be made from a room full of people — without manual entry.
How It Works
- Upload a group photo — the image is sent to the backend face analysis endpoint.
- Face detection — InsightFace SCRFD locates all faces and returns bounding boxes with identity labels (if enrolled).
- Face crop extraction — the frontend crops each detected face from the original image and registers it as a participant.
- Run the draw — choose an animation method and the system picks a winner fairly at random.
Draw Methods
| Method | Description |
|---|---|
| Spin Wheel | Conic-gradient wheel, one segment per face; physically spins to a stop |
| Spotlight | Sweeping highlight that decelerates across all faces before landing |
| Bubble Pop | All faces float as bubbles; eliminated one-by-one until one survives |
| Black Hole | A vortex pulls participants in; the last face standing wins |
| Cyber Lock | A targeting reticle locks on and eliminates faces sequentially |
Adding External Participants
If a participant is not visible in the photo (e.g., joining remotely), they can be added manually:
- Click Add External Participant.
- Enter their name.
- Optionally upload a photo — otherwise a generated avatar is used.
Duplicate names (case-insensitive) are rejected to keep the draw fair.
Editing Participant Names
Detected faces are labelled automatically using the face database. If a face is unrecognised, it is assigned a placeholder like USER_001. You can click any participant label to rename them before the draw.
Draw Duration
The duration of the animation can be configured in Settings (range: 3 s – 40 s). Longer durations create more suspense for large audiences.
Best Practices
- Use a well-lit group photo where all faces are clearly visible and forward-facing.
- Ensure the enrolled face database is up-to-date so participants are labelled by name automatically.
- For very large groups (20+ people), increase the draw duration to give the animation enough time to feel fair.
.png)