HumanSignal / label-studio-ml-backend

Configs and boilerplates for Label Studio's Machine Learning backend
Apache License 2.0
585 stars 261 forks source link

The orientation information from the image's EXIF data is ignored in ml-backend examples that load images using Pillow. #535

Closed rick0000 closed 5 months ago

rick0000 commented 6 months ago

The orientation information from the image's EXIF data is ignored in ml-backend examples that load images using Pillow. Although images are displayed with the correct orientation in Label Studio based on their EXIF data, ml-backend examples such as example/tesseract and example/llm_interactive do not adhere to this orientation. As a result, bounding boxes created in Label Studio end up cropping unintended areas when processed by the ml-backend.

This issue is similar to the one discussed here: https://github.com/HumanSignal/label-studio-ml-backend/issues/156

rick0000 commented 6 months ago

I have created a pull request. I would appreciate it if you could advise me on who to assign as reviewers! https://github.com/HumanSignal/label-studio-ml-backend/pull/536

rick0000 commented 5 months ago

Closed as resolved by https://github.com/HumanSignal/label-studio-ml-backend/pull/536