Giter Site home page Giter Site logo

create-pascal-voc-dataset's Introduction

CREATE PASCAL VOC 2007 DATASET

Refactor all the project ! Now it's more efficient and the structure is more clear.

License

Usage

  1. Get your dataset annotations file, parse and save it to two files trainval_annotations.txt and test_annotations.txt, file name doesn't matter.

  2. Your annotations file must have the format like this:

    image_full_path object1_class x1_min y1_min x1_max y1_max object2_class x2_min y2_min x2_max y2_max...

    • You can check examples/Train_annotation.txt file to understand the annotation format more clearly, this is the INRIA annotations file after my processing, your annotations file should be like this.

    • You should write your own dataset annotation process program, I just write for INRIA dataset and you can reference it in preprocess/inria_preprocess.py.

    • If I have more time, I will write more process program, you can send your requires in issues.

  3. Edit your dataset config and run file;

    • Check the examples/inria_example.py to understand how to call the PASCALVOC07 class

    • Config your own information in your pascal voc dataset

    • Set the dataset directory, annotations file and output directory, then just run build, wait for your own pascal voc dataset.

Example

  • I have writen an example of the INRIA dataset:
python preprocess/inria_preprocess.py /path/to/INRIAPerson
python examples/inria_example.py /path/to/INRIAPerson /path/to/output

Anything can be send to issues and forgive my poor English...

create-pascal-voc-dataset's People

Contributors

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