mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 17:20:30 +08:00
fixed ocr langs parameter
This commit is contained in:
parent
863f8edae0
commit
7105693b22
@ -166,7 +166,7 @@ export function Ocr(__getGeometry) {
|
||||
$("stream-ocr-led").className = "led-yellow-rotating-fast";
|
||||
|
||||
let lang = $("stream-ocr-lang-selector").value;
|
||||
let url = `/api/streamer/snapshot?ocr=1&ocr_lang=${lang}`;
|
||||
let url = `/api/streamer/snapshot?ocr=1&ocr_langs=${lang}`;
|
||||
url += `&ocr_left=${__selection.left}&ocr_top=${__selection.top}`;
|
||||
url += `&ocr_right=${__selection.right}&ocr_bottom=${__selection.bottom}`;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user