← Back to directory

Measure how much of a product photo the product fills: bounding box, frame fill ...

https://bild.halowerk.com/v1/product-fill-ratio

Overview

Measure how much of a product photo the product fills: bounding box, frame fill along the dominant axis, silhouette area, margins and edge contact, with soft shadows excluded. Separates the product from a plain or transparent background: a quadratic colour surface (CIE Lab, D65) is fitted to the image border so gradients and vignetting are tolerated, the background is flood-filled from the border up to a CIE76 distance threshold, small specks are dropped.

Protocol x402 (POST)
Price $0.0050
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/product-fill-ratio-image.png" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "Works for packshots on a plain or transparent background; busy backgrounds are refused rather than guessed.", "Very light products on a white background, or neutral grey products next to shadows, can be partly missed or partly counted as shadow; compare with exclude_shadows=false.", "Marketplaces define fill differently; the threshold is yours to set." ], "result": { "background": { "border_transparent_share": 1, "type": "transparent" }, "image": { "analysed_scale": 1, "format": "png", "height": 400, "width": 500 }, "method": "border-fitted quadratic Lab background model, flood fill, shadow test (ΔC*ab ≤ 7, 0.8·threshold ≤ ΔL* ≤ 50, soft edge)", "product": { "bbox": { "height": 320, "width": 200, "x": 50, "y": 40 }, "bbox_area_ratio": 0.32, "bbox_center_offset": { "x": -0.2, "y": 0 }, "frame_fill": 0.8, "height_ratio": 0.8, "margin_ratios": { "bottom": 0.1, "left": 0.1, "right": 0.5, "top": 0.1 }, "margins": { "bottom": 40, "left": 50, "right": 250, "top": 40 }, "pixel_area_ratio": 0.32, "touches_edges": [], "width_ratio": 0.4 }, "shadow": { "bbox_with_shadow": { "height": 320, "width": 200, "x": 50, "y": 40 }, "excluded": true, "pixel_ratio": 0 } }, "service": "product-fill-ratio", "status": "success" }, "type": "json" }