GithubHelp home page GithubHelp logo

Comments (2)

IgorDavidyuk avatar IgorDavidyuk commented on July 4, 2024

If you look into tools/test_net.py you will find that the model returns char_bboxes, char_scores and word_instances.
https://github.com/MalongTech/research-charnet/blob/2b13ad978fa927bb903a82561dad75b97f0e0ab9/tools/test_net.py#L77

from research-charnet.

sisrfeng avatar sisrfeng commented on July 4, 2024

Thank you!
Change the test.py like this can generate BB:
https://github.com/sisrfeng/research-charnet/blob/5801f8f6cd7a099c4a87ef11b35c42bd9103a2be/tools/test_net.py#L82

To improve the recall of number detection , we can change these thresholds in research-charnet/charnet/config/defaults.py :

_C.WORD_MIN_SCORE = 0.95
_C.WORD_NMS_IOU_THRESH = 0.15
_C.CHAR_MIN_SCORE = 0.25
_C.CHAR_NMS_IOU_THRESH = 0.3

I set
_C.WORD_NMS_IOU_THRESH =0.99
_C.CHAR_NMS_IOU_THRESH=0.99
_C.CHAR_MIN_SCORE =0.1

Then the results of recognition become terrible. Maybe I need to train the network on pictures with abundant numbers.

from research-charnet.

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.