Is it possible to use Tensorflow.js for real-time OCR for language modeling ( to start with English) as I am willing to make client side native desktop application running in offline mode.? Motivation behind it is to avoid unnecessary network resource consumption and have higher level of security. I tried bundling Tesseract.js but its not real time and there is no much activity in respective forum for a longer.time. Any pointer in this regard would be a great help.
Define "real-time". If you mean every second on a webcam, then yes! If you want native performance, you should consider a mobile app instead, using TFLite. Most cases the running every second is acceptable.
I recommend converting an existing TF model to TFJS for your research. Like this one: https://github.com/tensorflow/models/tree/master/research/attention_ocr
Or you could train your own, like the classic MNIST example in TFJS, seen here: https://storage.googleapis.com/tfjs-examples/mnist/dist/index.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With