add local tesseract scripts and revert to using npm package

This commit is contained in:
Abhinav 2022-03-19 13:07:35 +05:30
parent be59833cf3
commit 28f4742a81
4 changed files with 36 additions and 2 deletions

View file

@ -74,7 +74,7 @@
"scrypt-js": "^3.0.1",
"similarity-transformation": "^0.0.1",
"styled-components": "^5.2.0",
"tesseract.js": "file:./thirdparty/tesseract",
"tesseract.js": "^2.1.5",
"transformation-matrix": "^2.10.0",
"tsne-js": "^1.0.3",
"workbox-precaching": "^6.1.5",

File diff suppressed because one or more lines are too long

10
public/js/tesseract/worker.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -7045,8 +7045,10 @@ tesseract.js-core@^2.2.0:
resolved "https://registry.yarnpkg.com/tesseract.js-core/-/tesseract.js-core-2.2.0.tgz#6ef78051272a381969fac3e45a226e85022cffef"
integrity sha512-a8L+OJTbUipBsEDsJhDPlnLB0TY1MkTZqw5dqUwmiDSjUzwvU7HWLg/2+WDRulKUi4LE+7PnHlaBlW0k+V0U0w==
"tesseract.js@file:./thirdparty/tesseract":
tesseract.js@^2.1.5:
version "2.1.5"
resolved "https://registry.yarnpkg.com/tesseract.js/-/tesseract.js-2.1.5.tgz#2f757ff059f249721096fe9f94029c349650902c"
integrity sha512-7CIS3SWr7TXpeaH9+HS7iUtVbCfPFYOO3p6rkRAkdtsOtrbz6496x59na6SCbFAIaZulQxy8BjwSu3qL3AoDRg==
dependencies:
blueimp-load-image "^3.0.0"
bmp-js "^0.1.0"