flow_inference.write_inference_to_raw_xml

Write line-level inference results back into raw XML datasets.

This module combines an inference result repository with a raw XML repository, inserts recognized text into matching PAGE XML TextLine and TextRegion elements, stores the updated XML in new inference_xml_* columns, and uploads the resulting dataset to the Hugging Face Hub.

Classes

InferenceToRawXMLWriter(raw_xml_repo, ...[, ...])

Write inference output into raw XML records and upload the result.