Overview
Find coloured ink regions on a document image and flag those with stamp-like shape (round, oval or rectangular, hollow) with colour, position and shape measures. Marks saturated, non-white pixels (chroma ≥ 40, saturation ≥ 25 %) as coloured ink, joins nearby strokes by dilation (0.6 % of the long side), fills holes and classifies each region by intersection-over-union with its bounding ellipse (round/oval ≥ 0.85) and bounding box (rectangular ≥ 0.9).
Protocol
x402 (POST)
Price
$0.0040
Payment Asset
USD Coin
Payment Network
Base
Category
media/images
Provider
bild
Indexed
2026-11-20 13:04:38
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"image_url": "https://bild.halowerk.com/beispiel/stamp-detect-image.png"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"limitations": [
"Black or grey stamps are not detected.",
"Coloured logos and highlighter marks can be reported as coloured regions; stamp_like is a shape rule, not a proof of a stamp."
],
"result": {
"colored_regions": 3,
"image": {
"height": 1400,
"width": 1000
},
"note": "Image features only (colour and shape). Says nothing about who applied a stamp or whether it is genuine.",
"regions": [
{
"color": "blue",
"ellipse_iou": 0.79,
"height": 172,
"hue_degrees": 219,
"ink_coverage": 0.095,
"nested_regions": 2,
"rectangle_fill": 1,
"shape": "rectangular",
"stamp_like": true,
"width": 352,
"x": 99,
"y": 1019
},
{
"color": "red",
"ellipse_iou": 0.97,
"height": 242,
"hue_degrees": 357,
"ink_coverage": 0.163,
"rectangle_fill": 0.81,
"shape": "round",
"stamp_like": true,
"width": 242,
"x": 629,
"y": 979
},
{
"color": "blue",
"ellipse_iou": 0.35,
"height": 97,
"hue_degrees": 228,
"ink_coverage": 0.12,
"rectangle_fill": 0.29,
"shape": "irregular",
"stamp_like": false,
"width": 357,
"x": 551,
"y": 1242
}
],
"stamp_like_count": 2
},
"service": "stamp-detect",
"status": "success"
},
"type": "json"
}