Skip to content

Latest commit

 

History

History
109 lines (89 loc) · 3.41 KB

README.md

File metadata and controls

109 lines (89 loc) · 3.41 KB

Capture

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.




Installation

  1. Prerequisite: Python 3
  2. Clone the repo
git clone https://github.com/IshaanOhri/Capture.git
  1. cd into directory
cd Capture
  1. Install all packages
pip install -r requirements.txt
  1. 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:

MacOs

brew install tesseract

Linux

sudo apt-get install tesseract-ocr

Windows

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.


Contributing

Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/NewFeature)
  3. Commit your Changes (git commit -m 'Add some NewFeature')
  4. Push to the Branch (git push origin feature/NewFeature)
  5. Open a Pull Request

License

The project is distributed under the MIT License. See LICENSE for more information.


Tech stacks used


Inspirational Credits

Thanks to Ian for the inspiration.