Computer Vision Project Suite
A portfolio collection of applied computer-vision projects — object detection, classification, OCR-driven data extraction, and web deployment — built with YOLOv5, YOLOv6, YOLOv8, and Detectron2.
Overview
This repository is a curated suite of end-to-end computer-vision mini-projects. Each sub-project tackles a distinct real-world detection or recognition problem — from environmental monitoring and agriculture to road safety, accessibility, and content moderation. The projects span the full applied-CV workflow: dataset preparation (Roboflow / COCO), custom model training, inference, evaluation, and in several cases Flask-based web deployment.
The collection demonstrates breadth across modern detection frameworks and the practical engineering needed to take a model from a Colab notebook to a runnable application.
Project Index
- Fire Detection — Real-time fire detection in images and video using YOLOv8 (Ultralytics), with CLI and Python inference examples.
- Garbage Detection (YOLOv5) — Custom-trained YOLOv5 detector for waste objects (e.g. containers, trash) to support smart waste management and environmental monitoring. Includes training notebook and full YOLOv5 train/detect/export tooling.
- Plant Disease Detection (YOLOv5) — Custom YOLOv5 detector trained on a multi-class plant/leaf dataset (~30 classes) for precision-agriculture crop health diagnosis.
- Rotten & Fresh Fruits Detection (YOLOv5) — YOLOv5-based classifier/detector that distinguishes fresh from rotten fruit for food-quality control.
- Pothole Detection (Detectron2) — Custom Detectron2 Faster R-CNN (X-101 FPN) object detector for identifying potholes in road imagery to support road safety and maintenance.
- Turkish Sign Language (Flask + YOLOv8) — Web application that runs a trained YOLOv8 model (
best.pt) to recognize Turkish sign-language gestures from a live source, served through Flask.
- NSFW Detection (YOLOv6) — Content-moderation detector built on the YOLOv6 single-stage framework, with a Flask inference app and ONNX export deployment path.
- Object Detection — P&ID Data Extraction (Ubuntu) — A large Flask application that combines YOLOv3 symbol detection with Tesseract OCR to extract structured data (symbols, pipelines, text/tags) from piping & instrumentation diagrams. Includes pipeline-tracing and bounding-box association logic.
- Scarlet Tanager Eye Detection (YOLOv7) — Specialized YOLOv7 detector trained to locate the eyes of Scarlet Tanager birds, supporting ecology / wildlife-vision research.
Features
- Custom object detection across four detection frameworks: YOLOv5, YOLOv6, YOLOv8, and Detectron2 (plus a YOLOv7 setup).
- End-to-end training pipelines using Roboflow dataset management and COCO-format annotations.
- Flask web deployments for live/inference-driven applications (sign language, NSFW, P&ID extraction).
- OCR integration (Tesseract) for document/diagram data extraction.
- Model export paths (ONNX) and standard YOLO
train.py / detect.py / val.py / export.py tooling.
- A diverse set of real-world domains: environment, agriculture, food quality, road safety, accessibility, content moderation, industrial diagrams, and wildlife.
Tech Stack
- Languages: Python
- Detection frameworks: YOLOv5, YOLOv6, YOLOv7, YOLOv8 (Ultralytics), Detectron2 (Faster R-CNN)
- Deep learning: PyTorch, TorchVision
- CV / OCR: OpenCV, Pillow, Tesseract (pytesseract), imutils
- Data & training: Roboflow, COCO format, NumPy, PyYAML
- Deployment: Flask, ONNX, ONNX Runtime
- Environment: Google Colab (training), Ubuntu (deployment)
Setup / Run
Each sub-project is self-contained. General workflow:
# 1. Clone the suite
git clone https://github.com/ube09/Computer-Vision-Project-Suite.git
cd Computer-Vision-Project-Suite
# 2. Enter a sub-project
cd Garbage-detection-yolov5 # (or any other project folder)
# 3. Install that project's dependencies
pip install -r requirements.txt
Training (YOLOv5 projects): open the project's *.ipynb notebook (designed for Colab), supply your own Roboflow API key where indicated (YOUR_ROBOFLOW_API_KEY), then run the cells to download the dataset and train.
Inference (YOLOv5/YOLOv8):
python detect.py --source <path_to_images_or_video> --weights <path_to_weights.pt>
Flask apps (Turkish Sign Language, NSFW, P&ID extraction):
python app.py # then open the served URL in a browser
Note: Large model weights and datasets are not all included in this repository. Download or train weights per each project's instructions before running inference.
Author
Usama Bin Ejaz — AI/ML Engineer | Data Scientist | Founder, UBE Labs ("AI that ships.")