Skip to content

Commit

Permalink
documents pdf_scanned_to_text
Browse files Browse the repository at this point in the history
  • Loading branch information
edublancas committed Apr 5, 2024
1 parent 773e51f commit af29881
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/features/document-processing.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ from ploomber_cloud import functions
result = functions.pdf_to_text("document.pdf")
```

```{tip}
`functions.pdf_to_text` only works with native PDFs, if you have a scanned PDF, use
`functions.pdf_scanned_to_text` instead.
```

`result` will be a list (one per page in the PDF) with the text.

By default, `functions.pdf_to_text` will wait until processing is done, you can pass
Expand Down

0 comments on commit af29881

Please sign in to comment.