Git Product home page Git Product logo

Comments (3)

kirtanc25 avatar kirtanc25 commented on May 23, 2024 1

I cannot understand the above steps to add more characters to your VietnameseOCR.
I have a dataset of Gujarati characters same as yours (i.e 28x28 pixel values then Label of that character)
also, I updated your 'vi.characters.csv' file with my Gujarati characters and then tried to train the model.
But I am getting so many errors while running it.
Can you please help me to make it possible?

from vietnameseocr.

miendinh avatar miendinh commented on May 23, 2024

hi @jetjodh , sorry for late reply you.

I suggest that you should use this repos https://github.com/miendinh/vi.word2img for generating training dataset for Chinese and Korean characters with output dimension is 28 x 28 pixels, after that, you should update this file https://github.com/miendinh/VietnameseOCR/blob/master/data/vi.characters.csv and place your dataset in this folder https://github.com/miendinh/VietnameseOCR/tree/master/data/train/characters
To understand the organization of VietnameseOCR dataset, you could read file https://github.com/miendinh/VietnameseOCR/blob/master/generate_dataset.py and apply if for Chinese or Korean characters.

from vietnameseocr.

miendinh avatar miendinh commented on May 23, 2024

hi @royalk2c,

I used the quite old version of TensorFlow (TF)
I recommend you should try the latest version once, it was implemented Keras interface, so it makes life easier.

You can use API related to data augmentation of TF for improving the accuracy https://www.tensorflow.org/tutorials/images/data_augmentation

also, you can create more training data by this https://github.com/miendinh/vi.word2img

Good luck!

from vietnameseocr.

Related Issues (7)

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.