← Back to directory

Detect whether a product photo contains a size reference: a ruler or tape (tick ...

https://bild.halowerk.com/v1/scale-reference-detect

Overview

Detect whether a product photo contains a size reference: a ruler or tape (tick period, major ticks, pixels per millimetre from its numbers) or measurement labels such as "45 cm" or "30 x 20 cm". Ruler detection: on a greyscale copy (at most 1600 px) dark runs along every row and column are collected; chains of at least 15 thin marks with regular spacing that repeat on at least three neighbouring scan lines form a ruler band.

Protocol x402 (POST)
Price $0.0080
Payment Asset USD Coin
Payment Network Base
Category media/images
Provider bild
Source bazaar
Indexed 2026-11-20 13:04:38

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "image_url": "https://bild.halowerk.com/beispiel/scale-reference-detect-image.png" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "Coins, hands, people, cards and everyday objects are not recognised as size references; this needs an object detector.", "Rulers must lie roughly horizontally or vertically (within a few degrees) and show at least 16 ticks; strongly tilted or curved tapes are missed.", "Pixels per millimetre are valid only in the plane of the ruler; perspective changes the scale elsewhere." ], "result": { "image": { "height": 300, "width": 1000 }, "measurements": [], "not_detected": [ "coins", "hands", "people", "cards", "everyday objects" ], "px_per_mm": 8, "rulers": [ { "across_from": 54, "across_to": 140, "along_from": 100.5, "along_to": 900.5, "confidence": "high", "label_step": 1, "longest_tick_px": 36, "major_every": 10, "major_positions": [ 100.5, 180.5, 260.5, 340.5, 420.5, 500.5, 580.5, 660.5, 740.5, 820.5, 900.5 ], "numbers_matched": 11, "orientation": "horizontal", "px_per_label_unit": 80, "px_per_mm": 8, "shortest_tick_px": 15, "tick_period_px": 8, "ticks": 101, "unit": "cm" } ], "scale_reference_found": true }, "service": "scale-reference-detect", "status": "success" }, "type": "json" }