You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have no problem using version 2.0.0 in Uniapp, but during component initialization, I need to copy the CDN from the local file to Plus.io, package the APK, and directly use the file from Plus.io in the APK. However, using the same method, I encountered an error message "ReferenceError: Blob is not defined" on 5.0.4, and the initialization of createWorker failed. May I ask what the problem is? Does 5.0.4 support apps?
The text was updated successfully, but these errors were encountered:
I am not familiar with the particular framework you are referring to. You should be able to use Tesseract.js within any project that runs on the browser or using Node.js v14 or higher.
The error message ReferenceError: Blob is not defined indicates the code is trying to create a Blob in a context where Blob is not defined. The most likely explanation is that you are trying to use the browser version of Tesseract.js (which uses blobs) within a project that uses Node.js (which does not have blobs). If you are using Node.js, you should be sure to use the Node.js version of Tesseract.js rather than the browser version. Examples of both can be found in the examples directory here.
I have no problem using version 2.0.0 in Uniapp, but during component initialization, I need to copy the CDN from the local file to Plus.io, package the APK, and directly use the file from Plus.io in the APK. However, using the same method, I encountered an error message "ReferenceError: Blob is not defined" on 5.0.4, and the initialization of createWorker failed. May I ask what the problem is? Does 5.0.4 support apps?
The text was updated successfully, but these errors were encountered: