REST APIs are commonly used to expose Machine Learning (ML) models to other services. This folder contains an example REST API created using Flask to expose the YOLOv5s model from PyTorch Hub.
Flask is required. Install with:
$ pip install FlaskAfter Flask installation run:
$ python3 restapi.py --port 5000