Skip to content

Conversation

@glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Nov 29, 2021

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Optimizing image resizing method for better quality and efficiency.

πŸ“Š Key Changes

  • Switched the image resizing interpolation method from cv2.INTER_LINEAR to cv2.INTER_AREA.

🎯 Purpose & Impact

  • The new interpolation method cv2.INTER_AREA is better for downsizing images, providing higher quality results.
  • Users should see an improvement in image clarity when using the YOLOv5 model for processing large images that need to be resized.
  • Potentially could lead to slightly improved object detection accuracy due to better image quality.

@glenn-jocher glenn-jocher self-assigned this Nov 29, 2021
@glenn-jocher glenn-jocher merged commit 5ca5dd4 into master Nov 29, 2021
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch November 29, 2021 12:15
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 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.

2 participants