Downloads · 30 days
0
prath0029/Zerodefect-1.0
Zerodefect-1.0 is a object detection model from prath0029. Use it when you need objects located in an image. The card lists the license as mit.
A YOLOv5 Nano object detection model trained to identify surface defects on aircraft skin. Optimized for edge deployment on the Luckfox Pico Max (RV1106 SoC, 0.5 TOPS NPU).
Downloads · 30 days
0
Access
Public
Updated Jul 17, 2026
Repo size
17.9 MB
Likes
0
Public
Click a slice to open those files.
.onnx7.5 MB · 39%
From the Hugging Face model README
A YOLOv5 Nano object detection model trained to identify surface defects on aircraft skin. Optimized for edge deployment on the Luckfox Pico Max (RV1106 SoC, 0.5 TOPS NPU).
| Format | File | Size | Use Case |
|---|---|---|---|
| PyTorch | best.pt | ~3.8 MB | Training, fine-tuning, desktop inference |
| ONNX | best.onnx | ~7.2 MB | Cross-platform CPU/GPU inference |
| RKNN | best.rknn | ~2.6 MB | RV1106 NPU hardware-accelerated inference |
| ID | Class | Description |
|---|---|---|
| 0 | crack | Structural cracks, fatigue lines |
| 1 | dent | Impact dents, surface deformations |
| 2 | corrosion | Rust, chemical wear, oxidation |
| 3 | scratch | Superficial scrapes, paint scratches |
| 4 | paint-peel | Flaking paint, coating degradation |
| 5 | missing-head | Missing rivet heads or fasteners |
| 6 | defect | Generic surface defect anomalies |
Tested on 2,139 validation images (2,215 with detect.py)
| Class | Precision | Recall | [email protected] | [email protected]:0.95 |
|---|---|---|---|---|
| all | 0.435 | 0.355 | 0.323 | 0.238 |
| missing-head | 0.404 | 0.640 | 0.528 | 0.350 |
| dent | 0.576 | 0.448 | 0.447 | 0.372 |
| scratch | 0.509 | 0.397 | 0.363 | 0.356 |
| paint-peel | 0.395 | 0.312 | 0.312 | 0.250 |
| crack | 0.483 | 0.262 | 0.283 | 0.220 |
| corrosion | 0.308 | 0.227 | 0.172 | 0.072 |
| defect | 0.374 | 0.199 | 0.154 | 0.044 |
Inference Speed: 2.8 ms/image (RTX 3050, batch 16) | 7.8 ms/image (single image)



See the sample_detections/ folder for annotated detection results on validation images.
pip install onnxruntime opencv-python numpy
python infer_onnx.py --model best.onnx --image test.jpg --conf 0.25
# Push to board
adb push best.rknn /userdata/
# Run on board (after cross-compiling rknn_model_zoo demo)
./rknn_yolov5_demo /userdata/best.rknn test.jpg
MIT License