Giter Site home page Giter Site logo

create-voc2007-dataset's Introduction

VOC2007数据集制作(以INRIA数据集为例)

使用

  1. 首先在create_JPEGImages.py中设置好:

    • TRAIN_ANNO : Train数据的标注文件夹路径
    • TEST_ANNO : Test数据的标注文件夹路径
    • ORIGIN_IMAGES : 图片的文件夹路径
  • 使用create_JPEGImages.py来遍历,生成JPEGImages文件夹,图片名称为VOC2007的6位编号,JPEG格式。将提取的标注信息保存在output.txt文件中
  1. 使用create_Annotations.py文件,利用1中生成output.txt标注信息来生成VOC2007格式的xml文件,保存在JPEGImages文件夹中
  2. 使用create_ImageSets.py来生成ImagesSets文件夹
  3. 将生成的JPEGImagesJPEGImagesImagesSets替换掉VOC2007中的五个文件夹,制作完成

注意

  • 不同数据集标注格式、路径均不一样,需要适当修改
  • 不同数据集的trainval.txttest.txt也不一样,需要自己设置

create-voc2007-dataset's People

Watchers

James Cloos 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.