mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
ocr
This commit is contained in:
42
web/kvm/navbar-text.pug
Normal file
42
web/kvm/navbar-text.pug
Normal file
@@ -0,0 +1,42 @@
|
||||
li(class="right")
|
||||
a(class="menu-button" href="#")
|
||||
+navbar_led("stream-ocr-led", "led-gear", "feature-disabled")
|
||||
| Text
|
||||
div(data-dont-hide-menu class="menu")
|
||||
div(class="text")
|
||||
b Paste text as keypress sequence#[br]
|
||||
sub Please note that PiKVM cannot switch the keyboard layout
|
||||
hr
|
||||
div(class="text")
|
||||
textarea(id="hid-pak-text" placeholder="Enter your text here")
|
||||
table(class="kv")
|
||||
tr
|
||||
td
|
||||
button(disabled data-force-hide-menu id="hid-pak-button") • Paste
|
||||
td using host keymap
|
||||
td
|
||||
select(id="hid-pak-keymap-selector")
|
||||
+menu_switch("hid-pak-ask-switch", "Ask paste confirmation", true, true)
|
||||
div(id="stream-ocr" class="feature-disabled")
|
||||
hr
|
||||
br
|
||||
hr
|
||||
div(class="text")
|
||||
b Text recognition#[br]
|
||||
sub #[a(target="_blank" href="https://docs.pikvm.org/ocr") OCR] works locally on PiKVM
|
||||
hr
|
||||
table(class="kv")
|
||||
tr
|
||||
td
|
||||
button(data-force-hide-menu id="stream-ocr-button") • Select area
|
||||
td for
|
||||
td
|
||||
select(id="stream-ocr-lang-selector")
|
||||
td text recognition
|
||||
table(class="kv")
|
||||
tr
|
||||
td(colspan="4") • Press #[b Enter] to recognize and copy text to clipboard
|
||||
tr
|
||||
td(colspan="4") • Press #[b Esc] to cancel selection
|
||||
tr
|
||||
td
|
||||
Reference in New Issue
Block a user