← Back to directory

Measure the skew angle of a scanned or photographed text page with a projection-...

https://bild.halowerk.com/v1/page-deskew

Overview

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.

Protocol x402 (POST)
Price $0.0040
Payment Asset USD Coin
Payment Network Base
Category tools/search
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/page-deskew-image.png", "output_format": "none" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "Needs several lines of text or ruled lines; photos with perspective distortion are better served by scan-from-photo." ], "result": { "confidence": 0.988, "correction_degrees": 0, "image": { "height": 1754, "width": 1240 }, "median_line_height_px": 16, "method": "projection profile (Postl) on a Bradley text mask, 0.25° then 0.02° steps", "skew_degrees": 0, "text_lines": 14 }, "service": "page-deskew", "status": "success" }, "type": "json" }