increased ocr timeout and allow offline

This commit is contained in:
Maxim Devaev
2025-04-05 12:36:35 +03:00
parent 71617cc62a
commit 04209e2a6b
2 changed files with 2 additions and 1 deletions

View File

@@ -179,6 +179,7 @@ export function Ocr(__getGeometry) {
tools.el.setEnabled($("stream-ocr-lang-selector"), false);
$("stream-ocr-led").className = "led-yellow-rotating-fast";
let params = {
"allow_offline": 1,
"ocr": 1,
"ocr_langs": $("stream-ocr-lang-selector").value,
"ocr_left": __sel.left,