1
0
Fork 0
mirror of https://github.com/qurator-spk/page2tsv.git synced 2025-06-09 19:39:54 +02:00

Change scale-factor default parameter. Fix make-page2tsv-commands

This commit is contained in:
Kai 2021-03-10 11:15:42 +01:00
parent 900015da61
commit f606cb92b0
2 changed files with 4 additions and 1 deletions

View file

@ -252,6 +252,9 @@ def find_entities(tsv_file, tsv_out_file, ner_rest_endpoint, ned_rest_endpoint,
"\n\nOCR: OCR application/ground-truth creation. "
"\n\ndefault: NERD.")
def make_page2tsv_commands(xls_file, purpose):
"""
XLS_FILE: Read parameters from xls-file. Expected columns: Filename, iiif_url, scale_factor.
"""
df = pd.read_excel(xls_file)