Git Product home page Git Product logo

mo26-web / surface-crack-detection-with-dl Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 2.0 26.2 MB

This is a Surface Crack Detection project implemented with the Tensorflow. We fine tuning some deep learning models (like VGG 19, VGG16, MobileNetV2, ...). Use Surface Crack Detection dataset available on kaggle.

Jupyter Notebook 100.00%
crack-detection deep-learning densenet image-processing mobilenetv2 surface-crack-detection vgg16 vgg19

surface-crack-detection-with-dl's Introduction

Surface-Crack-Detection-with-DL

This is a Surface Crack Detection project implemented with the Tensorflow. We fine tuning some deep learning models (like VGG 19, VGG16, MobileNetV2, ...). Use Surface Crack Detection dataset available on kaggle.

Context

Concrete surface cracks are major defect in civil structures. Building Inspection which is done for the evaluation of rigidity and tensile strength of the building. Crack detection plays a major role in the building inspection, finding the cracks and determining the building health.

Dataset

The datasets contains images of various concrete surfaces with and without crack. The image data are divided into two as negative (without crack) and positive (with crack) in separate folder for image classification. Each class has 20000images with a total of 40000 images with 227 x 227 pixels with RGB channels. The dataset is generated from 458 high-resolution images (4032x3024 pixel) with the method proposed by Zhang et al (2016). High resolution images found out to have high variance in terms of surface finish and illumination condition. No data augmentation in terms of random rotation or flipping or tilting is applied.

This dataset is taken from the website Mendeley Data - Crack Detection, contributed by Çağlar Fırat Özgenel.

Özgenel, Çağlar Fırat (2019), “Concrete Crack Images for Classification”, Mendeley Data, v2 http://dx.doi.org/10.17632/5y9wdsg2zt.2

Number of samples

Examples of Prediction

MobileNetV2 architecture

MobileNetV2 is a convolutional neural network architecture that seeks to perform well on mobile devices. It is based on an inverted residual structure where the residual connections are between the bottleneck layers.

Results

precision recall f1-score support
NEGATIVE 1.00 1.00 1.00 6082
POSITIVE 1.00 1.00 1.00 5918
accuracy 1.00 1.00 1.00 12000
Test Loss Test Accuracy
0.04124 99.83%

VGG16 architecture

VGG16 is a convolution neural net (CNN ) architecture which was used to win ILSVR(Imagenet) competition in 2014. It is considered to be one of the excellent vision model architecture till date. The 16 in VGG16 refers to it has 16 layers that have weights. This network is a pretty large network and it has about 138 million (approx) parameters.

Results

precision recall f1-score support
NEGATIVE 1.00 1.00 1.00 6082
POSITIVE 1.00 1.00 1.00 5918
accuracy 1.00 1.00 1.00 12000
Test Loss Test Accuracy
0.00840 99.77%

DenseNet-121 architecture

DenseNet (Dense Convolutional Network) is an architecture that focuses on making the deep learning networks go even deeper, but at the same time making them more efficient to train, by using shorter connections between the layers. DenseNet-121 has 120 Convolutions and 4 AvgPool. All layers i.e. those within the same dense block and transition layers, spread their weights over multiple inputs which allows deeper layers to use features extracted early on.

Results

precision recall f1-score support
NEGATIVE 1.00 1.00 1.00 6082
POSITIVE 1.00 1.00 1.00 5918
accuracy 1.00 1.00 1.00 12000
Test Loss Test Accuracy
0.01813 99.52%

VGG19 architecture

VGG-19 architecture is very much similar to VGG-16. We have 3 additional convolutional layers for the VGG-16 network.

Results

precision recall f1-score support
NEGATIVE 1.00 1.00 1.00 6082
POSITIVE 1.00 1.00 1.00 5918
accuracy 1.00 1.00 1.00 12000
Test Loss Test Accuracy
0.01353 99.63%

surface-crack-detection-with-dl's People

Contributors

mo26-web avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.