--- title: Context-CrackNet Pavement Crack Analyzer emoji: ๐Ÿ”ฌ colorFrom: blue colorTo: indigo sdk: gradio sdk_version: "5.49.1" app_file: app.py pinned: true license: mit short_description: Segment & measure pavement cracks in pixel space --- # ๐Ÿ”ฌ Context-CrackNet โ€” Pavement Crack Analyzer Upload a pavement photograph โ†’ crack segmentation + pixel-space measurements. ๐Ÿ“„ **Paper:** [Construction and Building Materials (2025)](https://doi.org/10.1016/j.conbuildmat.2025.141583) ๐Ÿ› North Dakota State University ยท โœ Blessing Agyei Kyem et al. ## How to use 1. The app defaults to **Context-CrackNet** hosted from `Blessing988/context-cracknet-weights` 2. Select the **Training Dataset** checkpoint you want to use 3. Upload a pavement image 4. Click **๐Ÿš€ Analyze Cracks** All measurements are in **pixel units** โ€” no camera parameters required. | Metric | Description | |--------|-------------| | Crack Area (pxยฒ) | Total crack pixel count | | Crack Length (px) | Medial-axis skeleton length | | Mean Width (px) | 2 ร— mean Distance Transform at skeleton | | Max Width (px) | 2 ร— max Distance Transform at skeleton | | Crack Count | 8-connected components | | Coverage (%) | Area รท (Hร—W) ร— 100 |