GAZAR

Principal Engineer | Mentor

Tesseract Library and Image Processing to Detect Texts

Tesseract Library and Image Processing to Detect Texts

Detecting texts from the image can be really important to developers, like reading a receipt, bill or any other paper. The client will upload an image or take it with their cameras, and we need to understand and act based on that.

You can even go one step further and read my article about Natural Language Processing here.

Tesseract is a library on GitHub that helps us to get the text, I had some time playing around with it and created this demo.

Easy to develop:

Tesseract.recognize(url.preview, "eng", {        
   logger: m => console.log(m)      
})

and here is a sample:

1_DJUaWs4uPZdlMrUcn46K6g.webp

I hope you find better usages of this on your apps. check out my code here if you want.


Comments