Giter Site home page Giter Site logo

chacoff / vott-csv-to-darknet-format Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 1.13 MB

If you are using VoTT to annotate RGB images and later on you want to feed a Yolo, you might need to convert those to Darknet format. In my case, i figured was easier to export VoTT annotations as CSV and later on make a small script to get theses in Darknet format

Python 100.00%

vott-csv-to-darknet-format's Introduction

VoTT-CSV-to-Darknet-Format

If you are using VoTT to annotate RGB images and later on you want to feed a Yolo, you might need to convert those to Darknet format. In my case, I figured was easier to export VoTT annotations as CSV and later make a small script to get these in Darknet format

Description

  • you will need the folder where the images are because we need to open each one of them in order know its size before we can calculate xcen, ycen, height and width for darknet format
  • you can choose where to store the *.txt files, either in a brand new folder or in the same folder than the images

Constrainsts

The way i am rounding the floating numbers and storing the txt files might not be the most efficients. With an Alienware i7-8750H, 16GB of RAM and RTX2070Q, it takes about 2min to go through 1141 images, most of them in 1920x1080px.

If you have any suggestion, i'll be very happy to hear them.

vott-csv-to-darknet-format's People

Contributors

chacoff avatar

Stargazers

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