handwriting-ocr icon indicating copy to clipboard operation
handwriting-ocr copied to clipboard

How to Train 'models/gap-clas/CNN-CG'

Open Kiruba-iLink opened this issue 5 years ago • 5 comments

I don't see any file to train this model 'models/gap-clas/CNN-CG' (Since this is the model used most of the files for character separation) Also I don't see any file to create gap data for character Can you please give me some additional info to create gap data for character/words

Kiruba-iLink avatar Aug 18 '18 13:08 Kiruba-iLink

Training of CNN-CG model (it is bit inconsistent with naming). Is done in GapClassifier.ipynb. But that isn't the best model for separating letters in word. I would recommend you to use GapClassifier-BiRNN.ipynb which gives better results. Gap data for this model can be created using script WordClassDM.py. This script displays each word from given location and by clicking you specify positions where should be the word separated into individual letters.

Breta01 avatar Sep 07 '18 07:09 Breta01

yes @Breta01 we followed what you have mentioned above My target is to train multiple handwriting , If I use single handwriting I get good accuracy , but when goes more than one handwriting Accuracy decreases, Can you say where I can concentrate so that Accuracy improves ?

Kiruba-iLink avatar Sep 07 '18 08:09 Kiruba-iLink

That's not easy to say. Best way is to take some sample text (for which the algorithm fails) and evaluate individual steps. Ideally, you should evaluate each step as if the previous steps worked perfectly. That way you can determine where you should put the most effort.

Breta01 avatar Sep 09 '18 17:09 Breta01

I can't see the GapClassifier-BiRNN.ipynb and GapClassifier.ipynb. maybe names changed ?

theEngineer47 avatar Feb 03 '22 12:02 theEngineer47

I can't see the GapClassifier-BiRNN.ipynb and GapClassifier.ipynb. maybe names changed ?

Any luck?

avnika-shah avatar May 12 '22 12:05 avnika-shah