Skip to content

Export as PDF/A #869

Answered by felixdittrich92
bennetrr asked this question in Q&A
Mar 24, 2022 · 3 comments · 10 replies
Discussion options

You must be logged in to vote

Hi @bennetrr 👋 ,
Yes it is :) take a look into the notebooks section (documentation) -> Link to
Export PDF/A

Colab notebook -> update first pip please to: !pip3 install python-doctr==0.5.1 (ping @charlesmindee post release modifications)

Two things to note:

  • with the last release there was a change in DocumentFile.from_pdf(..).as_images() to DocumentFile.from_pdf(..) we need to update this in the notebook 👍
  • there are currently only straight boxes supported to export as PDF/A so you can pass export_as_straight_boxes=True to the predictor if your documents contain rotated text

Does this answer your question ?
Let me know if you have further questions 😃

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
10 replies
@felixdittrich92
Comment options

@bennetrr
Comment options

@felixdittrich92
Comment options

@bennetrr
Comment options

@felixdittrich92
Comment options

Answer selected by bennetrr
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants