Tech stack used:
💎
Installation -
📍 clone the repository.$git clone https://github.com/Aman-zishan/textextractor2.0.git
-
🏁 navigate to downloaded folder.$cd textextractor2.0
-
🚧 set up virtual environment.#windows $py -3 -m venv venv #linux/mac OS $python3 -m venv venv
-
♦️ activate virtual environment.#windows $venv\Scripts\activate #linux/mac OS $source venv/bin/activate
-
🌶️ install flask & other required dependencies#windows $pip install -r requirements.txt #linux/mac OS $pip3 install -r requirements.txt
Tesseract installation - for Windows OS
C:\Program Files\Tesseract-OCR\tesseract.exe is not installed or it's not in your path
- If you get this error its probably because you dont have tesseract installed or not have set it to right path as per line 11 in
app.py
. - The soln for this is to install tesseract to the specified path in the code from here
🎯 setup flask environment and run app#windows $set FLASK_APP=app.py $set FLASK_ENV=development $flask run #linux/mac OS $export FLASK_APP=app.py $export FLASK_ENV=development $flask run
😊
Demo
CONTRIBUTION
Hacktoberfest® is open to everyone in our global community. Whether you’re a developer, student learning to code, event host, or company of any size, you can help drive growth of open source and make positive contributions to an ever-growing community. All backgrounds and skill levels are encouraged to complete the challenge.
Go through the guidelines and feel free to contribute to this open source project!