This project focuses on Crack Detection using a dataset of labeled images to build and evaluate a machine learning model. The dataset includes a total of 32,107 images categorized into cracks and no-cracks. The aim is to automate the detection of cracks, which can have significant applications in structural health monitoring.
The dataset used for this project is available on Google Drive and can be accessed here(zip file also included in the repo).
- Total images: 32,107
- File format: JPG
- Structure:
- Training set
- Test set
- Download the
.zipfile containing the dataset. - Extract the contents into a local directory (e.g.,
/tmp/CrackDetection). - The extracted dataset includes structured subdirectories for training and testing.
- Dataset Preparation: Automated downloading and extraction of data.
- Model Development: Implementation of machine learning techniques for crack detection.
- Evaluation Metrics: Accuracy, precision, recall, and F1-score to measure model performance.
-
Clone the repository:
git clone https://github.com/yourusername/crack-detection.git cd crack-detection -
Install dependencies:
pip install -r requirements.txt
-
Download the dataset and extract it to the specified location.
-
Run the Jupyter Notebook:
jupyter notebook finalProject.ipynb
- Incorporate additional preprocessing techniques to enhance model accuracy.
- Experiment with advanced architectures, such as CNNs.
- Optimize hyperparameters for better performance.
Contributions are welcome! Please feel free to submit a pull request or open an issue for any suggestions or improvements.