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

CORS Updated #12706

Open
wants to merge 61 commits into
base: master
Choose a base branch
from
Open

CORS Updated #12706

wants to merge 61 commits into from

Conversation

atif275
Copy link

@atif275 atif275 commented Feb 4, 2024

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Introducing a web application for streaming and running object detection on videos.

πŸ“Š Key Changes

  • Added app.py to create a Flask web app with endpoints to start/stop the video stream, list videos, and run detection.
  • Modified detect.py to change the default detection source to the "videos" directory.
  • Added static/script.js for handling UI interactions like starting/stopping streams and triggering video detections.
  • Created static/style.css to apply styles to the web application's UI elements.
  • Developed templates/index.html to set up the structure and layout of the web front-end.

🎯 Purpose & Impact

  • Enables users to interact with YOLOv5 object detection via a user-friendly web interface.
  • Adds functionality for live streaming video that can be started or stopped and processed for object detection.
  • Provides capabilities to select and play videos, as well as initiate detection on demand, enhancing the accessibility and user experience of the object detection system.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸ‘‹ Hello @atif275, thank you for submitting a YOLOv5 πŸš€ PR! To allow your work to be integrated as seamlessly as possible, we advise you to:

  • βœ… Verify your PR is up-to-date with ultralytics/yolov5 master branch. If your PR is behind you can update your code by clicking the 'Update branch' button or by running git pull and git merge master locally.
  • βœ… Verify all YOLOv5 Continuous Integration (CI) checks are passing.
  • βœ… Reduce changes to the absolute minimum required for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." β€” Bruce Lee

@glenn-jocher
Copy link
Member

@atif275 hello there! πŸ‘‹

Thank you for the PR summary on the CORS update. It's great to see contributions that aim to enhance user experience and accessibility with a web interface for YOLOv5 object detection. Your efforts to integrate a Flask web app and improve the interaction with the detection system are much appreciated.

I'll review the changes and provide feedback or merge the PR accordingly. Keep up the fantastic work, and thank you for being a part of the YOLOv5 community! πŸš€

For any further details on usage and contributions, please refer to our documentation at https://docs.ultralytics.com/yolov5/.

Copy link
Contributor

github-actions bot commented Apr 9, 2024


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I sign the CLA


2 out of 3 committers have signed the CLA.
βœ… (UltralyticsAssistant)[https://github.com/UltralyticsAssistant]
βœ… (glenn-jocher)[https://github.com/glenn-jocher]
❌ @atif275
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

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.

3 participants