Skip to content

Commit

Permalink
change to pdfpage
Browse files Browse the repository at this point in the history
  • Loading branch information
felixT2K committed Jul 4, 2023
1 parent 09231ad commit ac5edc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doctr/io/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def read_pdf(
scale: rendering scale (1 corresponds to 72dpi)
rgb_mode: if True, the output will be RGB, otherwise BGR
password: a password to unlock the document, if encrypted
kwargs: additional parameters to :meth:`pypdfium2.PdfDocument.render`
kwargs: additional parameters to :meth:`pypdfium2.PdfPage.render`
Returns:
the list of pages decoded as numpy ndarray of shape H x W x C
Expand Down

0 comments on commit ac5edc2

Please sign in to comment.