From 2e478bd8a5789d23b2aff4dd477126b0135f40f8 Mon Sep 17 00:00:00 2001 From: Balearica Date: Wed, 10 Aug 2022 21:22:39 -0700 Subject: [PATCH] Ran linter --- src/worker-script/utils/setImage.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/worker-script/utils/setImage.js b/src/worker-script/utils/setImage.js index c8fabcd..2802b98 100644 --- a/src/worker-script/utils/setImage.js +++ b/src/worker-script/utils/setImage.js @@ -17,7 +17,6 @@ module.exports = (TessModule, api, image) => { let w = 0; let h = 0; - if (image instanceof ImageData) { // The pixel format of ImageData is RGBA and technically // Tesseract is expecting ABGR, but it does not seem to matter