photonixapp / photonix

A modern, web-based photo management server. Run it on your home server and it will let you find the right photo from your collection on any device. Smart filtering is made possible by object recognition, face recognition, location awareness, color analysis and other ML algorithms.
https://photonix.org/
GNU Affero General Public License v3.0
1.85k stars 125 forks source link

AI tags in wrong location with metadata rotated images. #387

Open bryanlyon opened 2 years ago

bryanlyon commented 2 years ago

Describe the bug When an image is rotated in metadata (Orientation flag) the tagging does not account for the rotation, leaving the tagged items in the wrong place.

To Reproduce Steps to reproduce the behavior:

  1. Add an image which is metadata rotated
  2. Face/object detection finds a tag but it gets shown in the wrong place.

Expected behavior Bounding boxes should account for metadata rotation so they're in the right place instead of being shown in the wrong place.

Server (please complete the following information):

damianmoore commented 2 years ago

Thanks for reporting this @bryanlyon :raised_hands: