Giovanni Gasperini
← Projects

aImage

Smart event photo selection, entirely on your Mac.

Role
Product, model research, development
Period
2026
Status
Licensed distribution
0.7 s per photo on an M1 Pro MacBook
~10 min to index 1,000 photos, in the background
0 photos uploaded online: it works offline too

The problem

After an event the photographer has around a thousand shots and has to deliver different selections: the photos with each sponsor’s logo, those from a given room, those of the VIPs. Doing it by hand means scrolling through everything several times. Online services do it, but they require uploading clients’ photos to third-party servers, and a subscription.

Who it is for

Event photographers — me first — and agencies delivering selections for sponsors, locations and people.

The solution

Open a folder and search by description (“beer bottle”, “empty room”). Filter by time, GPS, orientation and camera, gather photos into collections and export copies of the originals into separate folders. The originals are never touched.

  • Sponsors: OCR reads the text in the photos (labels, banners) and suggests the most frequent brands, merging misreadings of the same brand. With 👍/👎 the app learns to find photos where the logo can’t be read.
  • People: faces are grouped by similarity; the user names them, merges similar groups and searches from a reference photo. No automatic “by name” recognition.
  • The principle is always the same: the AI suggests, the photographer confirms.

Architecture and technical choices

  1. 01 Scan EXIF, thumbnails, RAW included
  2. 02 Embeddings SigLIP 2 on full photos and 3×3 crops
  3. 03 OCR + faces Apple Vision, YuNet + SFace
  4. 04 Local index SQLite + numpy vectors
  5. 05 Export Copies of the originals per collection
Everything local, from the disk to the delivery folders
  • Open-source models chosen for their licence too: every dependency is checked for commercial use; two libraries were removed because they bundled GPL code, and the build fails if one sneaks back in.
  • Search down to the details: besides the whole photo, 3×3 crops are indexed, so even small logos are found.
  • No vector database: for a few thousand photos SQLite and numpy are enough, with fewer parts to install and maintain.
  • Self-contained Mac app (about 1 GB, models downloaded on first launch): FastAPI backend on 127.0.0.1, React interface in a native window.
  • Ed25519-signed licences verified offline, with automatic renewal: the app needs no account and no always-on server.

What I learned

Measure before you promise: timings, memory and model thresholds are documented next to the code. And in an AI product, saying “I don’t know” matters more than being confidently wrong — no suggestion is better than a random one.