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

Faster crop saving #8696

Merged
merged 1 commit into from
Jul 23, 2022
Merged

Faster crop saving #8696

merged 1 commit into from
Jul 23, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Jul 23, 2022

Avoids cv2 calls for BGR to RGB per #8641 (comment)

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improved image saving in YOLOv5 by fixing color issues.

πŸ“Š Key Changes

  • Altered the method used for saving images to maintain the correct color format (RGB).

🎯 Purpose & Impact

  • The changes ensure that when images are saved, they retain their original color presentation without any chroma subsampling issues.
  • Users of YOLOv5 will experience more accurate color representation in saved images, which is particularly important for image processing tasks where color information is crucial. πŸŽ¨βœ…

@glenn-jocher glenn-jocher self-assigned this Jul 23, 2022
@glenn-jocher glenn-jocher merged commit 916bdb1 into master Jul 23, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-2 branch July 23, 2022 21:30
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
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 this pull request may close these issues.

1 participant