Downloads · 30 days
0
aannugra/yolov8-djahit
yolov8-djahit is a machine learning model from aannugra. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Model Card: YOLOv8 Damage & Stain Detection Model Overview
Downloads · 30 days
0
Access
Public
Updated Sep 26, 2025
Repo size
6.7 MB
Likes
0
Public
Click a slice to open those files.
.jpg78.8 MB · 86%
From the Hugging Face model README
Model Card: YOLOv8 Damage & Stain Detection Model Overview
Model Name: yolov8-djahit Author / Hugging Face Username: aannugra Model Type: Object Detection (YOLOv8) Task: Detect clothing defects: outside tear, stain, tear, hole, normal
Description: This YOLOv8 model is trained on Amazon Rekognition datasets for garment damage detection. The model predicts bounding boxes for five classes of clothing defects:
outside_tear
stain
tear
hole
normal
It is intended for automated inspection of clothing images to help streamline repair or quality assurance workflows.
Dataset
Dataset Source: Amazon Rekognition custom labels Dataset Format: JSON manifest files converted to YOLOv8 format Number of Classes: 5 Train/Validation Split: Defined in data.yaml
Model Usage Inference from ultralytics import YOLO
model = YOLO("aannugra/yolov8-djahit")
results = model.predict(source="test.jpg", device="cpu")
results.show()
Batch Prediction
results = model.predict(source="images_folder", device="cpu") results.show()
Access Bounding Boxes for r in results: print(r.boxes.xyxy) # bounding box coordinates print(r.boxes.cls) # predicted class indices print(r.boxes.conf) # confidence scores
Training Details
Framework: Ultralytics YOLOv8
Hardware: Trained on NVIDIA RTX 3050 GPU
Optimizer: Adam (default YOLOv8)
Image Size: 640x640
Epochs: 50
Data Augmentation: Default YOLO augmentations (flip, mosaic, etc.)
Model Statistics
Model Size: ~14 MB (YOLOv8n)
Number of Classes: 5
Detection Type: Bounding Box (Object Detection)
Citation
If you use this model in your work, please cite it as:
@misc{aannugra2025yolov8djahit, author = {Andika Satya Nugra}, title = {YOLOv8 Damage & Stain Detection}, year = {2025}, howpublished = {\url{https://huggingface.co/aannugra/yolov8-djahit}} }
Example Images / Visuals
You can optionally add example images with predictions:
