#updated a pytorch version, please check here Requires pytorch 0.3 or 0.4 https://github.com/ccny-ros-pkg/pytorch_Concrete_Inspection.git
Concrete Inpection Dataset and Baseline @ CCNY Robotics Lab
Authors: Liang Yang, Bing LI, Wei LI, Zhaoming LIU, Guoyong YANG, Jizhong XIAO
CCNY Concrete Structure Spalling and Crack database (CSSC) that aims to assist the civil inspection of performing in an automatical approach. In the first generate of our work, we mainly focusing on dataset creation and prove the concepts of innovativity. We provide the first complete the detailed dataset for concrete spalling and crack defects witht the help from Civil Engineers, where we also show our sincere thanks to the under-graduate student at Hostos Community College for their effort on data labeling. For our experiments, we deliever an UAV to perform field data-collection and inspection, and also perform a 3D semantic metric resconstructiont.
[IROS 2017] Liang YANG, Bing LI, Wei LI, Zhaoming LIU, Guoyong YANG,Jizhong XIAO (2017). Deep Concrete Inspection Using Unmanned Aerial Vehicle Towards CSSC Database. 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), PDF.
[ROBIO 2017] Liang YANG, Bing LI, Wei LI, Zhaoming LIU, Guoyong YANG,Jizhong XIAO (2017). A Robotic System Towards Concrete Structure Spalling And Crack Database. 2017 IEEE Int. Conf. on Robotics and Biomimetics (ROBIO 2017), Project.
If you are interested in this project, please check the project link and our current 3D semantic pixel-level reconstruction project. Also, you can shoot Liang Yang an email any time for other authors.
If you have interests, please visit the project repository link.
The inspection network is trained based on theano and using Lasagne Api. We performed training and evaluation on version:
- Tested Theano Version: '0.8.2'
- Lasagne version: '0.1'
If you change to the latest version, it should work with minor modification.
Please follow the instruction we provided to modify your lasagne to be able to train in your our computer.
Our computer is a desktop with a GTX 1080 8G GPU inside and 32G memory, and it cann achieve 150 frames per second. We also tested on Dell Xps 15 with GTX 960M 2G GPU it can also achieve a 50 frames per second rate.
- Opencv any verson is good, recomend the latest.
- sudo pip install skimage
- sudo pip install pickle
- sudo pip install sklearn
For training, the region detection approach we proposed in paper IROS 2017 are sub-cropped images with 'true' or 'false' label. We provide two kind of data for your consideration:1) the orginal image and the labeled data, where spalling images are labeled with erosed-rebar and cracking images are labeled with the crack region.
Here is an example of the orginal image and labeled image for cracking and spalling, respectively:
(1) Cracking:
(2) Spalling:
Also, here is an example of our sub-cropped images for region based training and testing purposed, which is mainly used for our papers purpose. We put this part of dataset in DropBox, and here are links for Crack Sub-images and Spalling Sub-images. Please be noted that if you use the dataset for publication purpose, please cite the above papers.
We also open access our crack/spalling original and labeled iamges without sub-croping, please email Liang Yang for the dataset.
For training, we provid the simple demo which is based on VGG-16. Please download the data provided above and put into the folder deepLearningBridgeInspection, also please generate the corresponding training and testing list as explained in generate_training_and_testing_img_list.py, and we also provide an example list train_list.txt and test_list.txt for your consideration.
To train the model, you also need to download the vgg-16 pre-trainined model, and modify the path in training.py!! Very important!!, then:
- python training.py
The demo can be run as:
- python demo.py
The region detection results is as following: