Searched refs:HOCR_TEMPLATE (Results 1 – 4 of 4) sorted by relevance
38 HOCR_TEMPLATE = '''<?xml version="1.0" encoding="UTF-8"?> variable88 f.write(HOCR_TEMPLATE.format(str(w), str(h)))
40 HOCR_TEMPLATE = '''<?xml version="1.0" encoding="UTF-8"?> variable94 f.write(HOCR_TEMPLATE.format(str(w), str(h)))
21 from ocrmypdf._exec.tesseract import HOCR_TEMPLATE46 filename.write_text(HOCR_TEMPLATE)
32 HOCR_TEMPLATE = """<?xml version="1.0" encoding="UTF-8"?> variable219 output_hocr.write_text(HOCR_TEMPLATE.format(w, h), encoding='utf-8')