Git Product home page Git Product logo

crackpropnet's Introduction

CrackPropNet

Introduction

CrackPropNet is an optical flow-based deep neural network for crack propagation measurement in asphalt concrete cracking tests such as semi-circular bending (SCB) test and indirect tension asphalt cracking test (IDEAL-CT). Simply paint your specimen surface with a random black pattern on top of a thin layer of white paint (tutorial); record a video of the specimen surface during testing (tutorial). Crack propagation can be accurately and efficiently retrived.

Read More (Alternative Link)

Installation

git clone https://github.com/zehuiz2/CrackPropNet.git
cd CrackPropNet

# install custom layers
bash install.sh

Python requirements

Currently, the code supports Python 3.8

  • numpy
  • Pillow
  • torch==1.7.1
  • torchvision==0.2.2
  • tqdm
  • glob

Custom layers

CrackPropNet achitecture relies on custom layers Resample2d or Correlation. A pytorch implementation of these layers with cuda kernels are available at ./networks.

Pretrained weights

The pretrained weights of CrackPropNet is available here.

Inference

python inference.py /path/to/input/images --output /path/to/output  --pretrained /path/to/pretrained/model

Example

Sample input images are available at ./img. Reference image should always end with _0.png. Deformed images should end with _*.png. Sample outputs are available at ./output.

Reference

If you find this implementation useful in your work, please acknowledge it appropriately and cite the paper:

@article{author = {Zehui Zhu and Imad L. Al-Qadi},
title = {Automated crack propagation measurement on asphalt concrete specimens using an optical flow-based deep neural network},
journal = {International Journal of Pavement Engineering},
volume = {24},
number = {1},
pages = {2186407},
year  = {2023},
publisher = {Taylor & Francis},
doi = {10.1080/10298436.2023.2186407}
}

Acknowledgement

This implementation is based on the Pytorch implmentation of FlowNetCSS from FlowNet 2.0

crackpropnet's People

Contributors

zehuiz2 avatar

Watchers

 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.