Giter VIP home page Giter VIP logo

Comments (3)

GreatV avatar GreatV commented on July 3, 2024 1

Hi, @Arshadoid. The imageWidth and imageHieght your json file are not the same as the imageData size. (2160x3840 vs. 1024x1204). You need to use the label of the cropped image.

from labelme2yolo.

GreatV avatar GreatV commented on July 3, 2024

Thank you for your feedback, I will check out the problem as soon as possible.

from labelme2yolo.

Arshadoid avatar Arshadoid commented on July 3, 2024

Hi, @Arshadoid. The imageWidth and imageHieght your json file are not the same as the imageData size. (2160x3840 vs. 1024x1204). You need to use the label of the cropped image.

Hi @GreatV Thanks for looking into this and pointing out the issue. Seems like labelme2yolo expects to have *.png images in the same folder otherwise it generates it from imagedata. In my case easy solution would be just to modify save_yolo_image function to point to original jpg images, as I have correct dimensions in jpg format, so it can get h and w. Thank you!

from labelme2yolo.

Related Issues (12)

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.