Finds the external contours in a caller-supplied binary mask and reports, for ea
Finds the external contours in a caller-supplied binary mask and reports, for each, its area, perimeter, centroid and bounding rectangle, plus the total foreground pixel count. The division of labour is deliberate: segmentation is a domain decision, so the mask comes from you and the measurement comes from here, which keeps the numbers reproducible and independent of any threshold this service might have chosen.
Answeringour last check, 2026-10-25
1 of 1checks answered this week
1220 msmedian answer time
$0.002listed price per call
$0.002price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://medien.halowerk.com/v1/oss-opencv-external-contour-metrics
| Category | Everything else |
|---|---|
| Provider host | medien.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-25 | valid payment request | 402 | $0.002 | 1220 ms |
Example input (from the provider)
{
"bodyType": "json",
"exampleUrl": "https://medien.halowerk.com/v1/oss-opencv-external-contour-metrics/schema#/requestExample",
"method": "POST",
"schemaUrl": "https://medien.halowerk.com/v1/oss-opencv-external-contour-metrics/schema#/inputSchema",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"properties": {
"input": {
"additionalProperties": true,
"properties": {
"bodyType": {
"const": "json"
},
"exampleUrl": {
"format": "uri",
"type": "string"
},
"method": {
"const": "POST"
},
"schemaUrl": {
"format": "uri",
"type": "string"
},
"type": {
"const": "http"
}
},
"required": [
"type",
"method",
"bodyType"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"operation": {
"const": "external-contour-metrics"
},
"result": {
"additionalProperties": false,
"properties": {
"contours": {
"items": {
"additionalProperties": false,
"properties": {
"area": {
"minimum": 0,
"type": "number"
},
"bounding_box": {
"items": {
"minimum": 0,
"type": "integer"
},
"maxItems": 4,
"minItems": 4,
"type": "array"
},
"centroid": {
"anyOf": [
{
"items": {
"type": "number"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
{
"type": "null"
}
]
},
"perimeter": {
"minimum": 0,
"type": "number"
},
"vertex_count": {
"minimum": 1,
"type": "integer"
}
},
"required": [
"area",
"perimeter",
"centroid",
"bounding_box",
"vertex_count"
],
"type": "object"
},
"maxItems": 128,
"minItems": 0,
"type": "array"
},
"foreground_pixels": {
"minimum": 0,
"type": "integer"
},
"warnings": {
"items": {
"maxLength": 1024,
"type": "string"
},
"maxItems": 8,
"minItems": 1,
"type": "array"
}
},
"required": [
"contours",
"foreground_pixels",
"warnings"
],
"type": "object"
},
"runtime_ms": {
"minimum": 0,
"type": "number"
},
"upstream": {
"additionalProperties": false,
"properties": {
"binary_sha256": {
"const": "1fd4eb220f9986baa0ea0492cbcbedf85b868e792cbcac5f69e10d067a2f956c"
},
"components": {
"const": [
"findContours",
"moments",
"contourArea",
"arcLength",
"boundingRect"
]
},
"numpy_version": {
"const": "2.5.0"
},
"package_version": {
"const": "4.13.0.92"
},
"project": {
"const": "OpenCV"
},
"version": {
"const": "4.13.0"
}
},
"required": [
"project",
"version",
"package_version",
"binary_sha256",
"numpy_version",
"components"
],
"type": "object"
}
},
"required": [
"operation",
"result",
"upstream",
"runtime_ms"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}