Git Product home page Git Product logo

Comments (5)

Cartucho avatar Cartucho commented on August 17, 2024

Oh yeah, that would be great!

Ideally, the code would check if the two folders have the same bounding boxes or not. And if not it should create the appropriate file instead of creating an empty one.

Anyway, I agree with you! We should have an argsparse parameter where one can set if they want to draw from PASCAL_VOC or from YOLO_darknet.

from openlabeling.

tomasr8 avatar tomasr8 commented on August 17, 2024

Awesome! What name should the parameter have? Something like --draw-dir or maybe --bbox-dir?

from openlabeling.

Cartucho avatar Cartucho commented on August 17, 2024

--dar-dir is more clear about what it does in my opinion

from openlabeling.

enesyuceyurt avatar enesyuceyurt commented on August 17, 2024

Hello,
we use OpenLabeling in a team of students to label image data and we use the
Darknet YOLO format. Recently, I wanted to check some labeled images using this tool, but I found out
that the bounding boxes use the PASCAL_VOC folder by default. Since I only have the Darknet data, the PASCAL_VOC folder gets auto-populated with empty files, meaning that no bounding boxes get shown even though I have them in the YOLO_darknet folder.

I solved this problem by simply reading the bb data from the Darknet folder, but I thought we could maybe add a switch somewhere in the code that would draw bounding boxes from the YOLO_darknet folder in case the PASCAL_VOC folder does not exist. What do you think about this? I could submit a PR if you're interested.

Could you give more explanations on how you do this? Maybe a sample code? I tried to change the function draw_bboxes_from_file but I am having a lot of problems.

from openlabeling.

Cartucho avatar Cartucho commented on August 17, 2024

@tomasr8 any update on this?

from openlabeling.

Related Issues (20)

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.