GithubHelp home page GithubHelp logo

badaniao / dagm2007-to-voc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from levigty/dagm2007-to-voc

0.0 0.0 0.0 148 KB

Generate VOC format datasets from defective images in DAGM2007 dataset.

Python 100.00%

dagm2007-to-voc's Introduction

DAGM2007-to-VOC

Generate VOC format dataset from defective images in DAGM2007 dataset.

Step 1:Download the DAGM2007 dataset

You can download the DAGM2007 dataset from:

DAGM2007


Then the data directory should looks like:

-raw_dataset\
    -Class1\
        -Train\
        -Test\
    -Class2\
        -Train\
        -Test\
    ...
    -Class10\
        -Train\
        -Test\

Step 2: Conversion

You can change the save_dir (line 9) to the fold name you like.

   run main.py to make the conversion

Step 3: Doing something

Using labelImg, we can see that the format and annotation of the dataset are correct, but some bounding-boxes may be too large.
DAGM2007-VOC
After getting the VOC format dataset in the save_dir, you can do defect detection.

dagm2007-to-voc's People

Contributors

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