-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with upload annotation - landscape/portrait #738
Comments
Hi @sbanori , Basically it does work correctly. For the tool you changed photos (at least dimensions) and try to upload old annotations for new photos. It will not work. Even you are lucky and you don't have the error you will have incorrect annotations on these new photos (they are new just because you did some transformation with them out of the tool). You have to update annotations as well (rotate bounding boxes as you did for images). It should be trivial but we don't have scripts which will do such transformation for you. What can be done here?
I will close the question for now. Don't hesitate to summit a feature request |
@sbanori From what I figured out CVAT reads in the image in the original 'rotation', meaning that it doesn't apply any rotation stored in the EXIF metadata. Sometimes pictures include an EXIF Orientation Value, and when you open them, based on the software you are using and this value they can be rotated or not. See for example scikit-image/scikit-image #3150. For example if you use |
@dzanaga , do you think we should have an option to use EXIF metadata for images in settings? |
@nmanovic I believe it would be enough to document the behavior in the User's Guide, so that users are aware or can easily find out about this detail if needed for their images. The EXIF orientation is a metadata value that can be changed quite easily by viewing software or can also be lost during intermediate processing steps. I wouldn't rely on it, I think it would introduce more confusion. |
For opencv for example you can use
as highligted in https://stackoverflow.com/questions/44537075/image-orientation-pythonopencv |
Hello,
Maybe my problem is similar like in issue #733 but I will tell you about my case.
When we have photos, some of them can have bad orientation to make bboxes on them (1bokiem.jpg).
So we have two ways:
And here is a bit problem with with second way.
which means that rotating function in CVAT's window work only optically on this session, and it not saving the new orientation in photo data.
Is this works correct?
The text was updated successfully, but these errors were encountered: