neuralib.imglib.io.read_pdf
- neuralib.imglib.io.read_pdf(file, single_image=True, poppler_path=None, **kwargs)[source]
Read pdf as an image array
- Parameters:
file (str | Path | PathLike[str])
single_image (bool)
poppler_path (str | None) –
if poppler not installed in a system level. Specify the path. for example:
Release-23.08.0-0\poppler-23.08.0\Library\binkwargs – pass through convert_from_path
- Returns:
Image array
- Return type:
ndarray