This repository serves as a template for object detection using YOLOv8 and FastAPI. With YOLOv8, you get a popular real-time object detection model and with FastAPI, you get a modern, fast (high-performance) web framework for building APIs. The project also includes Docker, a platform for easily building, shipping, and running distributed applications.
You have two options to start the application: using Docker or locally on your machine.
Start the application with the following command:
docker-compose up
To start the application locally, follow these steps:
- Install the required packages:
pip install -r requirements.txt
- Start the application:
uvicorn main:app --reload --host 0.0.0.0 --port 8001
Note: You can change the address and port in the file docker-compose.yaml
Ready to start your object detection journey with YOLOv8-FastAPI? 🚀