最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Tensorflow.js for OCR - Stack Overflow

programmeradmin0浏览0评论

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.

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.

Share Improve this question edited May 15, 2018 at 14:49 Gaurav Srivastava asked May 15, 2018 at 7:42 Gaurav SrivastavaGaurav Srivastava 3472 silver badges11 bronze badges 1
  • 1 Hey Jey Thanks for reply. I am tracking their site for last month ( since beginning of their js avatar) but couldn't get anything relevant. Can you share some link may be I missed ? It will be a great help. – Gaurav Srivastava Commented May 15, 2018 at 8:05
Add a ment  | 

2 Answers 2

Reset to default 2

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 remend converting an existing TF model to TFJS for your research. Like this one: https://github./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./tfjs-examples/mnist/dist/index.html

use tensorflow.js with electron.js. it have native performance. because instead of webgl it uses CUDA and native c libraries which gain super fast result

发布评论

评论列表(0)

  1. 暂无评论