Closed vuggy17 closed 1 year ago
Can you create a repo that I can clone to replicate the error? I have virtually no experience with Electron, but can look into this given that Electron-related issues have been raised several times.
Closing as stale. If other users have this problem, please open a new issue with a reproducible example repo. Code snippets really only work as reprex when they can be copy/pasted in any browser, not when they require additional code to run.
I'm using react-electron-boilerplate and install tesseract by
yarn add tesseract.js
. Then I create a worker like snippet bellow, and it doesn't work, but when I move it to main process, it workmain.ts
App.ts
Bonus: I'm trying to implement realtime translate (video translate) and I need to do OCR stuff on renderer process.
Does anyone know a work around or something?