Files
tfm_ainventory/backend
Daniel Bedeleanu 197dcadfee fix: apply crop bounds before EXIF rotation to match AI analysis
Gemini analyzes raw image and returns crop_bounds for that coordinate space.
Previous code applied EXIF rotation first, changing image dimensions, then
used crop_bounds on the rotated image (coordinate mismatch).

Now: crop on raw image (matches AI) → then apply EXIF + manual rotation.
This ensures cropped region contains the actual item, not background.
2026-04-22 09:50:08 +03:00
..
2026-04-14 22:54:19 +03:00
2026-04-14 20:44:01 +03:00
2026-04-15 17:54:21 +03:00
2026-04-15 15:20:45 +03:00
2026-04-14 20:44:01 +03:00
2026-04-15 17:31:58 +03:00
2026-04-15 17:54:21 +03:00
2026-04-15 17:54:21 +03:00