Giter VIP home page Giter VIP logo

mot2voc's Introduction

MOT to VOC

Function: For research purpose, we create this project for others to simplify tranform the MOT17Det and MOT20Det to VOC format so that can be easily used in detection task.

We also press the Implementation details on Zhihu.

Introduction

The master branch works with python 3.5+.

# example
linux:/xxx/mmdetection$ python mot2voc.py 20
100% (429 of 429) |#################################################################################################################################################################################| Elapsed Time: 0:00:25 Time:  0:00:25
100% (2782 of 2782) |###############################################################################################################################################################################| Elapsed Time: 0:09:31 Time:  0:09:31
100% (2405 of 2405) |###############################################################################################################################################################################| Elapsed Time: 0:14:32 Time:  0:14:32
100% (3315 of 3315) |###############################################################################################################################################################################| Elapsed Time: 0:39:28 Time:  0:39:28
folders [xxx,xxx,xxx,xxx] have been succeed checked
100% (2080 of 2080) |#################################################################################################################################################################################| Elapsed Time: 0:00:25 Time:  0:00:25
100% (1008 of 1008) |###############################################################################################################################################################################| Elapsed Time: 0:09:31 Time:  0:09:31
100% (585 of 585) |###############################################################################################################################################################################| Elapsed Time: 0:14:32 Time:  0:14:32
100% (806 of 806) |###############################################################################################################################################################################| Elapsed Time: 0:39:28 Time:  0:39:28
folders [xxx,xxx,xxx,xxx] have been succeed checked

demo image

Installation

get into ./mmdetection and download MOT dataset and place into ./mmdetection

# into mmdetection folder
cd mmdetection-master

# transform mot17 to voc format
python mot2voc.py 17

# transform mot20 to voc format
python mot2voc.py 20

Get Started

# git clone
git clone https://github.com/PanXF-HUST/mot2voc.git


Refer to the example to place the file and run

Folder


mmdetection
├── mmdet
├── tools
├── configs
├── MOT{17,20}
│   ├── train
│   │   ├── MOT{17,20}-01
│   │   │   ├── img1
│   │   │   ├── gt.txt
│   │   │   ├── seqinfo.ini
│   │   ├── ...
│   ├── test
│   │   ├── ...

├── data
│   ├── MOT{17,20}Det
│   │   ├── VOC2007
│   │   │   ├── Annotations
│   │   │   │   ├── 01000001.xml
│   │   │   │   ├── ...
│   │   │   ├── ImageSets
│   │   │   │   ├── Main
│   │   │   │   │   ├── train.txt
│   │   │   │   │   ├── val.txt
│   │   │   │   │   ├── test.txt
│   │   │   │   ├── train_all.txt
│   │   │   │   ├── test_val.txt
│   │   │   ├── JPEGImages
│   │   │   │   ├── 01000001.jpg
│   │   │   │   ├── ...

mot2voc's People

Contributors

panxf-hust avatar

Stargazers

 avatar  avatar Pengcheng avatar RrrGgg avatar orzchen avatar  avatar  avatar shuai yan avatar  avatar  avatar  avatar  avatar  avatar B.Q Long avatar vaig2434 avatar  avatar  avatar Mr.Indifferent avatar 夏新宇 avatar liangmh avatar Robinson-Chen avatar  avatar Vio1et avatar  avatar LeonV avatar

Watchers

 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.