Teklia/pylaia-norhand-v2
Image-to-Text • Updated
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 NorHand v2 dataset comprises Norwegian letter and diary line images and text from 19th and early 20th century.
Note that all images are resized to a fixed height of 128 pixels.
All the documents in the dataset are written in Norwegian Bokmål.
{
'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=4300x128 at 0x1A800E8E190,
'text': 'og Hjertelighed'
}
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.