Home
last modified time | relevance | path

Searched refs:HOCR_TEMPLATE (Results 1 – 4 of 4) sorted by relevance

/dports/textproc/py-ocrmypdf/ocrmypdf-12.7.2/tests/plugins/
H A Dtesseract_noop.py38 HOCR_TEMPLATE = '''<?xml version="1.0" encoding="UTF-8"?> variable
88 f.write(HOCR_TEMPLATE.format(str(w), str(h)))
H A Dtesseract_debug_rotate.py40 HOCR_TEMPLATE = '''<?xml version="1.0" encoding="UTF-8"?> variable
94 f.write(HOCR_TEMPLATE.format(str(w), str(h)))
/dports/textproc/py-ocrmypdf/ocrmypdf-12.7.2/tests/
H A Dtest_hocrtransform.py21 from ocrmypdf._exec.tesseract import HOCR_TEMPLATE
46 filename.write_text(HOCR_TEMPLATE)
/dports/textproc/py-ocrmypdf/ocrmypdf-12.7.2/src/ocrmypdf/_exec/
H A Dtesseract.py32 HOCR_TEMPLATE = """<?xml version="1.0" encoding="UTF-8"?> variable
219 output_hocr.write_text(HOCR_TEMPLATE.format(w, h), encoding='utf-8')