Spaces:
Sleeping
Sleeping
File size: 780 Bytes
f3c0675 9a12c0e f3c0675 9a12c0e f3c0675 9a12c0e f3c0675 9a12c0e d0f5702 9a12c0e d0f5702 9a12c0e d0f5702 9a12c0e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ---
title: PCB Defect API
emoji: 🔌
colorFrom: green
colorTo: gray
sdk: gradio
sdk_version: 5.35.0
python_version: "3.12"
app_file: app.py
pinned: false
short_description: FastAPI + ONNX Runtime INT8 PCB defect detection API
---
# PCB defect detection API
FastAPI + ONNX Runtime inference service for a YOLO11n PCB defect detector (static INT8, detection
head FP32), CPU inference on the free tier. Source, tests, CI and benchmarks: https://gitlab.com/michael.sucahyo/pcb-defect-optimization
```bash
curl -F "file=@board.jpg;type=image/jpeg" https://michaelandrew35-pcb-defect-api.hf.space/v1/predict
```
Endpoints: `POST /v1/predict`, `GET /v1/health`, `GET /v1/metrics`, `GET /v1/docs`.
Free Spaces sleep when idle; the first request after a pause waits for a cold start.
|