Skip to content

[BUG] Visualization of orientation for image and prediction are not matched #6695

Description

@unfollow7

Describe the problem

the orientation for original image is ccw90,
algorithm uses original image to detect with no manual rotate,
but, visualization of fiftyone rotate the image automatically to keep image looks correct just like Windows Explorer
this causes mismatch for labels and image in view

Code to reproduce issue

Image

here are the original image and txt for this problem
Image
IMG_20240909140225_0453_4080x3060_I.txt

System information

  • OS Platform and Distribution : win11
  • Python version : Python 3.12.12
  • FiftyOne version : FiftyOne v1.11.0, Voxel51, Inc.
  • FiftyOne installed from (pip or source): pip

Other info/logs

Willingness to contribute

  • Yes. I can contribute a fix for this bug independently
  • Yes. I would be willing to contribute a fix for this bug with guidance
    from the FiftyOne community
  • No. I cannot contribute a bug fix at this time

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug fixes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions