The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: UnicodeDecodeError
Message: 'utf-8' codec can't decode byte 0xa3 in position 407: invalid start byte
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1815, in _prepare_split_single
for _, table in generator:
^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/text/text.py", line 73, in _generate_tables
batch = f.read(self.config.chunksize)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa3 in position 407: invalid start byte
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1339, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 972, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
text
string |
|---|
72,25,326,25,326,64,72,64,TAN WOON YANN
|
50,82,440,82,440,121,50,121,BOOK TA .K(TAMAN DAYA) SDN BND
|
205,121,285,121,285,139,205,139,789417-W
|
110,144,383,144,383,163,110,163,NO.53 55,57 & 59, JALAN SAGU 18,
|
192,169,299,169,299,187,192,187,TAMAN DAYA,
|
162,193,334,193,334,211,162,211,81100 JOHOR BAHRU,
|
217,216,275,216,275,233,217,233,JOHOR.
|
50,342,279,342,279,359,50,359,DOCUMENT NO : TD01167104
|
50,372,96,372,96,390,50,390,DATE:
|
165,372,342,372,342,389,165,389,25/12/2018 8:13:39 PM
|
48,396,117,396,117,415,48,415,CASHIER:
|
164,397,215,397,215,413,164,413,MANIS
|
49,423,122,423,122,440,49,440,MEMBER:
|
191,460,298,460,298,476,191,476,CASH BILL
|
30,508,121,508,121,523,30,523,CODE/DESC
|
200,507,247,507,247,521,200,521,PRICE
|
276,506,306,506,306,522,276,522,DISC
|
374,507,441,507,441,521,374,521,AMOUNT
|
69,531,102,531,102,550,69,550,QTY
|
221,531,247,531,247,545,221,545,RM
|
420,529,443,529,443,547,420,547,RM
|
27,570,137,570,137,583,27,583,9556939040116
|
159,570,396,570,396,584,159,584,KF MODELLING CLAY KIDDY FISH
|
77,598,113,598,113,613,77,613,1 PC
|
138,597,148,597,148,607,138,607,*
|
202,597,245,597,245,612,202,612,9.000
|
275,598,309,598,309,612,275,612,0.00
|
411,596,443,596,443,613,411,613,9.00
|
245,639,293,639,293,658,245,658,TOTAL:
|
118,671,291,671,291,687,118,687,ROUR DING ADJUSTMENT:
|
408,669,443,669,443,684,408,684,0.00
|
86,704,292,704,292,723,86,723,ROUND D TOTAL (RM):
|
401,703,443,703,443,719,401,719,9.00
|
205,744,243,744,243,765,205,765,CASH
|
402,748,441,748,441,763,402,763,10.00
|
205,770,271,770,271,788,205,788,CHANGE
|
412,772,443,772,443,786,412,786,1.00
|
97,845,401,845,401,860,97,860,GOODS SOLD ARE NOT RETURNABLE OR
|
190,864,309,864,309,880,190,880,EXCHANGEABLE
|
142,883,353,883,353,901,142,901,***
|
137,903,351,903,351,920,137,920,***
|
202,942,292,942,292,959,202,959,THANK YOU
|
163,962,330,962,330,977,163,977,PLEASE COME AGAIN !
|
412,639,442,639,442,654,412,654,9.00
|
76,50,323,50,323,84,76,84,TAN WOON YANN
|
110,165,315,165,315,188,110,188,INDAH GIFT & HOME DECO
|
126,191,297,191,297,214,126,214,27,JALAN DEDAP 13,
|
129,218,287,218,287,236,129,236,TAMAN JOHOR JAYA,
|
100,243,324,243,324,261,100,261,81100 JOHOR BAHRU,JOHOR.
|
70,268,201,268,201,285,70,285,TEL:07-3507405
|
221,267,356,267,356,286,221,286,FAX:07-3558160
|
177,317,241,317,241,336,177,336,RECEIPT
|
16,364,257,364,257,392,16,392,19/10/2018 20:49:59 #01
|
25,395,132,395,132,412,25,412,CASHIER: CN
|
181,393,390,393,390,410,181,410,LOCATION/SP: 05 /0531
|
26,445,129,445,129,463,26,463,MB: MO26588
|
25,468,127,468,127,489,25,489,ROOM NO: 01
|
286,466,400,466,400,488,286,488,050100035279
|
24,518,114,518,114,538,24,538,DESC/ITEM
|
182,519,213,519,213,538,182,538,QTY
|
239,518,288,518,288,534,239,534,PRICE
|
308,517,371,517,371,534,308,534,AMT(RM)
|
25,543,273,543,273,559,25,559,ST-PRIVILEGE CARD/GD INDAH
|
26,570,73,570,73,586,26,586,88888
|
201,565,218,565,218,588,201,588,1
|
238,566,294,566,294,589,238,589,10.00
|
319,561,382,561,382,586,319,586,10.00
|
22,591,257,591,257,613,22,613,GF-TABLE LAMP/STITCH <I>
|
24,616,78,616,78,636,24,636,62483
|
196,615,222,615,222,636,196,636,1
|
233,610,292,610,292,634,233,634,55.90
|
312,612,376,612,376,635,312,635,55.90
|
147,641,194,641,194,660,147,660,@DISC
|
216,642,270,642,270,661,216,661,10.00%
|
318,641,378,641,378,662,318,662,-5.59
|
25,668,122,668,122,691,25,691,#TOTAL QTY
|
157,663,185,663,185,687,157,687,2
|
26,693,280,693,280,712,26,712,TOTAL AMT................. RM
|
325,691,375,691,375,711,325,711,60.31
|
27,719,252,719,252,737,27,737,ROUNDING ADJ............
|
319,714,379,714,379,736,319,736,-0.01
|
261,768,280,768,280,787,261,787,RM
|
325,767,374,767,374,786,325,786,60.30
|
26,793,280,793,280,809,26,809,CASH.................... RM
|
326,792,373,792,373,809,326,809,70.30
|
25,815,280,815,280,835,25,835,CHANGE.................. RM
|
328,816,375,816,375,832,328,832,10.00
|
63,889,355,889,355,909,63,909,THANK YOU ! PLEASE COME AGAIN !
|
74,916,348,916,348,932,74,932,GOODS SOLD ARE NOT RETURNABLE
|
60,887,359,887,359,911,60,911,THANK YOU ! FLEASE COME AOSIN !
|
67,913,348,913,348,938,67,938,GOODS SOLD ARE NOT RETURNABLE
|
62,940,363,940,363,958,62,958,DEALING IN WHOLESALE AND RETAIL.
|
119,47,367,47,367,80,119,80,TAN WOON YANN
|
93,161,352,161,352,183,93,183,MR D.T.Y. (JOHOR) SDN BHD
|
137,185,320,185,320,204,137,204,(CO.REG : 933109-X)
|
49,201,391,201,391,227,49,227,LOT 1851-A & 1851-B, JALAN KPB 6,
|
60,228,382,228,382,246,60,246,KAWASAN PERINDUSTRIAN BALAKONG,
|
70,249,384,249,384,267,70,267,43300 SERI KEMBANGAN, SELANGOR
|
116,268,331,268,331,289,116,289,(MR DIY TESCO TERBAU)
|
176,290,268,290,268,308,176,308,-INVOICE-
|
This is a fork of Urban Knupleš's "SROIE datasetv2", with ground truth labels for invoice numbers. train/labels.json and test/test_labels.json contains the ground truth invoice numbers for the associated image.
Below is a copy + paste from his repo. Here is my dataset documentation and notes. See there as well for heuristics used to label the dataset. The latest version tag is data-v2.1.
Scanned receipts OCR and information extraction (SROIE) + LayoutLM (base)
This dataset was created for the ICDAR 2019 Robust Reading Challenge on Scanned Receipts OCR and Information Extraction (SROIE). The dataset has receipts written in English. It also contains the pre-trained base model LayoutLM, which I use to train the model to extract information from the SROIE dataset.
Content
The dataset contains 973 scanned receipts. For each receipt you have an .jpg file of the scanned receipt, a .txt file holding OCR information and a .txt file holding the key information values.
Acknowledgements
The dataset is not my own work. I nearly grouped things in the right order and folders. The original authors are the organizers of the competition.
- Downloads last month
- 1,017