added logic in ocr

This commit is contained in:
dhanabalan
2025-10-27 11:57:22 +05:30
parent e332637d48
commit 39eedf1fe9

View File

@@ -714,9 +714,12 @@ function cameraCapture() {
></video>
<!-- Image Preview -->
<img x-ref="snapshot" class="border rounded w-80 h-auto hidden" />
{{-- <img x-ref="snapshot" class="border rounded w-80 h-auto hidden" /> --}}
<img
x-ref="snapshot"
class="absolute top-0 left-0 w-full h-full border rounded hidden"
/>
<!-- Overlay canvas for OCR highlight -->
<canvas
x-ref="overlay"