Lab project

AI photo culling tool

121
RAW files in one run
15 min
for the whole session
$0.35
total API cost

A command-line tool that does the first culling pass on a shoot: every RAW file scored for sharpness, exposure, composition and subject clarity, with the reasoning written down.

The problem

Photographers come back from a shoot with hundreds or thousands of RAW files. Culling, picking the frames worth editing, takes one to three hours per session. The final call is a matter of taste, but the technical criteria are consistent: sharpness, exposure, composition and expression.

What it does

The tool reads RAW files directly with rawpy, extracts the EXIF data (aperture, shutter speed, ISO and focal length) and makes compressed JPEG previews with Pillow.

Each preview goes to GPT-4 Vision with a structured prompt that scores it from 1 to 1000 on sharpness, exposure, composition and subject clarity. Results are sorted and written to a CSV with a score and the reasoning for each frame, and the top shots are flagged for editing.

On a real session, 121 RAW files took 15 minutes at a total API cost of about $0.35.

Results

  • More than an hour of manual review saved per shoot
  • A 1 to 1000 score with reasoning for every frame, in CSV
  • Top frames flagged for editing
  • Any RAW format rawpy reads, including CR2, ARW and NEF

Built with

  • Python
  • OpenAI Vision API
  • Pillow
  • rawpy
  • CLI
  • EXIF

Bring the problem that costs your team the most hours

The lab is where a method gets tested on a small problem first. The case studies show the same methods running inside client businesses, on their data and under their rules.

Or email vitalii@karasov.co, or book a 30-minute call.

Drawing intake case studyCRM and GDPR case studyAll lab projects