Hello! Has anyone tried to import an OCR js library to their Suitelet? Just checking if this is something feasible in NS. Thank you!
w
Webber
12/06/2021, 2:12 PM
I have had this before; it is probably possible, but not feasible, to port something like Tesseract to work within suitescript.
You would be better off consuming an external OCR API or hosting your own OCR app.
Webber
12/06/2021, 2:47 PM
Alternatively; you could have your suitelet just serve up a (Tesseract/whatever) library to the client and leave it to the client browser to do the processing. This would be slow and unreliable, but might work for you.
d
dynamicl
12/06/2021, 2:48 PM
+1 for OCR API, something like Azure Forms Recognizer which is pretty cheap and very accurate
dynamicl
12/06/2021, 2:50 PM
I have a couple of Tesseract based applications deployed at clients but wouldn't bother now with AI\ML based services out there.
j
Jars
08/18/2022, 3:27 PM
Hi @dynamicl — I know it has been months since this was posted. By any chance I can get a copy/snippet of how you implemented Tesseract on client side?
d
dynamicl
08/18/2022, 3:55 PM
Hey, these are actually C# based OCR apps using Tesseract, not NS. I'd still advocate using an OCR API, be quicker to develop and more accurate as they are trained on millions of documents. It wouldn't be that hard to knock up a pretty nice application in Angular\SuiteScript\Azure OCR.
👍 1
j
Jars
08/18/2022, 3:56 PM
Agree! We're now considering Azure Form Recognizer. Thank you for your inputs!