Giter Site home page Giter Site logo

Assertion Error about simplehtr HOT 7 CLOSED

githubharald avatar githubharald commented on July 20, 2024
Assertion Error

from simplehtr.

Comments (7)

githubharald avatar githubharald commented on July 20, 2024

there is something wrong with your words.txt file.
Please look at the README, sections "Train model" and "FAQ", to see instructions on how to download the correct words.txt file.

from simplehtr.

syedjafer avatar syedjafer commented on July 20, 2024

yeah , i resolved it . Thanks

from simplehtr.

syedjafer avatar syedjafer commented on July 20, 2024

How do i train with my own dataset ,
but it resulted in ,
screenshot from 2018-09-30 21-36-14

My words .txt
screenshot from 2018-09-30 21-37-44

My dataset
screenshot from 2018-09-30 21-38-21

from simplehtr.

githubharald avatar githubharald commented on July 20, 2024

your words.txt is wrong. It should throw an assertion - did you remove it?
Please read the README - there you can find a link where a description can be found on how to create words.txt.

from simplehtr.

syedjafer avatar syedjafer commented on July 20, 2024

what does getNext function do ,
how to input my input images ,
screenshot from 2018-09-30 22-07-56

from simplehtr.

githubharald avatar githubharald commented on July 20, 2024

this is up to you. The code is just a skeleton which everyone has to adapt to his or her dataset.
You have to somehow let getNext() return a tuple containing the ground-truth text and image.

from simplehtr.

anidiatm41 avatar anidiatm41 commented on July 20, 2024

yeah , i resolved it . Thanks
@syedjafer @githubharald
can you please help me , how did you create word.txt file? I have 4000+ images, their full location and ground truths in an excel . Ground Truths are sentences having max length of 200+. PLs pls help me how to create words.txt file from them.

PFA a ref image .

test

from simplehtr.

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.