This dataset is generated syhthetically to create tables with following characteristics:
Empty cell percentage in following range [40,70] (Sparse)
There is clear seperator between rows and columns (Structured).
4 <= num rows <= 10, 2 <= num columns <= 6 (Small)
def bytes_to_image(self, image_bytes: bytes):
return Image.open(io.BytesIO(image_bytes))
def parse_annotations(self, annotations: str) ->… See the full description on the dataset page:
https://huggingface.co/datasets/nanonets/small_sparse_structured_table.