Create ocr.md

This commit is contained in:
Maxim Devaev 2022-02-21 10:50:14 +03:00 committed by GitHub
parent 17240b361c
commit b8fcc1d3b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

29
docs/ocr.md Normal file
View File

@ -0,0 +1,29 @@
# 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
For any language, you will have to install its support. It is very easy to do this (Russian language for example):
```
# rw
# pacman -S tesseract-data-rus
# 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
```