Scan a number or text through camera

I have tested both and also I have already tried Tesseract.js. works for cards. But I want to read a number printed on a page.
Tesseract.js isn’t performing well with ionic. Can’t detect most of the numbers and letters.
Can anyone help me with it?
Here is my Tresseract.js cam scanner demo: