Added verify method and optimized method in ocr
This commit is contained in:
@@ -1286,13 +1286,11 @@ function cameraCapture() {
|
||||
console.log("Session update result:", data);
|
||||
alert("✅ Serial numbers saved:\n" + JSON.stringify(this.serialNumbers, null, 2));
|
||||
};
|
||||
|
||||
} catch (err) {
|
||||
console.error("OCR verify error:", err);
|
||||
alert("OCR verify failed:\n" + (err.message || err));
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
startDetection() {
|
||||
if (this.textDetectionInterval) {
|
||||
|
||||
Reference in New Issue
Block a user