Platform Overview
Welcome to the Fotobots Developer Portal. Fotobots is a high-throughput event photography and facial recognition engine engineered for mass participation events such as marathons, triathlons, and sporting festivals.
Core Architecture
Fotobots is designed around an asynchronous, event-driven architecture:
- Storage Tier (Cloudflare R2 / S3): High-durability object storage for high-resolution originals, web-optimized previews, and thumbnails.
- Indexing Queues (Cloudflare Queues): Asynchronous decoupled task queues that process incoming photos without blocking upload clients.
- AI Vision Containers: Deep-learning models that detect faces, compute 512-dimensional facial feature embeddings, and extract bib numbers via optical character recognition (OCR).
- Vector Database: High-speed nearest-neighbor similarity search matching runner selfies against millions of race photos in milliseconds.
┌──────────────┐ Presigned PUT ┌──────────────┐│ Partner App ├──────────────────────►│ R2 / S3 │└──────┬───────┘ └──────┬───────┘ │ POST /photos/photo/success │ ▼ ▼┌──────────────┐ Enqueue Task ┌──────────────┐│ Fotobots API ├──────────────────────►│ CF Queue │└──────────────┘ └──────┬───────┘ ▼ ┌──────────────┐ │ AI Container │ │ (InsightFace)│ └──────────────┘What You Need to Get Started
Before writing any integration code, ensure you have:
- A Fotobots Partner Account on the Web Admin portal (Sandbox Admin or Production Admin).
- An Organization API Key (e.g.
fb_test_...orfb_live_...). - An active Album ID representing your race or event.