Jeremy341/MIRA-AI
MIRA - YOLO11n Waste Detection for Recycling and Waste Sorting
MIRA is a custom YOLO11n object-detection project for waste detection, recycling automation, and automated waste sorting.
The models detect five classes:
- glass
- metal
- paper
- plastic
- trash
This repository contains PyTorch, ONNX, and TFLite exports from the MIRA experiments. The recommended reference model is mira_exp019.pt.
- GitHub: https://github.com/jeremy341/MIRA-AI
- Project website: https://mira-vision.vercel.app/
- PyPI package: https://pypi.org/project/mira-ai/
EXP-019 performance
These results come from the documented evaluation split used for EXP-019.
Available model files
The repository also contains models from earlier MIRA experiments.
Experiment results
The main lesson was that adding more data did not automatically improve the model. Removing inconsistent examples and building a cleaner, more balanced dataset led to the strongest results in EXP-018 and EXP-019.
Quick start
Install the required packages:
pip install ultralytics huggingface_hubDownload the recommended model directly from Hugging Face:
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
model_path = hf_hub_download(
repo_id="Jeremy341/MIRA-AI",
filename="mira_exp019.pt",
)
model = YOLO(model_path)
results = model.predict(
"image.jpg",
conf=0.25,
save=True,
)
results[0].show()For validation, provide a compatible YOLO dataset configuration:
results = model.val(data="dataset.yaml")Intended use
MIRA is intended for research and prototyping in:
- waste detection
- recycling automation
- waste sorting
- computer-vision research
- edge-AI object detection
- robotic sorting experiments
The models are not presented as a finished production recycling system.
Datasets
The models were trained using combinations of:
The datasets were remapped to the five MIRA classes. Each dataset remains subject to its original license and usage terms.
Limitations
The models can struggle with:
- white crumpled paper
- cans viewed from the opening
- strongly overlapping objects
- unusual lighting
- unusual viewing angles
- waste objects outside the training distribution
The reported results do not guarantee the same performance on completely independent real-world images.
License
The model files are provided under the MIT License where applicable. Dataset licenses remain subject to their original terms.
