Skip to main content

Xtracture is an open source library designed to efficiently extract arbitrary elements from documents.

Project description

Xtracture: Open Source Document Content Extractuion Library

Xtracture is an open source library designed to efficiently extract arbitrary elements from documents.

Features

  • Natural language rule creation using LLMs
  • Switchable OCR engines for optimized perfomance and accuracy

prerequirements

  • OpenAI API Key (for LLM rule creation)

Installation

pip install -U xtracture

Usage

Use Google Cloud Vision API

Google CLoud Vision Credentials must be correctly configured.

see examples/google_cloud_vision_example.py.

Use Tesseract

Tesseract must be installed beforehand.

see examples/tesseract_example.py.

Use only GPT Extractor

You can input OCR-processed text file. see examples/lambda_example.py.

License

Xtracture is released under the MIT License.

Project details


Download files

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

Source Distribution

xtracture-0.4.0.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

xtracture-0.4.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page