Git Product home page Git Product logo

typetotype's Introduction

TypeTotype

Change the target detection dataset type to another type

This program can help you to change the type of your target detection Dataset to another type, and also can help you view visualization of labels, for example, change COCO dataset to VOC type, change VOC to YOLO type...

support mode:

  1. VOC to COCO
  2. VOC to YOLO
  3. COCO to VOC
  4. COCO to YOLO
  5. YOLO to COCO
  6. YOLO to VOC
  7. COCO label view
  8. VOC label view
  9. YOLO label view

How to use:

request ensure those package: opencv-python, json, xml, numpy installed in your environment

you should modify the CLASSES in the my_config.py to the categories of your dataset

② then you can run this command line under the Type2Type directory

python main.py --img_path [your path] --mode [your mode] --label_path [your label path] --save_path [your save path]

NOTES:

① you can run python main.py --help for help

② the [mode] must be one of [VOC2COCO, VOC2YOLO, YOLO2COCO, YOLO2VOC, COCO2YOLO, COCO2VOC,LabelView_COCO, LabelView_VOC, LabelView_YOLO]

③ you can ignore the save_path if you only want to view label

④ For Windows, I also offer an application which named Type2Type.exe, you can run the Type2Type.exe like this:
image
you can select your path and mode, then press the START.

⑤ all of your path and file name should be English, otherwise the program can't work

typetotype's People

Contributors

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