Spaces:
Sleeping
Sleeping
Update Tesseract.js
Browse files- Tesseract.js +1 -1
Tesseract.js
CHANGED
@@ -14,7 +14,7 @@ import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers
|
|
14 |
console.error("Error accessing the camera: ", err);
|
15 |
});
|
16 |
|
17 |
-
captureButton.addEventListener('click', (
|
18 |
// Draw the video frame to the canvas
|
19 |
canvas.width = video.videoWidth;
|
20 |
canvas.height = video.videoHeight;
|
|
|
14 |
console.error("Error accessing the camera: ", err);
|
15 |
});
|
16 |
|
17 |
+
captureButton.addEventListener('click', (m) => {
|
18 |
// Draw the video frame to the canvas
|
19 |
canvas.width = video.videoWidth;
|
20 |
canvas.height = video.videoHeight;
|