Commit Graph
31 Commits
Author SHA1 Message Date
flanandClaude Sonnet 4.6 63cfe62340 fix: move uv sync before source COPY for faster incremental builds
uv sync was after COPY if_curator/, so any source change invalidated
the 800MB dependency cache and re-downloaded everything. Now deps are
installed first and stay cached across code-only changes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 00:04:28 +00:00
flanandClaude Sonnet 4.6 d3f3f2b4e2 fix: upload only files created in current run, not entire output dir
upload_to_frigate() was scanning the output directory with os.listdir(),
picking up leftover files from previous runs and re-uploading them.
Use asset_map (populated by execute_jobs) to upload only current-run files.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 00:03:29 +00:00
flanandClaude Sonnet 4.6 e2005fb8ef fix: apply EXIF orientation when loading images from Immich
PIL opens JPEGs without applying EXIF rotation. Immich computes face
bounding boxes on orientation-corrected images, so portrait photos
produced misaligned crops (showing chins/eyes/foreheads instead of
whole faces). ImageOps.exif_transpose() normalizes orientation before
any coordinate math.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 23:08:37 +00:00
flanandClaude Sonnet 4.6 d7d0431a36 fix: use INSIGHTFACE_HOME env var for model persistence
Hardcoded root="~/.insightface" ignored the INSIGHTFACE_HOME env var,
causing Buffalo_L to download into the container on every run instead
of persisting to the mounted volume.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 22:56:47 +00:00
flanandClaude Sonnet 4.6 d106d30060 feat: RGBA fix, per-person tracking, dry-run, retry-rejected, reset-person
- Fix RGBA→JPEG error: convert all images to RGB before saving
- Upload tracker: per-person breakdown in JSON, reset_person(), get_person_summary()
- mark_rejected() only fires on face-detection failures (not all HTTP 400s)
- New env vars: DRY_RUN, RETRY_REJECTED, RESET_PERSON
- Tracker summary printed at startup showing uploaded/rejected counts per person
- Document new env vars in compose.yml

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 22:39:11 +00:00
flan 11ff3752d3 nonetype 2026-06-11 13:21:35 -04:00
flan 7b83dbd114 fix nonetype error 2026-06-11 12:51:59 -04:00
flan f5a8125b1e dev 2026-06-11 12:31:11 -04:00
flan 6cc2aff89c moved location 2026-06-11 11:58:36 -04:00
flan 30c70fb00b track uploaded files to prevent dupes. uses immich ID of original image 2026-06-11 11:34:13 -04:00
flan a04d1a5d9b fix: force onnxruntime-gpu over CPU + preload CUDA DLLs 2026-06-11 10:34:31 -04:00
flan dac2bc8242 fix: revert to CUDA 12.6 base for onnxruntime-gpu compatibility 2026-06-11 10:00:51 -04:00
flan b0ee06ee51 fix: revert to CUDA 12.6 base for onnxruntime-gpu compatibility 2026-06-11 09:59:53 -04:00
flan 3556ec54b8 Update cli.py 2026-06-11 01:32:36 -04:00
flan e7ab034356 Update cli.py 2026-06-11 01:26:16 -04:00
flan c5d7a46447 Update README.md 2026-06-10 20:48:13 -04:00
flan ac57c562fb Update README.md 2026-06-10 20:47:30 -04:00
flan 27f2cf3576 Update README.md 2026-06-10 20:46:02 -04:00
flan ad11cf55fb Update README.md 2026-06-10 20:44:31 -04:00
flan 14b59ebc93 Update README.md 2026-06-10 16:13:33 -04:00
flan fc1afb1b58 Update compose.yml 2026-06-10 16:11:19 -04:00
flan 9298ac40d9 Update Dockerfile 2026-06-10 16:09:52 -04:00
flan b5c61b2568 Create entrypoint.sh 2026-06-10 16:09:13 -04:00
flan afa306af2e Update README.md 2026-06-10 15:57:33 -04:00
flan cfc2018090 Update compose.yml 2026-06-10 15:56:37 -04:00
flan 152151c54f Create Dockerfile 2026-06-10 15:55:40 -04:00
flan 239d9d15b8 Update README.md 2026-06-10 15:53:39 -04:00
flan f35d63b957 Update README.md 2026-06-10 15:50:16 -04:00
flan a38122a5fe Update README.md 2026-06-10 15:48:08 -04:00
flan 9c1fbc1da2 Create compose.yml 2026-06-10 15:25:57 -04:00
flan 7573e9384b Update cli.py 2026-06-10 15:19:09 -04:00