English | 简体中文
LOCR(Lightweight OCR) is a tool that can detect the image and extract the text automatically when the clipboard changed.
- Cross platform supports: macOS, Linux (X11), and Windows.
- Chinese and English support(feel free to add your language).
- go 1.16+
- OCR server(not nesessary for offline version):
git clone https://github.com/dmzlingyin/LOCR.git
cd LOCR
go build
./install.sh
then you can type locr on you terminal to use it.
If you use locr normaly, just run it. If you just want to extract text from an image, see follow:
cat xxx.jpg | locr -f
# save to file
cat xxx.jpg | locr -f > text.txt
- hotkey
- offline version