Image being None #3318
Unanswered
gustavotrapp
asked this question in
Q&A
Replies: 1 comment
|
The If you're using the Python SDK directly, configure it like this: from docling.datamodel.pipeline_options import PdfPipelineOptions
from docling.document_converter import DocumentConverter, PdfFormatOption
pipeline_options = PdfPipelineOptions(
generate_picture_images=True, # enables per-picture image cropping
images_scale=2.0, # optional: higher resolution
)
converter = DocumentConverter(
format_options={
InputFormat.PDF: PdfFormatOption(pipeline_options=pipeline_options)
}
)If you're using docling-serve, note that there's a bug where To reply, just mention @dosu. Docs are dead. Just use Dosu. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am trying to extract the images from my PDF and save them so I can use a model to process them separately, but all of my
PictureItemhave None as the imageAll reactions