Git Product home page Git Product logo

Comments (6)

yasersakkaf avatar yasersakkaf commented on July 17, 2024

This was solved.

from handwriting-ocr.

haripranavk avatar haripranavk commented on July 17, 2024

I'm facing the same issue. How did you solve it?

from handwriting-ocr.

yasersakkaf avatar yasersakkaf commented on July 17, 2024

@haripranavk , This was long back. I think if you download the recent(current) code it wont give you any problem.

from handwriting-ocr.

haripranavk avatar haripranavk commented on July 17, 2024

@yasersakkaf thank you for being prompt. Actually, I recently downloaded and the issue is still pertaining.
Would you kindly let me know how did you solve?

from handwriting-ocr.

yasersakkaf avatar yasersakkaf commented on July 17, 2024

Actually the OCR.ipynb was designed to use only charclass model, since here we segment the image into each character (using the gap classifier model) depending on the gaps between them and them identify each character.
Other models like word classifier identify the entire word.
So other models will not work.

@Breta01 Please correct me if I am wrong.

from handwriting-ocr.

Breta01 avatar Breta01 commented on July 17, 2024

@yasersakkaf yes you are correct.
The problem is that for loading models I am using my custom class Graph. This class use operation called activation as default output operation in the TensorFlow model. However, CTC model have different name of output function, which you have to specify during creation of class as:

model = Graph(MODEL_LOC, 'word_prediction')

But you would also have to change mechanism of feeding images into the model. This is actually implemented in OCR-Evaluator.ipynb where I am comparing different models

from handwriting-ocr.

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.