extract_pdf_image
autogen.agentchat.contrib.captainagent.tools.information_retrieval.extract_pdf_image.extract_pdf_image
extract_pdf_image
Extracts images from a PDF file and saves them to the specified output directory.
Parameters:Name | Description |
---|---|
pdf_path | The path to the PDF file. Type: str |
output_dir | The directory to save the extracted images. Type: str |
page_number=None |