aws-samples / aws-samples/amazon-textract-textractor

Accept raw pdf bytes instead of just paths

Open
#445 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
493
Forks
163
PR merge metrics
No merged PRs in 30d

Description

Can you add support for taking in raw bytes from a pdf instead of just a path?

To handle multi-page documents, I am trying to submit each page individually. But writing to a temporary file seems unnecessary if you can just take in the bytes directly.

Contributor guide

Open the contributing guide

Research direction

The issue identifies PDF paths as the current input, but names no file or test. Start by locating the API that accepts PDF paths and trace how the document is passed to Amazon Textract. Done means the same API accepts raw PDF bytes, including individual pages, without requiring a temporary file; add coverage beside the existing input tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.