Installation
Aspose.OCR for JavaScript via C++ is distributed as a downloadable package.
Installing the library
-
Download the latest version of the package.
-
Unpack the downloaded archive somewhere on your system.
-
Copy the following files from lib directory of the downloaded archive and place them in the same directory as the web page you develop:
- asposeocr.js (Aspose.OCR for JavaScript via C++ core code)
- asposeocr.wasm (WebAssembly binary)
- asposeocr.data (recognition models)
-
Reference Aspose.OCR for JavaScript via C++ library in your code:
<script src="asposeocr.js"></script>
Updating the library
To update Aspose.OCR for JavaScript via C++ to the new version:
-
Download the latest version of the package.
Check the Release Notes to ensure the downloaded version is backwards compatible with the existing code. -
Unpack the downloaded archive somewhere on your system.
-
Copy the following files from lib directory of the downloaded archive and place them in the same directory as the web page, replacing the existing files:
- asposeocr.js (Aspose.OCR for JavaScript via C++ core code)
- asposeocr.wasm (WebAssembly binary)
- asposeocr.data (recognition models)