Capture is a python based desktop application that lets you capture the text which otherwise cannot be copied. It saves the time spent on software/website to get the text. Just select and voila, your text is copied to the clipboard. It uses python's PyQt5 module for building the entire GUI and pytesseract for extracting text from the image.
- Prerequisite: Python 3
- Clone the repo
git clone https://github.com/IshaanOhri/Capture.git
cd
into directory
cd Capture
- Install all packages
pip install -r requirements.txt
- Run application
python app.py
If your system default is python 2.x then try running pip3
and python3
instead of pip
and python
If you encounter error installing pytesseract, try this:
brew install tesseract
sudo apt-get install tesseract-ocr
Download binary from here and add pytesseract.pytesseract.tesseract_cmd = 'C:\Program Files (x86)\Tesseract-OCR\tesseract.exe'
to your script
If you continue running into issue refer the INSTALLATION section here
The project has been tested only on MacOS, should you encounter any isuue on any other operating system, please feel free to contribute.
Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/NewFeature
) - Commit your Changes (
git commit -m 'Add some NewFeature'
) - Push to the Branch (
git push origin feature/NewFeature
) - Open a Pull Request
The project is distributed under the MIT License. See LICENSE for more information.
Thanks to Ian for the inspiration.