Installation
Contents
[
Hide
]
Aspose.OCR for Node.js via C++ is distributed as a downloadable package.
Installing the library
-
Download the latest version of the package.
-
Unpack the downloaded archive to the directory as the main script of your project. You can use subdirectories, for example
node_modules/aspose-ocr/
. Aspose.OCR for Node.js via C++ package has the following structure:- lib directory
Contains Aspose.OCR module (asposeocr.js
) and required binaries. - license directory
Contains the Aspose End User License Agreement and licenses for third-party components used in Aspose.OCR for Node.js via C++.
- lib directory
-
Import Aspose.OCR for Node.js via C++ module in your code. For example, if the distributive was unpacked to
node_modules/aspose-ocr/
subdirectory, use:const Module = require("aspose-ocr/lib/asposeocr");
Updating the library
To update Aspose.OCR for Node.js 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 into the same directory where the previous version is located, replacing the existing files.