2
0
mirror of https://github.com/pikvm/pikvm synced 2024-11-06 21:20:32 +00:00
pikvm/docs/ocr.md

30 lines
861 B
Markdown
Raw Normal View History

2022-02-21 07:50:14 +00:00
# OCR
This feature allows you to select a screen region, recognize it as text and copy this text to the clipboard.
Recognition works locally on your PiKVM and does not use any cloud services. It uses the [Tesseract OCR library](https://github.com/tesseract-ocr/tesseract).
Tesseract does not see your image until you explicitly give the recognition command. The evil AI is not watching your screen.
## Language support
2022-03-16 00:34:56 +00:00
For any language, you will have to install its support. It is very easy to do this (English language for example):
2022-02-21 07:50:14 +00:00
```
# rw
2022-03-16 00:34:56 +00:00
# pacman --assume-installed tessdata -S tesseract-data-eng
2022-02-21 07:50:14 +00:00
# ro
```
List all available languages in the repository:
```
# pacman -Ss tesseract-data
```
## Disabling OCR
If you want to get rid of this feature completely, you need to delete Tesseract and all its data:
```
# rw
# pacman -R tesseract
# reboot
```