ilar06 commited on
Commit
0101459
·
verified ·
1 Parent(s): 86a9d38

Update Tesseract.js

Browse files
Files changed (1) hide show
  1. 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', (canvas) => {
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;