2 Commits
Author SHA1 Message Date
adamfandClaude Opus 5.5 e2330c6f77 Add Claude Haiku baseline
Port the display reader from the web server's rowing module as a second
extraction method: send the whole photo to claude-haiku-4-5 and ask for
elapsed time and distance as JSON. The prompt, model and reply parsing
are unchanged; what is new is reading from a file, converting the reply
to WorkoutStats so both methods produce the same rows, and accepting
ANTHROPIC_API_KEY as well as CLAUDE_API_KEY.

Select it with 'rowing-stats --method haiku'. The anthropic SDK is an
optional extra, imported only when the baseline is used, so the OCR
pipeline still installs and runs without it or an API key.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-09 11:49:13 +01:00
adamfandClaude Opus 5.5 685ee9bf3d Add README
Cover the problem, the approach, how to run it, and its limitations,
including measured extraction rates on the sample photos.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-09 11:46:19 +01:00