Giter Site home page Giter Site logo

unsupervised_defect_segmentation's Introduction

Improving_Unsupervised_Defect_Segmentation

This is Keras code from "Improving Unsupervised Defect Segmentation by Applying Structural Similarity to Autoencoders".
https://arxiv.org/abs/1807.02011
I tried for my computer vision research.
That's is amazing method for unsupervised defect segmentation using AutoEncoder with SSIM.

Usage

0. Install Library

keras >= 2.0
tensorflow >= 1.6
scikit-learn
PIL
matplotlib

1. Use AutoEncoder

You can use your images with AutoEncoder.ipynb.
Please set your Image Path and automatically be resized on this code 128×128×1.
minimum 10 images required

2. Use SSIM

Next time, you can compare Inpue Image and Decoded Image.

If you use SSIM method, you have to pip install SSIM-PIL.

unsupervised_defect_segmentation's People

Contributors

cheapthrillandwine avatar daxiahuang avatar

Stargazers

DemingWang avatar

Watchers

James Cloos avatar  avatar paper2code - bot avatar

unsupervised_defect_segmentation's Issues

Question about the train images or dataset

Hi, I've done a research about defect detection recently, and I've noticed your code for the paper. In your code, you changed the 'img_dir' to 'img_dir = ("./textures/texture_1/train/good/")', do you have any dataset about the defect detection?

Looking forward to your reply. Thank you!

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.