aboutsummaryrefslogtreecommitdiffstats
path: root/src/offscreen/ocr/index.js
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-06-15 22:58:32 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-06-15 22:58:32 +0530
commit920c4837acbba57fb1c51941770586c89436bc61 (patch)
treeadab786c0b6ef869ee7c062bb3affdda7b43ace3 /src/offscreen/ocr/index.js
parent8b7f56048cb8dce1cd41225a059b82b1e782299b (diff)
downloadbanglar-bhumi-utils-920c4837acbba57fb1c51941770586c89436bc61.tar.gz
banglar-bhumi-utils-920c4837acbba57fb1c51941770586c89436bc61.zip
Updated README.md + Some minor changes.
Diffstat (limited to 'src/offscreen/ocr/index.js')
-rw-r--r--src/offscreen/ocr/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/offscreen/ocr/index.js b/src/offscreen/ocr/index.js
index b935024..432811e 100644
--- a/src/offscreen/ocr/index.js
+++ b/src/offscreen/ocr/index.js
@@ -1,8 +1,8 @@
import Tesseract from "./tesseract.esm.min.js";
let ocrWorker = null;
-const WORKER_PATH = chrome.runtime.getURL("/offscreen/ocr/static/worker.min.js");
-const CORE_PATH = chrome.runtime.getURL("/offscreen/ocr/static");
+const WORKER_PATH = chrome.runtime.getURL("offscreen/ocr/static/worker.min.js");
+const CORE_PATH = chrome.runtime.getURL("offscreen/ocr/static");
async function performOcrInOffscreen(dataURL) {
if (!ocrWorker) {