agregando nuevo telmex
Browse files- data/img/310.jpg +3 -0
- data/key/310.json +14 -14
- telmex-donut/train/310.jpg +3 -0
- telmex-donut/train/metadata.jsonl +2 -1
- tranform.py +1 -1
data/img/310.jpg
ADDED
|
Git LFS Details
|
data/key/310.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
| 1 |
{
|
| 2 |
-
"date": "",
|
| 3 |
-
"name": "",
|
| 4 |
-
"fullAddress": "",
|
| 5 |
"address": {
|
| 6 |
-
"street": "",
|
| 7 |
-
"colony": "",
|
| 8 |
-
"city": "",
|
| 9 |
-
"state": ""
|
| 10 |
},
|
| 11 |
-
"zipCode": "",
|
| 12 |
-
"barCode": "",
|
| 13 |
-
"totalPayment": "",
|
| 14 |
-
"billingMonth": "",
|
| 15 |
-
"clientPhone": "",
|
| 16 |
-
"billNumber": "
|
| 17 |
-
"paymentLimitDate": "",
|
| 18 |
"caption": "TELEFONOS DE MEXICO",
|
| 19 |
"type": "telmex"
|
| 20 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"date": "21-MAY-2023",
|
| 3 |
+
"name": "DUAN X ZHAOHUI",
|
| 4 |
+
"fullAddress": "ARTEMIO DEL VALLE ARIZPE 14 DEP 502 DEL VALLE NORTE MEXICO, CIUDAD DE MEXICO C.P. 03103",
|
| 5 |
"address": {
|
| 6 |
+
"street": "ARTEMIO DEL VALLE ARIZPE 14 DEP 502",
|
| 7 |
+
"colony": "DEL VALLE NORTE",
|
| 8 |
+
"city": "MEXICO",
|
| 9 |
+
"state": "CIUDAD DE MEXICO"
|
| 10 |
},
|
| 11 |
+
"zipCode": "03103",
|
| 12 |
+
"barCode": "55568239740000458006",
|
| 13 |
+
"totalPayment": "458.00",
|
| 14 |
+
"billingMonth": "Mayo",
|
| 15 |
+
"clientPhone": "555682 3974",
|
| 16 |
+
"billNumber": "110123050013681",
|
| 17 |
+
"paymentLimitDate": "13-JUN-2023",
|
| 18 |
"caption": "TELEFONOS DE MEXICO",
|
| 19 |
"type": "telmex"
|
| 20 |
}
|
telmex-donut/train/310.jpg
ADDED
|
Git LFS Details
|
telmex-donut/train/metadata.jsonl
CHANGED
|
@@ -307,4 +307,5 @@
|
|
| 307 |
{"file_name": "306.jpg", "ground_truth": "{\"gt_parse\": {\"date\": \"21-ENE-2010\", \"name\": \"\", \"fullAddress\": \"Calle Duraznos No. Fracc. Colina del Durazno Cartoon City, Estado de Mexico C.P. 06824\", \"address\": {\"street\": \"Calle Duraznos No.\", \"colony\": \"Fracc. Colina del Durazno\", \"city\": \"Cartoon City\", \"state\": \"Estado de Mexico\"}, \"zipCode\": \"06824\", \"barCode\": \"248.00\", \"totalPayment\": \"248.00\", \"billingMonth\": \"Enero\", \"clientPhone\": \"55146245204578963105\", \"billNumber\": \"458796312064860\", \"paymentLimitDate\": \"13-Feb-2010\", \"caption\": \"TELEFONOS DE MEXICO\", \"type\": \"telmex\"}}"}
|
| 308 |
{"file_name": "307.jpg", "ground_truth": "{\"gt_parse\": {\"date\": \"21-ENE-2023\", \"name\": \"OCA A TORALES MA LUISA LETICIA\", \"fullAddress\": \"AV VALLE DE MEXICO 53 CUMBRIA C IZCALLI IZCALLI, EM C.P. 54740\", \"address\": {\"street\": \"AV VALLE DE MEXICO 53\", \"colony\": \"CUMBRIA C IZCALLI\", \"city\": \"IZCALLI\", \"state\": \"EM\"}, \"zipCode\": \"54740\", \"barCode\": \"55587308650002011007\", \"totalPayment\": \"2,011.00\", \"billingMonth\": \"Enero\", \"clientPhone\": \"555873 0865\", \"billNumber\": \"150123010135060\", \"paymentLimitDate\": \"INMEDIATO\", \"caption\": \"TELEFONOS DE MEXICO\", \"type\": \"telmex\"}}"}
|
| 309 |
{"file_name": "308.jpg", "ground_truth": "{\"gt_parse\": {\"date\": \"01-ABR-2023\", \"name\": \"MOISES ESPELETA ENRIQUE ALEJANDRO\", \"fullAddress\": \"CLL REVILLAGIGEDO 18 LT* CENTRO MEXICO, CIUDAD DE MEXICO C.P. 06010\", \"address\": {\"street\": \"CLL REVILLAGIGEDO 18 LT*\", \"colony\": \"CENTRO\", \"city\": \"MEXICO\", \"state\": \"CIUDAD DE MEXICO\"}, \"zipCode\": \"06010\", \"barCode\": \"55580199120000389001\", \"totalPayment\": \"389.00\", \"billingMonth\": \"Abril\", \"clientPhone\": \"555801 9912\", \"billNumber\": \"050123040024689\", \"paymentLimitDate\": \"03-MAY-2023\", \"caption\": \"TELEFONOS DE MEXICO\", \"type\": \"telmex\"}}"}
|
| 310 |
-
{"file_name": "309.jpg", "ground_truth": "{\"gt_parse\": {\"date\": \"11-AGO-2020\", \"name\": \"VELAZQUEZ FIGUEROA MARCO ANTONIO\", \"fullAddress\": \"PRV COTO DIAMANTE MZ 1 LT 7 COTO DIAMANTE LA PAZ, LA PAZ, BS C.P. 23085\", \"address\": {\"street\": \"PRV COTO DIAMANTE MZ 1 LT 7\", \"colony\": \"COTO DIAMANTE\", \"city\": \"LA PAZ, LA PAZ\", \"state\": \"BS\"}, \"zipCode\": \"23085\", \"barCode\": \"61268853890000536002\", \"totalPayment\": \"536.00\", \"billingMonth\": \"Agosto\", \"clientPhone\": \"612688 5389\", \"billNumber\": \"090820080002088\", \"paymentLimitDate\": \"10-SEP-2020\", \"caption\": \"TELEFONOS DE MEXICO\", \"type\": \"telmex\"}}"}
|
|
|
|
|
|
| 307 |
{"file_name": "306.jpg", "ground_truth": "{\"gt_parse\": {\"date\": \"21-ENE-2010\", \"name\": \"\", \"fullAddress\": \"Calle Duraznos No. Fracc. Colina del Durazno Cartoon City, Estado de Mexico C.P. 06824\", \"address\": {\"street\": \"Calle Duraznos No.\", \"colony\": \"Fracc. Colina del Durazno\", \"city\": \"Cartoon City\", \"state\": \"Estado de Mexico\"}, \"zipCode\": \"06824\", \"barCode\": \"248.00\", \"totalPayment\": \"248.00\", \"billingMonth\": \"Enero\", \"clientPhone\": \"55146245204578963105\", \"billNumber\": \"458796312064860\", \"paymentLimitDate\": \"13-Feb-2010\", \"caption\": \"TELEFONOS DE MEXICO\", \"type\": \"telmex\"}}"}
|
| 308 |
{"file_name": "307.jpg", "ground_truth": "{\"gt_parse\": {\"date\": \"21-ENE-2023\", \"name\": \"OCA A TORALES MA LUISA LETICIA\", \"fullAddress\": \"AV VALLE DE MEXICO 53 CUMBRIA C IZCALLI IZCALLI, EM C.P. 54740\", \"address\": {\"street\": \"AV VALLE DE MEXICO 53\", \"colony\": \"CUMBRIA C IZCALLI\", \"city\": \"IZCALLI\", \"state\": \"EM\"}, \"zipCode\": \"54740\", \"barCode\": \"55587308650002011007\", \"totalPayment\": \"2,011.00\", \"billingMonth\": \"Enero\", \"clientPhone\": \"555873 0865\", \"billNumber\": \"150123010135060\", \"paymentLimitDate\": \"INMEDIATO\", \"caption\": \"TELEFONOS DE MEXICO\", \"type\": \"telmex\"}}"}
|
| 309 |
{"file_name": "308.jpg", "ground_truth": "{\"gt_parse\": {\"date\": \"01-ABR-2023\", \"name\": \"MOISES ESPELETA ENRIQUE ALEJANDRO\", \"fullAddress\": \"CLL REVILLAGIGEDO 18 LT* CENTRO MEXICO, CIUDAD DE MEXICO C.P. 06010\", \"address\": {\"street\": \"CLL REVILLAGIGEDO 18 LT*\", \"colony\": \"CENTRO\", \"city\": \"MEXICO\", \"state\": \"CIUDAD DE MEXICO\"}, \"zipCode\": \"06010\", \"barCode\": \"55580199120000389001\", \"totalPayment\": \"389.00\", \"billingMonth\": \"Abril\", \"clientPhone\": \"555801 9912\", \"billNumber\": \"050123040024689\", \"paymentLimitDate\": \"03-MAY-2023\", \"caption\": \"TELEFONOS DE MEXICO\", \"type\": \"telmex\"}}"}
|
| 310 |
+
{"file_name": "309.jpg", "ground_truth": "{\"gt_parse\": {\"date\": \"11-AGO-2020\", \"name\": \"VELAZQUEZ FIGUEROA MARCO ANTONIO\", \"fullAddress\": \"PRV COTO DIAMANTE MZ 1 LT 7 COTO DIAMANTE LA PAZ, LA PAZ, BS C.P. 23085\", \"address\": {\"street\": \"PRV COTO DIAMANTE MZ 1 LT 7\", \"colony\": \"COTO DIAMANTE\", \"city\": \"LA PAZ, LA PAZ\", \"state\": \"BS\"}, \"zipCode\": \"23085\", \"barCode\": \"61268853890000536002\", \"totalPayment\": \"536.00\", \"billingMonth\": \"Agosto\", \"clientPhone\": \"612688 5389\", \"billNumber\": \"090820080002088\", \"paymentLimitDate\": \"10-SEP-2020\", \"caption\": \"TELEFONOS DE MEXICO\", \"type\": \"telmex\"}}"}
|
| 311 |
+
{"file_name": "310.jpg", "ground_truth": "{\"gt_parse\": {\"date\": \"21-MAY-2023\", \"name\": \"DUAN X ZHAOHUI\", \"fullAddress\": \"ARTEMIO DEL VALLE ARIZPE 14 DEP 502 DEL VALLE NORTE MEXICO, CIUDAD DE MEXICO C.P. 03103\", \"address\": {\"street\": \"ARTEMIO DEL VALLE ARIZPE 14 DEP 502\", \"colony\": \"DEL VALLE NORTE\", \"city\": \"MEXICO\", \"state\": \"CIUDAD DE MEXICO\"}, \"zipCode\": \"03103\", \"barCode\": \"55568239740000458006\", \"totalPayment\": \"458.00\", \"billingMonth\": \"Mayo\", \"clientPhone\": \"555682 3974\", \"billNumber\": \"110123050013681\", \"paymentLimitDate\": \"13-JUN-2023\", \"caption\": \"TELEFONOS DE MEXICO\", \"type\": \"telmex\"}}"}
|
tranform.py
CHANGED
|
@@ -5,7 +5,7 @@ from tqdm.notebook import tqdm
|
|
| 5 |
lines = []
|
| 6 |
images = []
|
| 7 |
i = 1
|
| 8 |
-
for ann in tqdm(os.listdir("./data/key")[
|
| 9 |
i += 1
|
| 10 |
if ann != ".ipynb_checkpoints":
|
| 11 |
with open("./data/key/" + ann) as f:
|
|
|
|
| 5 |
lines = []
|
| 6 |
images = []
|
| 7 |
i = 1
|
| 8 |
+
for ann in tqdm(os.listdir("./data/key")[309:311]):
|
| 9 |
i += 1
|
| 10 |
if ann != ".ipynb_checkpoints":
|
| 11 |
with open("./data/key/" + ann) as f:
|