Skip to content

Object Detection Service Template. FastAPI for YOLOv8 in Docker.

License

Notifications You must be signed in to change notification settings

DHRUV6029/yolov8-fastapi

 
 

Repository files navigation

YOLOv8-FastAPI:

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.


Getting Started

You have two options to start the application: using Docker or locally on your machine.

Using Docker

Start the application with the following command:

docker-compose up

Locally

To start the application locally, follow these steps:

  1. Install the required packages:
pip install -r requirements.txt
  1. 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

FAST API Docs url:

http://0.0.0.0:8001/docs#/

FAST API

Ready to start your object detection journey with YOLOv8-FastAPI? 🚀


Overview of the code

About

Object Detection Service Template. FastAPI for YOLOv8 in Docker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.1%
  • Dockerfile 1.9%