Code Monkey home page Code Monkey logo

Comments (10)

rflynn avatar rflynn commented on May 20, 2024 2

@mineshmathew try the latest version

from labelimg.

jerinphilip avatar jerinphilip commented on May 20, 2024 1

Hello, @rflynn, @mineshmathew forwarded this to me. I took a look at your branch corresponding to this issue. The last bit was failing, due to python2 open's ascii codec issues. Since this is python2, I've worked up a solution using codecs, where it was failing.

unicode-solution.patch

from labelimg.

mineshmathew avatar mineshmathew commented on May 20, 2024

thank you. it works now

from labelimg.

mineshmathew avatar mineshmathew commented on May 20, 2024

@rflynn sorry to tag you again. The issue with unicode is still there.
LIke I pointed out in the first post, though the label is rendered correctly in the tool, the xml saves shows the label as a string of unicode points.

For example, for the Chinese word 中华人民共和国,
what I see in xml is this
<name>&#20013;&#21326;&#20154;&#27665;&#20849;&#21644;&#22269;</name>

from labelimg.

tzutalin avatar tzutalin commented on May 20, 2024

@mineshmathew ,
Can you share us with the filename and the file? We can put the file to https://github.com/tzutalin/labelImg/tree/master/tests, we can test it whenever there are new changes.

from labelimg.

mineshmathew avatar mineshmathew commented on May 20, 2024

the image i used is one of the icons that comes with the code - /icons/delete.png
I am attaching the xml generated upon assigning the label 中华人民共和国 to some bounding box I drew
delete.txt

from labelimg.

mineshmathew avatar mineshmathew commented on May 20, 2024

@jerinphilip thanks a lot. it works now

from labelimg.

tzutalin avatar tzutalin commented on May 20, 2024

@jerinphilip ,
Thanks. I applied your patch to master branch.
1fb28d8

from labelimg.

jerinphilip avatar jerinphilip commented on May 20, 2024

@tzutalin: My patch alone wouldn't be enough, I'm guessing. I believe the changes @rflynn was trying to implement are also necessary. My patch is on top of @rflynn's branch corresponding to the repo.

from labelimg.

tzutalin avatar tzutalin commented on May 20, 2024

Fix 70721ad

from labelimg.

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.