mulil/water-meter-reader
0
Water Meter Reader API
REST API 2-stage YOLO pipeline untuk membaca angka water meter secara otomatis.
Endpoints
POST /api/infer
- Content-Type:
multipart/form-data - Field:
image(jpg, png, webp, bmp — maks 10 MB) - Query params opsional:
?conf=0.3,?iou=0.5
Response sukses:
{
"success": true,
"reading": "1234.56",
"stage1Score": 0.94,
"digitCount": 6,
"hasDecimal": true,
"digitScores": [0.91, 0.88, 0.94, 0.87, 0.92, 0.95],
"processingTimeMs": 280,
"stage1_raw": { "num_detections": 1, "detections": [...] },
"stage2_raw": { "crop_width": 624, "crop_height": 156, "num_detections": 6, "detections": [...] }
}