{"slug":"bild-halowerk-com-v1-page-deskew-04d110","title":"Measure the skew angle of a scanned or photographed text page with a projection-","host":"bild.halowerk.com","method":"POST","resource":"https://bild.halowerk.com/v1/page-deskew","category":"image","description":"Measure the skew angle of a scanned or photographed text page with a projection-profile search and return the straightened image as PNG or JPEG. Binarises a downscaled copy (Otsu), collects dark pixels and searches the rotation that maximises the squared differences of the horizontal projection prof","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":913,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"image_url":"https://bild.halowerk.com/beispiel/page-deskew-image.png","output_format":"none"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"image_base64":{"description":"The image (PNG, JPEG, WebP, GIF, TIFF or AVIF) as base64 or data: URL, at most 10 MB decoded. Give either image_base64 or image_url.","maxLength":14000000,"minLength":16,"type":"string"},"image_url":{"description":"Public http(s) URL of the image, fetched once (at most 10 MB). Private and local addresses are refused.","format":"uri","maxLength":2048,"type":"string"},"max_angle":{"default":15,"description":"Largest skew to search for, in degrees.","maximum":45,"minimum":1,"type":"number"},"output_format":{"default":"png","description":"Format of the straightened image; \"none\" returns only the measurement.","enum":["png","jpeg","none"],"type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":874,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":913,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":899,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":889,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1296,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1176,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1118,"error":null}],"description_full":"Measure the skew angle of a scanned or photographed text page with a projection-profile search and return the straightened image as PNG or JPEG. Binarises a downscaled copy (Otsu), collects dark pixels and searches the rotation that maximises the squared differences of the horizontal projection profile (Postl method): coarse 0.25° steps over ±max_angle, then 0.02° refinement.","last_updated":"2026-11-20T11:27:36.418Z","schemes":["exact"]}