Managing downloadable resources

Contents
[ ]

To add OCR modules to your project:

  1. Download the required resources from the Aspose.OCR resource repository to some directory on your computer.
  2. Specify the path to that directory in resource_root_path property of AsposeOCRResourceLoadSettings structure.
  3. Apply the resource load settings (AsposeOCRResourceLoadSettings structure) using asposeocr_set_resource_load_settings() method before calling any other Aspose.OCR method.
AsposeOCRResourceLoadSettings load_settings;
std::string root_path = "path/to/files";
load_settings.resource_root_path = root_path.c_str();
asposeocr_set_resource_load_settings(load_settings);