This repository was archived by the owner on Apr 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,10 @@ def read_pdf(
104104
105105 For more information, refer `OpenCV's dilate
106106 <https://docs.opencv.org/2.4/modules/imgproc/doc/filtering.html#dilate>`_.
107+ backend* : str, optional by default "pdfium"
108+ The backend to use for converting the PDF to an image so it can be processed by OpenCV.
109+ use_fallback* : bool, optional
110+ Fallback to another backend if unavailable, by default True
107111 resolution* : int, optional (default: 300)
108112 Resolution used for PDF to PNG conversion.
109113
Original file line number Diff line number Diff line change @@ -75,6 +75,10 @@ class Lattice(BaseParser):
7575 Number of times for erosion/dilation is applied.
7676
7777 For more information, refer `OpenCV's dilate <https://docs.opencv.org/2.4/modules/imgproc/doc/filtering.html#dilate>`_.
78+ backend* : str, optional by default "pdfium"
79+ The backend to use for converting the PDF to an image so it can be processed by OpenCV.
80+ use_fallback* : bool, optional
81+ Fallback to another backend if unavailable, by default True
7882 resolution : int, optional (default: 300)
7983 Resolution used for PDF to PNG conversion.
8084
You can’t perform that action at this time.
0 commit comments