Figure Extraction

Figure Extraction

Figure Extraction allows users to extract data from charts and figures in PDF documents.

Key Highlights

  • Extract raw data from figures effortlessly.

  • We support the four most common chart types: bar charts (vertical, horizontal, grouped, and stacked), line plots, scatter plots, and pie charts.

Getting started

To apply Figure Extraction to your document, add "figure_extraction": "true" to the data dictionary in requests.post:

response = requests.post(
    api_url,
    files=files,
    data={
        "document_type": "hierarchical_v2",
        "figure_extraction": "true"
    }
)

Important Notes

  • Please expect throughput and latency increases when using Figure Extraction.

  • Accuracy is best for charts with the text of the chart embedded into the document (we call these "native" charts).

  • Feedback is encouraged to improve accuracy and expand the types of charts we support.

Feedback and Support

We value your feedback to enhance Figure Extraction's performance. If you encounter any issues or have suggestions, please reach out to extract@kensho.com.

Stay Updated

Keep an eye on our release notes for updates and improvements to Figure Extraction based on your feedback and usage.