The sample shows steps and algorithm of how to recognize text from document and how to make it work in your VBScript and VB6 application. ByteScout Text Recognition SDK is the SDK designed to help developers in quick implementation of high quality OCR text recognition from scanned images and pdf and you can use it to recognize text from document with VBScript and VB6.
You will save a lot of time on writing and testing code as you may just take the VBScript and VB6 code from ByteScout Text Recognition SDK for recognize text from document below and use it in your application. In order to implement the functionality, you should copy and paste this code for VBScript and VB6 below into your code editor with your app, compile and run your application. Test VBScript and VB6 sample code examples whether they respond your needs and requirements for the project.
You can download free trial version of ByteScout Text Recognition SDK from our website to see and try many others source code samples for VBScript and VB6.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
' Create and activate TextRecognizer object Set textRecognizer = CreateObject("ByteScout.TextRecognition.TextRecognizer") textRecognizer.RegistrationName = "demo" textRecognizer.RegistrationKey = "demo" inputDocument = "..\..\invoice-sample.png" outputDocument = "result.txt" ' Load document (image or PDF) textRecognizer.LoadDocument(inputDocument) ' Set the location of OCR language data files textRecognizer.OCRLanguageDataFolder = "c:\Program Files\ByteScout Text Recognition SDK\ocrdata_best\" ' Set OCR language. ' "eng" for english, "deu" for German, "fra" for French, "spa" for Spanish, etc. - according to files in "ocrdata" folder ' Find more language files at https://github.com/bytescout/ocrdata textRecognizer.OCRLanguage = "eng" ' Recognize text from all pages and save it to file textRecognizer.SaveText(outputDocument) WScript.Echo "Extracted text saved to " + outputDocument Set recognizer = Nothing
60 Day Free Trial or Visit ByteScout Text Recognition SDK Home Page
Explore ByteScout Text Recognition SDK Documentation
Explore Samples
Sign Up for ByteScout Text Recognition SDK Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout Text Recognition SDK Home Page
Explore ByteScout Text Recognition SDK Documentation
Explore Samples
Sign Up for ByteScout Text Recognition SDK Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples