Image Segmentation
ultralytics
PyTorch
English
yolo11
yolo
instance-segmentation
currency-recognition
computer-vision
green-rider-technologies
Instructions to use puterlad/smart-donation-box with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use puterlad/smart-donation-box with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("puterlad/smart-donation-box", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Smart Donation Box - Currency Recognition Model
The Smart Donation Box currency recognition model is an advanced computer vision instance segmentation system built on the YOLO11 architecture. It is designed to detect, classify, and segment various denominations of Indian currency notes in real time.
Project Attribution: The Smart Donation Box system, dataset curation, and currency recognition model were developed specifically for Green Rider Technologies.
Model Details
- Architecture: YOLO11 (Instance Segmentation)
- Developed For: Green Rider Technologies
- Weights File:
best.pt - Framework: PyTorch / Ultralytics
- Input Resolution: 640x640
- Task: Real-time instance segmentation and classification of currency notes
Recognized Currency Classes
| Class ID | Denomination | Description |
|---|---|---|
| 0 | ₹0 | Sample / mock / defaced notes |
| 1 | ₹10 | Ten Rupees note |
| 2 | ₹100 | Hundred Rupees note |
| 3 | ₹20 | Twenty Rupees note |
| 4 | ₹200 | Two Hundred Rupees note |
| 5 | ₹5 | Five Rupees note |
| 6 | ₹50 | Fifty Rupees note |
| 7 | ₹500 | Five Hundred Rupees note |
Dataset & Annotation Format
- Format: YOLO Polygon Segmentation (
<class_id> <x1> <y1> <x2> <y2> ...) - Splits:
train/: Training images and segmentation labelsvalid/: Validation images and segmentation labelstest/: Test images and segmentation labels
- Config:
data.yamldefining dataset paths and class labels
Quickstart / Inference
from ultralytics import YOLO
# Load the trained YOLO11 model
model = YOLO("best.pt")
# Run instance segmentation on an image
results = model.predict(source="test/images/sample.jpg", conf=0.5, save=True)
# Display detection and segmentation results
for result in results:
boxes = result.boxes # Bounding boxes
masks = result.masks # Segmentation polygon masks
print(boxes)
Applications
- Automated smart donation kiosks and currency drop boxes for Green Rider Technologies
- Real-time currency counting and verification in automated collection boxes
- Assistive tools for visually impaired individuals
- Smart cash handling and sorting units
License
MIT
- Downloads last month
- 24