Metadata-Version: 2.1
Name: pdf_ocr_txt
Version: 0.5.2
Summary: Tool to extract and store sentence embeddings to a fast and scalable vector db
Home-page: https://github.com/ptarau/pdf_ocr_txt.git
Author: Paul Tarau
Author-email: paul.tarau@gmail.com
License: MIT
Description-Content-Type: text/markdown
License-File: LICENSE

# pdf_ocr_txt
Applies OCR to a PDF file and extracts its content to a TXT file.

Assumes tesseract and poplertools installed!

### USAGE

```
$ python3
>>>from pdf_ocr_txt.main import pdf_to_text
>>>pdf_to_text('my_file.pdf','my_output_directory')
```

See result in ```my_output_directory/my_file.pdf.txt``` .

Enjoy,
Paul Tarau
May 2024
