Bildwerk
object count
RT-DETRv2-S (Apache-2.0, COCO 2017, pinned ONNX) runs on the whole image and, for images with a long side of 900 px or more, on 6 overlapping tiles (3x2 or 2x3, 20 % overlap) so small persons and vehicles are not lost at 640x640. Tile boxes cut by an inner tile edge or larger than 45 % of the tile are dropped (the whole-image pass covers large objects); the remaining boxes of each target are merged greedily (IoU > 0.5 or 80 % of the smaller box covered). Targets: single COCO classes or the.
POST https://bild.halowerk.com/v1/object-countInputs
| Field | Type | Required | Description |
|---|---|---|---|
| image_base64 | string | No | 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. |
| image_url | string | No | Public http(s) URL of the image, fetched once (at most 10 MB). Private and local addresses are refused. |
| targets | array | No | What to count: COCO class names or the groups vehicle, motor_vehicle, animal. Pallets and other non-COCO objects are not available. |
| min_score | number | No | Minimum detection score (0.4 balances missed people in crowds against false detections). |
| region | array | No | Optional counting area as polygon [[x,y],...] in normalised image coordinates (0..1, origin top left). |
| anchor | string | No | Point of each box that must lie inside the region (bottom_center = where a person or car touches the ground). |
| tiling | string | No | auto = whole image plus 6 tiles for images >= 900 px; off = one pass. |
| include_boxes | boolean | No | Also return the counted boxes (pixels). |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"image_base64": {
"type": "string",
"minLength": 16,
"maxLength": 14000000,
"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."
},
"image_url": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Public http(s) URL of the image, fetched once (at most 10 MB). Private and local addresses are refused."
},
"targets": {
"type": "array",
"items": {
"type": "string",
"enum": [
"vehicle",
"motor_vehicle",
"animal",
"person",
"bicycle",
"car",
"motorcycle",
"airplane",
"bus",
"train",
"truck",
"boat",
"traffic light",
"fire hydrant",
"stop sign",
"parking meter",
"bench",
"bird",
"cat",
"dog",
"horse",
"sheep",
"cow",
"elephant",
"bear",
"zebra",
"giraffe",
"backpack",
"umbrella",
"handbag",
"tie",
"suitcase",
"frisbee",
"skis",
"snowboard",
"sports ball",
"kite",
"baseball bat",
"baseball glove",
"skateboard",
"surfboard",
"tennis racket",
"bottle",
"wine glass",
"cup",
"fork",
"knife",
"spoon",
"bowl",
"banana",
"apple",
"sandwich",
"orange",
"broccoli",
"carrot",
"hot dog",
"pizza",
"donut",
"cake",
"chair",
"couch",
"potted plant",
"bed",
"dining table",
"toilet",
"tv",
"laptop",
"mouse",
"remote",
"keyboard",
"cell phone",
"microwave",
"oven",
"toaster",
"sink",
"refrigerator",
"book",
"clock",
"vase",
"scissors",
"teddy bear",
"hair drier",
"toothbrush"
]
},
"uniqueItems": true,
"minItems": 1,
"maxItems": 10,
"default": [
"person",
"vehicle"
],
"description": "What to count: COCO class names or the groups vehicle, motor_vehicle, animal. Pallets and other non-COCO objects are not available."
},
"min_score": {
"type": "number",
"minimum": 0.25,
"maximum": 0.95,
"default": 0.4,
"description": "Minimum detection score (0.4 balances missed people in crowds against false detections)."
},
"region": {
"type": "array",
"minItems": 3,
"maxItems": 32,
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"description": "Optional counting area as polygon [[x,y],...] in normalised image coordinates (0..1, origin top left)."
},
"anchor": {
"type": "string",
"enum": [
"bottom_center",
"center"
],
"default": "bottom_center",
"description": "Point of each box that must lie inside the region (bottom_center = where a person or car touches the ground)."
},
"tiling": {
"type": "string",
"enum": [
"auto",
"off"
],
"default": "auto",
"description": "auto = whole image plus 6 tiles for images >= 900 px; off = one pass."
},
"include_boxes": {
"type": "boolean",
"default": false,
"description": "Also return the counted boxes (pixels)."
}
}
}Published input example
{
"image_base64": "iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwBAMAAABTZWEsAAAAJ1BMVEV6uOjo16j/003jzW9+ueX50lTmzmuIu9eyw6fmzmqzxKWzw6b40VZx3hZPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAV0lEQVQ4y2NgGLzAyzR4Cz559klKSmoFeBR4KgFBCh4Fi0AKNPAoMAIpUMajIAikQJWQAh1KrNhEyJFuhLzJnkQgoBg8TINbGEbBsAOCBMCoglEFJCkAAMKYNKuC2Gj3AAAAAElFTkSuQmCC",
"targets": [
"person",
"vehicle"
],
"tiling": "off"
}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
- Bildwerk0.01 USDC
address plate blur
POSThttps://bild.halowerk.com/v1/address-plate-blurThe photo is read with Tesseract 5.3.4 (German + English, word boxes) at two scales and in sparse-text and block mode; small bright plaques with 1–5 dark characters (typical house-number signs) are additionally cut out and read one by one,
- Bildwerk0.003 USDC
ai disclosure metadata
POSThttps://bild.halowerk.com/v1/ai-disclosure-metadataChecks JPEG, PNG and WebP files for AI disclosure metadata: XMP DigitalSourceType and the IPTC Photo Metadata 2025.1 AI fields, C2PA/JUMBF stores (signatures are not validated), PNG text chunks and EXIF Software/UserComment, and returns a s
- Bildwerk0.008 USDC
animation to video
POSThttps://bild.halowerk.com/v1/animation-to-videoReads frame count, size, loop count and total duration from the file structure, then encodes with ffmpeg 6.1 in a child process under prlimit (no shell, empty environment, only the file protocol): GIF and APNG are demuxed natively, animated