Skip to content

Conversation

@democat3457
Copy link
Contributor

@democat3457 democat3457 commented Nov 7, 2022

#8517 (comment)

Reads .txt files as lists of media to support multiple media in sequence. Uses the .streams file extension in place of .txt for lists of streams and rtsp.streams as the default streams file, as suggested.

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Upgraded input handling for YOLOv5 to allow lists of images and streams from text files.

📊 Key Changes

  • 📁 Added support for list.txt files to specify lists of images to be processed.
  • 🌐 Added support for list.streams files for defining lists of stream URLs.
  • 🛠️ Adapted webcam detection logic to recognize .streams file extension.
  • 🔄 Modified LoadImages and LoadStreams classes to handle new .txt and .streams file types.
  • 📝 Updated README.md and help strings in scripts to document new features.

🎯 Purpose & Impact

  • 🚀 Streamlines batch processing by allowing users to load multiple images or streams from a single text file.
  • 🌍 Widens accessibility for users needing to process a large number of files or streams without specifying them individually.
  • 💡 Enhances the existing functionality to align with user workflows that involve bulk operations, potentially saving time and effort.

@glenn-jocher glenn-jocher self-assigned this Nov 7, 2022
@glenn-jocher glenn-jocher added the TODO High priority items label Nov 7, 2022
@glenn-jocher
Copy link
Member

@democat3457 this is great, thanks for the PR! I've added a TODO to prioritize a review this week.

@glenn-jocher glenn-jocher merged commit 5dc1ce4 into ultralytics:master Dec 3, 2022
@glenn-jocher
Copy link
Member

@democat3457 PR is merged. Thank you for your contributions to YOLOv5 🚀 and Vision AI ⭐

@glenn-jocher glenn-jocher removed the TODO High priority items label Dec 3, 2022
@democat3457 democat3457 deleted the patch-1 branch December 19, 2022 19:31
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