README.md aktualisiert
This commit is contained in:
parent
c9d2551b89
commit
6e1b62e919
1 changed files with 15 additions and 1 deletions
16
README.md
16
README.md
|
@ -7,4 +7,18 @@ Clean up that MetaDataMess
|
||||||
+ pip install pdf2image anthropic
|
+ pip install pdf2image anthropic
|
||||||
+ sudo apt-get install poppler-utils
|
+ sudo apt-get install poppler-utils
|
||||||
|
|
||||||
before running: export ANTHROPIC_API_KEY='your-api-key-here'
|
before running: export ANTHROPIC_API_KEY='your-api-key-here'
|
||||||
|
|
||||||
|
## Using the tool
|
||||||
|
|
||||||
|
### Basic usage
|
||||||
|
python pdf_processor.py -i /path/to/pdfs -o /path/to/output
|
||||||
|
|
||||||
|
### Test with a single file
|
||||||
|
python pdf_processor.py -i /path/to/pdfs -o /path/to/output --test
|
||||||
|
|
||||||
|
### Process specific pattern of files
|
||||||
|
python pdf_processor.py -i /path/to/pdfs -o /path/to/output --pattern "magazine_*.pdf"
|
||||||
|
|
||||||
|
### Keep temporary files for inspection
|
||||||
|
python pdf_processor.py -i /path/to/pdfs -o /path/to/output --no-cleanup
|
Loading…
Add table
Reference in a new issue