added tesseract package, trying to recognize text from base64 image

This commit is contained in:
mrfry 2022-11-23 21:47:07 +01:00
parent 70e7af0ba0
commit 00ec614f1d
9 changed files with 484 additions and 284 deletions

View file

@ -621,6 +621,7 @@ function setup(data: SubmoduleData): Submodule {
if (totalNewQuestions > 0) {
resultArray.forEach((result) => {
msgAllWorker({
// TODO: recognize base64 image
type: 'newQuestions',
data: result,
})