This project creates a Docker container for an Flask application that is responsible for object detection in images. The application uses yolov8 trained on noisy COCO dataset. The dataset is provided by ICIP Conference Competition 2023. you can try it on the following here
the project is designed as follow:
- Static Folder: This folder includes only one single folder called results and it is used to save the image with bounding boxes.
- templates: This folder include the home html page where the user is able to upload his image to be used by the model.
- uploads: Is the file where the uploaded images are saved.
- yolov8: I the folder where the ONNX weights of the trained model are saved.
- app.py: Is the main application file that loads the model and runs it on the uploaded image.
- Dockerfile:Is the known docker file to containerize the application.
- Procfile: is used by Heroku cloud to deploy the application.
- requirements: is the requirements file containing the necessary libraries to be installed.
- runtime.txt: It is to specify the python version to be used by Heroku cloud.
- .github: This folder contains one folder called workflows with one yaml file. the main.yaml file maintain the secure connection between github and Heroku