ultralytics / hub

Ultralytics HUB tutorials and support
https://hub.ultralytics.com
GNU Affero General Public License v3.0
107 stars 11 forks source link

Quality of images cropped from a video with YOLO #632

Open davidemerolla opened 1 month ago

davidemerolla commented 1 month ago

Search before asking

Question

Hello! I'm cropping images of object detected with YOLOv8 from a video? My video is 4K, but it seems that the quality of the images i have in output after cropping is low. How can I solve this problem? 91

Additional

I'll need to classify these road signs into damaged/not damaged to later train a CNN

pderrenger commented 1 month ago

Hello! 😊 It sounds like you're working on an interesting project with YOLOv8 and facing a challenge with the quality of the cropped images. When extracting objects from a 4K video, maintaining high image quality is crucial, especially for detailed analysis like assessing damage.

If you're experiencing lower quality in the output images than expected, the issue might be tied to the resize or compression settings used during the cropping process. YOLO itself doesn't degrade the quality of your images, but how you handle the images post-detection can impact their quality.

A few things to consider:

For detailed steps on how to adjust these settings, depending on your specific processing pipeline, you might want to refer to our documentation at https://docs.ultralytics.com/hub. While I've refrained from providing direct code examples, following these general guidelines should help you maintain high quality in your cropped images. Remember, keeping a close eye on each step of your image processing pipeline is key to preserving the quality of your outputs.

Best of luck with your road sign classification project! 🚀

github-actions[bot] commented 4 days ago

👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help.

For additional resources and information, please see the links below:

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLO 🚀 and Vision AI ⭐