modified logic in ocr

This commit is contained in:
dhanabalan
2025-10-25 08:33:02 +05:30
parent e313b0be4b
commit 1922b9d7fc

View File

@@ -492,7 +492,7 @@ function cameraCapture() {
this.$refs.video.classList.remove('hidden');
this.cropper?.destroy();
await this.initCamera();
}
},
async detectText() {
// Draw video frame to temporary canvas
@@ -522,7 +522,7 @@ function cameraCapture() {
// ctx.fillText(word.text, x0, y0 - 2);
}
});
}
},
// Periodically detect text
async startDetection() {