changed logic in ocr in capture
This commit is contained in:
@@ -102,7 +102,9 @@ function cameraCapture() {
|
|||||||
video.classList.add('hidden');
|
video.classList.add('hidden');
|
||||||
this.photoTaken = true;
|
this.photoTaken = true;
|
||||||
|
|
||||||
// this.$refs.hiddenInput.value = dataUrl;
|
console.log('Captured Image Data URL:', dataUrl);
|
||||||
|
|
||||||
|
this.$refs.hiddenInput.value = dataUrl;
|
||||||
@this.set('photo1', dataUrl);
|
@this.set('photo1', dataUrl);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user