You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While converting a PDF file to a Markdown (.md) file using the Marker library, the output Markdown file does not include images from the original PDF. The images are entirely skipped, with no references or placeholders left in the Markdown output.
I tried
`from marker.converters.pdf import PdfConverter
from marker.models import create_model_dict
from marker.config.parser import ConfigParser
Expected vs. Actual Behavior:
Expected: The Markdown file should contain image references () along with the extracted images saved separately.
Actual: The output Markdown file does not include any images, and no references to images are present.
The text was updated successfully, but these errors were encountered:
While converting a PDF file to a Markdown (.md) file using the Marker library, the output Markdown file does not include images from the original PDF. The images are entirely skipped, with no references or placeholders left in the Markdown output.
I tried
`from marker.converters.pdf import PdfConverter
from marker.models import create_model_dict
from marker.config.parser import ConfigParser
config = {
"output_format": "markdown",
"disable_image_extraction": False
}
config_parser = ConfigParser(config)
converter = PdfConverter(
config=config_parser.generate_config_dict(),
artifact_dict=create_model_dict(),
processor_list=config_parser.get_processors(),
renderer=config_parser.get_renderer()
)
rendered = converter("/path/to/sample.pdf")
print(rendered)
`
Expected vs. Actual Behavior:
) along with the extracted images saved separately.
Expected: The Markdown file should contain image references (
Actual: The output Markdown file does not include any images, and no references to images are present.
The text was updated successfully, but these errors were encountered: