<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          TextShot截圖文本識(shí)別工具

          聯(lián)合創(chuàng)作 · 2023-09-30 13:28

          TextShot 可截取屏幕截圖并將其文本內(nèi)容復(fù)制到剪貼板,適用于 Windows、macOS 和大多數(shù)現(xiàn)代 Linux 發(fā)行版。

           使用

          textshot -h 打印可用的命令行選項(xiàng):

          usage: textshot [-h] [-i INTERVAL] [langs] Take a screenshot and copy its text content to the clipboard. positional arguments: langs languages passed to tesseract, eg. "eng+fra" (default: eng) optional arguments: -h, --help show this help message and exit -i INTERVAL, --interval INTERVAL select a screen region then take textshots every INTERVAL milliseconds

          例子

          • 基本用法:textshot打開一個(gè)疊加層,可以在其中圍繞要復(fù)制的文本繪制一個(gè)矩形。

          • 備用語言:textshot eng+fra指定使用英語作為主要語言,使用法語作為次要語言。確保為其他語言安裝了適用于 Tesseract 的適當(dāng)數(shù)據(jù)文件。可以在此處找到所有受支持語言的列表。

          • 連續(xù)復(fù)制文本內(nèi)容:textshot --interval 200在屏幕區(qū)域繪制一個(gè)矩形,然后每 200 毫秒從中復(fù)制文本。

          熱鍵

          建議為這個(gè)工具附加一個(gè)全局熱鍵,這樣你就可以運(yùn)行它而無需打開控制臺(tái)并輸入命令。

          Windows上,可以使用AutoHotkey腳本來完成此操作;textshot.ahk包含一個(gè)可以使用的示例 AHK 腳本。

          Ubuntu上,打開鍵盤設(shè)置,它會(huì)顯示所有 Gnome 快捷方式。在底部有一個(gè)+按鈕可以添加您自己的快捷方式。單擊它并將命令設(shè)置為textshot。如果您使用的是虛擬環(huán)境,textshot上述路徑應(yīng)指向環(huán)境的textshot.

          可以通過搜索如何使用鍵盤快捷鍵運(yùn)行 shell 命令來找到其他操作系統(tǒng)上的進(jìn)程。

          故障排除

          蘋果系統(tǒng)

          您可能需要授予捕獲屏幕的權(quán)限。您可以轉(zhuǎn)到“系統(tǒng)偏好設(shè)置”>“安全和隱私”>“隱私”>“屏幕錄制”,然后選中“終端/iTerm”復(fù)選框。

          Linux

          如果文本在通知中正確顯示,但您無法粘貼,請(qǐng)安裝xclip(例如使用sudo apt install xclip

          瀏覽 7
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          評(píng)論
          圖片
          表情
          推薦
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  AA片在线免费观看 | 囯产黄色视频 | 综合日逼| 婷婷五月天社区 | 日日爽夜夜爽 |