HALOWERK Medien
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.
Offering
- Provider
- medien.halowerk.com
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- General Utilities
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://medien.halowerk.com/v1/oss-opencv-external-contour-metrics- MIME type
- application/json
- First seen
- 2026-10-16T03:02:07.735Z
- Last seen
- Tags
- oss, opencv, p009
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E"
}
]Observed health
- Status
- Healthy
- Latest latency
- 319 ms
- Average latency
- 988 ms
- HTTP status
- 204
- Last checked
- Reachability
- 100% over 9 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"type": "object",
"properties": {
"type": {
"const": "http"
},
"method": {
"const": "POST"
},
"bodyType": {
"const": "json"
},
"schemaUrl": {
"type": "string",
"format": "uri"
},
"exampleUrl": {
"type": "string",
"format": "uri"
}
},
"required": [
"type",
"method",
"bodyType"
],
"additionalProperties": true
}Output schema
{
"$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"
}