fix(workers/people): apply EXIF orientation before face detection and backfill #942
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/face-exif-orientation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
ImageOps.exif_transposebefore detection inface_model.pyand before bbox cropping in the embedding backfill path (main.py), mirroring the existingworkers/mlpattern.Tests
tests/test_exif_orientation.py: 4 regression tests (content-driven detection mock; EXIF-tagged vs physically pre-rotated inputs must yield identical normalized boxes / identical crops).