Overview
Mark crack-like dark lines in photos of concrete, plaster or masonry as an indication: crack segments with length, mean width, orientation and box, crack pixel share, optional mm values and a PNG mask. No trained model: grey copy, morphological black-hat (closing with a square of 2·max_width_px+1 minus the image), hysteresis threshold (high = max(min_contrast, mean + 4σ), low = high/2), 8-connected components, Zhang-Suen thinning with spur pruning.
Protocol
x402 (POST)
Price
$0.0060
Payment Asset
USD Coin
Payment Network
Base
Category
media/images
Provider
bild
Indexed
2026-11-16 12:08:10
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"image_base64": "iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4AgMAAAAIzBH8AAAADFBMVEWoqKgyMjJcXFyFhYV5XXThAAAACXBIWXMAAAsTAAALEwEAmpwYAAABBklEQVRYhe2UsQ3CMBBFD1sUKULHCBnBBRSIESj4IQIKeigYgSU8Ah0SGYCCJTICBR01FQ0DvCKShfCvn74d592Z5eTkfOOOxlJuKKgTJGMDwYJW+riFlaG+w0rtYGVVQ9DhyscKgqVaSHa9P7rh/zgRfvQDrAz9P3pFK0eiw9MlHZ6WgT7qysggrV+o8izpgjrfkvZIj1mU6hs6/olLp5LWd/pNO4Pf1DDQRtQ5i3CErKJyFnRnDug2MjrnNqaXDAsIlksIekHQOjqTga6YknrhuRcnCFb0kgW9pFulk3eYUN5unk7e+gfkdSnl3aaTd5xOXs+X2rx3eZsfkLegoKNH5+T8QT7gO0g1mn0y8gAAAABJRU5ErkJggg=="
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"limitations": [
"This is an indication, not a structural assessment: joints, cables, shadows, drawn lines and dark veins look like cracks to this method.",
"Widths below about one pixel are not measurable; hairline cracks need close-up photos and a known scale.",
"Crack width limits (e.g. Eurocode 2 wmax) must be judged by a qualified engineer."
],
"result": {
"crack_count": 1,
"crack_pixel_share": 0.0254,
"cracks": [
{
"box": {
"height": 82,
"width": 131,
"x": 15,
"y": 19
},
"length_px": 161.2,
"mean_contrast": 108.9,
"mean_width_px": 3.02,
"orientation_deg": -28.6
}
],
"cracks_indicated": true,
"image": {
"analysis_scale": 1,
"height": 120,
"sha256": "c5b547299e2f937fd71b0dcd90d1dab07fd16b7675bde982b1e6f7972a7de253",
"width": 160
},
"rejected_components": 0,
"thresholds": {
"high": 72.9,
"low": 36.4
},
"total_length_px": 161.2
},
"service": "crack-detect",
"status": "success"
},
"type": "json"
}