diff --git a/sample/index.html b/sample/index.html index a91f6fd..3712636 100644 --- a/sample/index.html +++ b/sample/index.html @@ -211,7 +211,7 @@ progress: { status: "Cleaning image", progress: 0 } }; displayProgress(progressLabel); - bcr.recognize(b64, displayResult, displayProgress, sampleOcr); + bcr.recognize(b64, displayResult, displayProgress); }); }; diff --git a/sample/js/index.js b/sample/js/index.js index 3288135..89a8269 100644 --- a/sample/js/index.js +++ b/sample/js/index.js @@ -10,7 +10,7 @@ Description: demo app async function init() { console.log("init BCR"); - await bcr.initialize(ocrEngines.GOOGLEVISION, cropStrategy.SMART, languages.ENGLISH, 2160, 1440, false, true); + await bcr.initialize(ocrEngines.TESSERACT, cropStrategy.SMART, languages.ENGLISH, 2160, 1440, false, true); console.log("BCR initialized"); }