how to solve this error "Error: recognize -- (FeatureNotLicensed) at: "OCRXpress Std" "?

how to solve this error "Error: recognize -- (FeatureNotLicensed) at: "OCRXpress Std" "?

我正在使用 nodejs 开发 OCR 演示应用程序。因此,当我尝试使用 'node app.js' 运行 我的应用程序时,它会抛出这样的错误

Server is running
Error: recognize -- (FeatureNotLicensed) at: "OCRXpress Std"

我遵循了“https://www.npmjs.com/package/ocr”中列出的步骤 但仍然面临同样的错误。
这是我的代码

const express = require('express');
const ocr = require('ocr');

var params = {
   input: './node_modules/ocr/samples/images/color.bmp',
   output: './out.txt',
   format: 'text'
};

ocr.recognize(params, function(err, document){
    if(err)  console.error(err);
    console.log(document); 
});

app.listen(8081, (err, res) => {
    if (err) console.log(err);
    console.log("Server is running..")
})

克服这个错误的可能方法是什么?
请帮助我
谢谢。

使用accusoft 提供的这些密钥。

const express = require('express');
const ocrx = require('ocr');
ocrx.setSolutionName('AccusoftRuntimeTest');
ocrx.setSolutionKey(0x00000001,0x00000002,0x00000003,0x00000004);
ocrx.setOemLicenseKey('<LicenceKeyProvidedByAccusoft>');

添加这三个键后,我的问题就解决了。