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

Using Flask API fro inference #657

Closed
wants to merge 3 commits into from
Closed

Using Flask API fro inference #657

wants to merge 3 commits into from

Conversation

yasersakkaf
Copy link

@yasersakkaf yasersakkaf commented Aug 7, 2020

You can use your models as APIs for inference.
See instructions in Using the API for Inference section in READMe

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Introducing API support for model inference in the YOLOv5 repository.

πŸ“Š Key Changes

  • Added an API endpoint (/detect) for running model inference.
  • Included a detect_api.py script to launch a Flask server for the API.
  • Provided a client.py utility and equivalent cURL command for sending requests to the API.
  • Integrated configuration through api_data.json for easy API parameter adjustments.

🎯 Purpose & Impact

  • Purpose: To enable users to perform inference using a REST API, facilitating easier integration into applications and services.
  • Impact: Developers can now automate and scale the YOLOv5 inference process in production environments, and non-technical users can interact with the model without deep knowledge of the underlying system. πŸš€

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Sep 7, 2020
@github-actions github-actions bot closed this Sep 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant