Teklia/pylaia-belfort
Image-to-Text • Updated • 3
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
The Belfort dataset includes minutes of the municipal council of the French city of Belfort. Text lines were extracted using an automatic model and may contain segmentation errors. The transcriptions were obtained through a crowdsourcing campaign using the Callico web plateform.
Note that all images are resized to a fixed height of 128 pixels.
All the documents in the dataset are written in French.
{
'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=4300x128 at 0x1A800E8E190,
'text': 'les intérêts des 30000 francs jusqu'au moment de la'
}
image: a PIL.Image.Image object containing the image. Note that when accessing the image column (using dataset[0]["image"]), the image file is automatically decoded. Decoding of a large number of image files might take a significant amount of time. Thus it is important to first query the sample index before the "image" column, i.e. dataset[0]["image"] should always be preferred over dataset["image"][0].text: the label transcription of the image.