24 lines
335 B
Markdown
24 lines
335 B
Markdown
|
# NOTES ON OPTICAL PRINTER TECHNIQUE
|
||
|
|
||
|
Reproduction on the guide written by Dennis Couzin.
|
||
|
|
||
|
### PDF Dependencies
|
||
|
|
||
|
* pandoc
|
||
|
|
||
|
```bash
|
||
|
bash compile.sh
|
||
|
```
|
||
|
|
||
|
### Text extraction dependencies
|
||
|
|
||
|
* Python3.7
|
||
|
* OpenCV 2
|
||
|
* Tesseract
|
||
|
* PIL
|
||
|
|
||
|
```bash
|
||
|
cd extract
|
||
|
python3 pdf.py > ../ocr/pdf_output.txt
|
||
|
python3 ocr.py > ../ocr/tesseract_output.txt
|
||
|
```
|