A deep-learning project for surface crack detection, combining a binary classifier and a U-Net segmentation network inside a simple graphical interface.
Screen.Recording.2025-11-20.at.2.55.24.PM.mp4
This project performs automatic detection of cracks on material surfaces using two complementary deep learning models:
- Predicts whether an input image contains a crack.
- Output format: CRACK (p = 0.842)
- Learns visual crack patterns using a convolutional model.
- Returns a pixel-wise mask highlighting the crack.
- Produces:
- A binary mask
- A red mask visualization
- An overlay of mask + original image
A Streamlit interface (or optional Gradio fallback) lets you:
- Upload an image
- Run CRACK / NO CRACK classification
- Run U-Net segmentation
- View mask and overlay results immediately