Skip to content

Detecting cracks in concrete surfaces by building a convolutional neural network (CNN) model with Keras to classify test images as either Positive(with cracks) or Negative(without cracks), with performance evaluated based on accuracy.

Notifications You must be signed in to change notification settings

lavanyavijayk/CrackDetector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Crack Detection

Project Overview

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.


Dataset

The dataset used for this project is available on Google Drive and can be accessed here(zip file also included in the repo).

Key Details:

  • Total images: 32,107
  • File format: JPG
  • Structure:
    • Training set
    • Test set

Data Preparation:

  1. Download the .zip file containing the dataset.
  2. Extract the contents into a local directory (e.g., /tmp/CrackDetection).
  3. The extracted dataset includes structured subdirectories for training and testing.

Key Features

  • 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.

How to Run

  1. Clone the repository:

    git clone https://github.com/yourusername/crack-detection.git
    cd crack-detection
  2. Install dependencies:

    pip install -r requirements.txt
  3. Download the dataset and extract it to the specified location.

  4. Run the Jupyter Notebook:

    jupyter notebook finalProject.ipynb

Future Improvements

  • Incorporate additional preprocessing techniques to enhance model accuracy.
  • Experiment with advanced architectures, such as CNNs.
  • Optimize hyperparameters for better performance.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue for any suggestions or improvements.


About

Detecting cracks in concrete surfaces by building a convolutional neural network (CNN) model with Keras to classify test images as either Positive(with cracks) or Negative(without cracks), with performance evaluated based on accuracy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published