Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/inf800/invoice-number-recognition
OCR
https://github.com/inf800/invoice-number-recognition
Last synced: 24 days ago
JSON representation
OCR
- Host: GitHub
- URL: https://github.com/inf800/invoice-number-recognition
- Owner: INF800
- Created: 2019-10-12T02:08:11.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T04:34:33.000Z (about 2 years ago)
- Last Synced: 2023-03-04T03:40:23.423Z (almost 2 years ago)
- Language: Python
- Size: 84 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# invoice-number-recognition
OCR# How To Use
### 1. Create a `python 3.7.4` virtual environment and activate it
### 2. Install all packages from `requirements.txt`
```
fuzzywuzzy==0.17.0
glob3==0.0.1
imutils==0.5.3
numpy==1.17.2
opencv-contrib-python==4.1.1.26
Pillow==6.2.0
pytesseract==0.3.0
XlsxWriter==1.2.1
```
### 3. Setup Tesseract. [Follow this thread](https://stackoverflow.com/questions/50951955/pytesseract-tesseractnotfound-error-tesseract-is-not-installed-or-its-not-i/#answer-53672281)
### 4. In line 13 of `invoice_number_recognition.py` add correct location of your executable `tesseract.exe` (Windows)
```
# add path to tesseract here
pytesseract.pytesseract.tesseract_cmd = r'YOUR_CORRECT_PATH'
```
*Please [Follow this thread](https://stackoverflow.com/questions/50951955/pytesseract-tesseractnotfound-error-tesseract-is-not-installed-or-its-not-i/#answer-53672281)*
### 5. Now as everything is ready, run the script
```
python invoice_number_recognition.py
```*Note: You may add additional arguments as well (Not Recommended)*