From 14a39b30f80001ff420cda1361ff6353271afd32 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Sat, 25 Oct 2025 18:09:15 +0530 Subject: [PATCH] added logic in ocr --- resources/views/fields/camera-capture.blade.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/views/fields/camera-capture.blade.php b/resources/views/fields/camera-capture.blade.php index 73e1ccb..2c87eee 100644 --- a/resources/views/fields/camera-capture.blade.php +++ b/resources/views/fields/camera-capture.blade.php @@ -732,7 +732,8 @@ function cameraCapture() { {{-- --}} {{-- --}} - + + @@ -824,7 +825,7 @@ function cameraCapture() { const matches = detectedText.match(/\d+/g) || []; this.serialNumbers = matches.slice(0, 4); // take first 4 serials - this.$refs.serialInput.value = JSON.stringify(this.serialNumbers); + //this.$refs.serialInput.value = JSON.stringify(this.serialNumbers); alert("Serial numbers stored in hidden input:\n" + this.$refs.serialInput.value); }