Rename images with line id
Compare changes
- Solene Tarride authored
+ 8
− 4
@@ -396,7 +396,9 @@ class HTRDataGenerator:
@@ -466,11 +468,13 @@ class HTRDataGenerator:
Two main changes:
{page_id}_{line_number}_{line_id}
(previously {page_id}_{line_number}
) as it is easier to visualize on Arkindexline_032
) should come from the element's name and not from enumerate
to avoid offset on pages containing lines without transcriptionNote: I'm assuming that there are at most 999 lines/image (line_number
has 3 digits)