Installation

Aspose.OCR for JavaScript via C++ is distributed as a downloadable package.

Installing the library

  1. Download the latest version of the package.

  2. Unpack the downloaded archive somewhere on your system.

  3. 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)
  4. 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:

  1. Download the latest version of the package.
    Check the Release Notes to ensure the downloaded version is backwards compatible with the existing code.

  2. Unpack the downloaded archive somewhere on your system.

  3. 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)