Skip to main content

Papermerge worker - extract OCR text documents

Project description

Papermerge Worker

pmwroker's main job is OCR processing. It extracts text from pdf, tiff, jpeg and png. For full project description please see Papermerge Project

Requirements

python >= 3.6

pmworker.wrapper uses subprocess.run method, method added in python 3.5. Also argument of subprocess.run(encoding='utf-8') is used. This argument was added python 3.6

Dependencies

Depends on celery, tesseract, imagemagick.

Usage:

export CELERY_CONFIG_MODULE='pmwroker.config' celery -A pmworker.celery worker -l info

Run Tests

Run all tests:

python3 run.py

Run specific test file:

python3 run.py -p test_endpoint

Which is same as:

python3 run.py -p test_endpoint.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pmworker, version 1.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pmworker-1.2.0.tar.gz (18.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page