text stringlengths 0 278 |
|---|
marker ./jfk_files --output_dir ./jfk_maker_output/ --output_format json --paginate_output --disable_image_extraction --workers 12 |
Usage: marker_single [OPTIONS] FPATH |
Convert a single PDF to markdown. |
Options: |
--force_layout_block [Line|Span|FigureGroup|TableGroup|ListGroup|PictureGroup|Page|Caption|Code|Figure|Footnote|Form|Equation|Handwriting|TextInlineMath|ListItem|PageFooter|PageHeader|Picture|SectionHeader|Table|Text|TableOfContents|Document|ComplexRegion|TableCell|Reference] |
--llm_service TEXT LLM service to use - should be full import |
path, like |
marker.services.gemini.GoogleGeminiService |
--converter_cls TEXT Converter class to use. Defaults to PDF |
converter. |
--use_llm BOOLEAN Enable higher quality processing with LLMs. |
--languages TEXT Comma separated list of languages to use for |
OCR. |
--page_range TEXT Page range to convert, specify comma |
separated page numbers or ranges. Example: |
0,5-10,20 |
--disable_image_extraction Disable image extraction. |
--disable_multiprocessing Disable multiprocessing. |
--config_json TEXT Path to JSON file with additional |
configuration. |
--processors TEXT Comma separated list of processors to use. |
Must use full module path. |
--output_format [markdown|json|html] |
Format to output results in. |
-d, --debug Enable debug mode. |
--output_dir PATH Directory to save output. |
--lowres_image_dpi INTEGER DPI setting for low-resolution page images |
used for Layout and Line Detection. Default |
is 96. (Applies to: DocumentBuilder) |
--highres_image_dpi INTEGER DPI setting for high-resolution page images |
used for OCR. Default is 192. (Applies to: |
DocumentBuilder) |
--disable_ocr Disable OCR processing. Default is False. |
(Applies to: DocumentBuilder) |
--layout_batch_size OPTIONAL The batch size to use for the layout model. |
Default is None, which will use the default |
batch size for the model. (Applies to: |
LayoutBuilder, LLMLayoutBuilder) |
--force_layout_block TEXT Skip layout and force every page to be |
treated as a specific block type. Default is |
None. (Applies to: LayoutBuilder, |
LLMLayoutBuilder) |
--disable_tqdm Disable tqdm progress bars. Default is |
False. (Applies to: LayoutBuilder, |
LineBuilder, OcrBuilder, LLMLayoutBuilder, |
EquationProcessor, |
LLMComplexRegionProcessor, |
LLMEquationProcessor, LLMFormProcessor, |
LLMHandwritingProcessor, |
LLMImageDescriptionProcessor, |
LLMInlineMathLinesProcessor, |
LLMMathBlockProcessor, |
LLMSimpleBlockMetaProcessor, |
LLMTableProcessor, LLMTableMergeProcessor, |
TableProcessor) |
--detection_batch_size OPTIONAL |
The batch size to use for the detection |
model. Default is None, which will use the |
default batch size for the model. (Applies |
to: LineBuilder, TableProcessor) |
--ocr_error_batch_size OPTIONAL |
The batch size to use for the ocr error |
detection model. Default is None, which will |
use the default batch size for the model. |
(Applies to: LineBuilder) |
--enable_table_ocr Whether to skip OCR on tables. The |
TableProcessor will re-OCR them. Only |
enable if the TableProcessor is not running. |
Default is False. (Applies to: LineBuilder) |
--layout_coverage_min_lines INTEGER |
The minimum number of PdfProvider lines that |
must be covered by the layout model to |
consider the lines from the PdfProvider |
valid. Default is 1. (Applies to: |
LineBuilder) |
--layout_coverage_threshold FLOAT |
The minimum coverage ratio required for the |
layout model to consider the lines from the |
PdfProvider valid. Default is 0.25. (Applies |
to: LineBuilder) |
--min_document_ocr_threshold FLOAT |
If less pages than this threshold are good, |
OCR will happen in the document. Otherwise |
it will not. Default is 0.85. (Applies to: |
LineBuilder) |
--span_inline_math_overlap_threshold FLOAT |
The minimum overlap of a span with an inline |
math box to consider for removal Default is |
0.5. (Applies to: LineBuilder) |
--char_inline_math_overlap_threshold FLOAT |
The minimum overlap of a character with an |
inline math box to consider for removal |
Default is 0.5. (Applies to: LineBuilder) |
--line_inline_math_overlap_threshold FLOAT |
The minimum overlap of a line with an inline |
math box to consider as a match Default is |
0.0. (Applies to: LineBuilder) |
--line_inline_min_overlap_pct FLOAT |
End of preview. Expand
in Data Studio
No dataset card yet
- Downloads last month
- 7