~/Computer Vision

YOLOv8 Smoke & Cigarette Detection.

A fine-tuned YOLOv8 object-detection model that identifies cigarettes and smoke-related objects, served through Flask.

92%Detection accuracyReported on the held-out test set.

overview

An object-detection system built by fine-tuning YOLOv8 on a custom annotated dataset, with inference exposed through a Flask web application.

problem

Detecting small objects such as cigarettes, and diffuse patterns such as smoke, requires a detector trained on representative, well-annotated data.

solution

A custom annotated dataset, a YOLOv8 fine-tuning and augmentation loop in Python/OpenCV, and a Flask application for serving inference.

implementation

• Custom dataset annotation
• YOLOv8 fine-tuning with data augmentation
• Training loop in Python and OpenCV
• Inference served through a Flask web application

key features

  • Custom annotated dataset
  • YOLOv8 fine-tuning with augmentation
  • Flask inference web app

technologies

  • Python
  • YOLOv8
  • OpenCV
  • Flask

Source code ↗