Skip to content
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

Conversion from RGB to BGR in Object Detection tutorial #6225

Closed
samokhinv opened this issue Sep 8, 2023 · 1 comment · Fixed by #6228
Closed

Conversion from RGB to BGR in Object Detection tutorial #6225

samokhinv opened this issue Sep 8, 2023 · 1 comment · Fixed by #6228

Comments

@samokhinv
Copy link

samokhinv commented Sep 8, 2023

The tutorial mentions the necessity of conversion the input image from BGR to RGB

albumentations expects the image to be in BGR format, not RGB, so you’ll have to convert the image before applying the transform.

Link to tutorial

However, relevant albumentations' tutorials on channels conversion and on boxes imply that it's not really true no more.

I suggest removing this outdated conversion from the tutorial.

@mariosasko
Copy link
Collaborator

Good catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants