Windows snipping tool written on C++, which allows you to recognize and translate the selected text into Russian.
Snipper is c++ project that allows:
- extracting image from part of desktop
- copying this image to buffer
- finding text regions of interest
- recognizing words
- showing copyable text on GUI with confidence coloring
Installation steps:
- Download or compile tesseract and opencv (use vcpkg for easiest installing)
- generate grpc cxx and h files with your protoc
- protoc -I ./ --grpc_out=. --plugin=protoc-gen-grpc=\grpc_cpp_plugin.exe ./cli_g.proto
- protoc -I ./ --cpp_out=. ./cli_g.proto
- compile program with Qt
cd translator/
pip3 install -r requirements.txt
python3 main.py
Coming soon!