Detect whether a product photo contains a size reference
bild.halowerk.com/v1/scale-reference-detect
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
POST
https://bild.halowerk.com/v1/scale-reference-detectUptime100% of 3 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://bild.halowerk.com/v1/scale-reference-detect", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"image_url":"https://bild.halowerk.com/beispiel/scale-reference-detect-image.png"}),
});
console.log(await res.json());Example input
{
"image_url": "https://bild.halowerk.com/beispiel/scale-reference-detect-image.png"
}