Skip to content
HALOWERK

Bildwerk

drawing dimensions

Tesseract 5.3.4 (eng/deu, sparse text) reads the drawing upright and rotated 90° for vertical texts. The OCR model has no Ø/± glyphs, so these are checked geometrically (ring with two diagonal holes = Ø, plus over a bar = ±; such words pass at half min_confidence). Lines are parsed per ISO 129-1 (Ø, R, SR, 4x), ISO 965-1 threads (M10x1.5), ISO 286-1 fits (H7) and ± or +a/−b tolerances; 1:N is the drawing scale. Text reading only, not checked against the geometry.

POST https://bild.halowerk.com/v1/drawing-dimensions

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
image_base64stringNoImage (PNG/JPEG/WebP/GIF/TIFF/AVIF) as base64, ≤ 10 MB.
image_urlstringNoOr a public image URL.
regionobjectNoOptional part of the drawing to read (e.g. without the title block), in original pixels.
languagestringNoTesseract language model for the notes around the dimensions.
include_verticalbooleanNoAlso read text rotated by 90° (vertical dimensions). Doubles the OCR time.
min_confidencenumberNoMinimum Tesseract word confidence (0–100) for a dimension to be reported.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "image_base64": {
      "type": "string",
      "minLength": 16,
      "maxLength": 14000000,
      "description": "Image (PNG/JPEG/WebP/GIF/TIFF/AVIF) as base64, ≤ 10 MB."
    },
    "image_url": {
      "type": "string",
      "format": "uri",
      "maxLength": 2048,
      "description": "Or a public image URL."
    },
    "region": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "x",
        "y",
        "width",
        "height"
      ],
      "description": "Optional part of the drawing to read (e.g. without the title block), in original pixels.",
      "properties": {
        "x": {
          "type": "integer",
          "minimum": 0
        },
        "y": {
          "type": "integer",
          "minimum": 0
        },
        "width": {
          "type": "integer",
          "minimum": 4
        },
        "height": {
          "type": "integer",
          "minimum": 4
        }
      }
    },
    "language": {
      "type": "string",
      "enum": [
        "eng",
        "deu"
      ],
      "default": "eng",
      "description": "Tesseract language model for the notes around the dimensions."
    },
    "include_vertical": {
      "type": "boolean",
      "default": true,
      "description": "Also read text rotated by 90° (vertical dimensions). Doubles the OCR time."
    },
    "min_confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 100,
      "default": 40,
      "description": "Minimum Tesseract word confidence (0–100) for a dimension to be reported."
    }
  }
}

Open original schema

Published input example

{
  "image_base64": "iVBORw0KGgoAAAANSUhEUgAAAUAAAABuAgMAAAArLyLLAAAADFBMVEX///8EBARhYWGvr6+M12/OAAAACXBIWXMAAAsTAAALEwEAmpwYAAACHklEQVRoge2YMY7TQBSG/7HlwsVsqpgTeGsaF6xWMEdw4Ze1gou0IAofwYewoaBGQq5yBB9iN3sCDoGEFDSTOEFLgPD8kHbFfEUUT/Fl5p83juYBHo/H4/F4PP8Rs+H4/fqHz7/lZQcgKICuOoxpWgN4QSuOcE7WUEAtFoexjKy8o4IjTD4BiArEderWPLM/ElrVx/A9R/g8BXDZImsi42YHoMU9gAFzjhBWeNsiha5HYekGgWzgCqsWCZTbgwwIq6nCYPVQuFPttAyhNk6YA+H2y/ZbkO+F7AyjocUzBLmtQKIiyBE54Qeu8NLtqxVe9F3/2QobW+4lV3iPcYYuw3GGesUVlhgzHIUuw6xhCsNlv1if2OUNuEIiWj0QAgh5ESIF+n6xHk/K1eGkMCOEq94W2RC7s7x72uD6rAiV+aVwfNtYEhRIcDf82aJ+Fs7JvhDb/fvQFTayNxUSdEQDQ5juhejKg1BTzRee/E/Z4neo84Tno7xwMspn+LgzJBHMPxQa6SUbL2ShfIaTUT7DR52h5wkyY10/T6JpabsCxzbBVGKiGprkhLr+miOqL+SEJhgbA1JClK51IUVsha30DMsrwbIxYYXXrqMkuMv0VrQOG9BwvEBORduL3c2ueSEjNFmNArv+l4xQ5Shs9QgRm9DWoZxQG7S4FV0yNki4rZoTaIMU6XAHKWKDrImXN2JCbRCbgN5BllfCPo/nyfEdo/u5g4oNjSMAAAAASUVORK5CYII=",
  "include_vertical": false
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →