Downloads · 30 days
0
Enos-123/smoking-detection
smoking-detection is a object detection model from Enos-123. Use it when you need objects located in an image. The card lists the license as mit.
This repository contains a custom-trained YOLOv11-Medium object detection model designed to detect cigarette smoke in images and videos. It is ideal for use in surveillance systems, public safety, and smoking zone enf…
Downloads · 30 days
0
Access
Public
Updated Jul 20, 2025
Repo size
46.6 MB
Likes
11
Public
Click a slice to open those files.
.pt40.5 MB · 87%
From the Hugging Face model README
This repository contains a custom-trained YOLOv11-Medium object detection model designed to detect cigarette smoke in images and videos. It is ideal for use in surveillance systems, public safety, and smoking zone enforcement.
| Metric | Value |
|---|---|
| Precision | 85.62% |
| Recall | 76.92% |
| [email protected] | 82.90% |
| [email protected]:0.95 | 44.69% |
Evaluated on a custom Roboflow dataset using YOLOv11 medium variant trained for optimal balance of accuracy and speed.
cigarettefrom ultralytics import YOLO
model = YOLO("path/to/best.pt") # Replace with your model path
results = model("your_image.jpg", save=True)
results.show()
results = model("your_video.mp4", stream=True)
for r in results:
r.show()
model.export(format="onnx")
This model is available under the MIT License. Refer to the LICENSE file for more details.
Uploaded and maintained by: [Uppada Enos] Contact: [[email protected]]
You can access and test this model directly via Hugging Face Spaces or API once published.