This project takes up a directory of jpg files and applies computer vision to them to extract text from the images.
To clone the repository to local machine, use git clone.
You will need following packsges: For computer vision:
- numpy
- cv2
- imutils
- skimage
For Text Extraction:
- pytesseract
- pillow
For installing OpenCV, type following command in terminal
sudo apt-get install python-opencv
For numpy, pillow, imutils installation,
pip3 install numpy
pip3 install pillow
pip3 install imutils
To run the code, visit the directory where you have cloned the code and then type the following command to run it:
python3 image_text_extractor.py