OCR For construction documents does not work, we fixed it

https://news.ycombinator.com/rss Hits: 6
Summary

Door detection processing time (free tier)This applies only to door detection (POST /v1/drawings/detection/doors).Free-tier door detection typically completes in 2–4 minutes per job. Processing time scales mainly with page count and drawing complexity — a dense multi-page set takes longer than a single sheet.Need it faster? Pro and Enterprise plans run detection on dedicated GPU infrastructure.Upgrade your plan →Docs/Endpoints/POST /drawings/detection/doorsPOST/v1/drawings/detection/doorsDetect doors in architectural floor-plan PDFs. Accepts a previously uploaded document_id, enqueues inference, and returns a job you poll for results. Detections are returned as bounding boxes in PDF coordinate space.Floor plansAsync · 2022 credits / pageExample run▶ RunInputRequestAuth via X-API-Key header. Body is JSON — this endpoint does not accept file uploads directly.document_idreqstring (UUID)ID of the uploaded PDF. Must belong to this account and not be expired.page_numbersint[]1-based page indices to scan. Omit to scan all pages. Out-of-range values are skipped by the worker but still billed.webhook_urlstringURL to POST the completed job payload to. Delivered on developer, pro, and enterprise tiers only.ℹCredits are charged on submission based on len(page_numbers) (or the document's total page count when omitted) — not on pages that actually contain doors. Send only valid page indices to avoid over-billing.Code examplescurlpythonnode.jscurl -X POST https://api.anchorgrid.ai/v1/drawings/detection/doors \ -H "X-API-Key: <your-api-key>" \ -H "Content-Type: application/json" \ -d '{ "document_id": "550e8400-e29b-41d4-a716-446655440000", "page_numbers": [1, 2, 3] }'Response — 202 AcceptedThe job is enqueued immediately. Poll GET /v1/jobs/{job_id} until status is complete or failed.job_idstring (UUID)Use this to poll for results.statusstringAlways queued on this response.poll_urlstringPath only — prepend https://api.anchorgrid.ai to build the full URL.Result shapeWhen status === ...

First seen: 2026-03-30 17:12

Last seen: 2026-03-30 22:14