Scezui commited on
Commit
ec6f6ef
1 Parent(s): 00e42ea

removed windows pathlib

Browse files
Layoutlmv3_inference/__pycache__/annotate_image.cpython-311.pyc CHANGED
Binary files a/Layoutlmv3_inference/__pycache__/annotate_image.cpython-311.pyc and b/Layoutlmv3_inference/__pycache__/annotate_image.cpython-311.pyc differ
 
__pycache__/app.cpython-311.pyc ADDED
Binary file (18.8 kB). View file
 
app.py CHANGED
@@ -105,8 +105,8 @@ def make_predictions(image_paths):
105
  temp = None
106
  try:
107
  # For Windows OS
108
- temp = pathlib.PosixPath # Save the original state
109
- pathlib.PosixPath = pathlib.WindowsPath # Change to WindowsPath temporarily
110
 
111
  model_path = Path(r'model/export')
112
  learner = load_learner(model_path)
@@ -130,8 +130,8 @@ def make_predictions(image_paths):
130
  except Exception as e:
131
  return {"error in make_predictions": str(e)}
132
 
133
- finally:
134
- pathlib.PosixPath = temp
135
 
136
 
137
  @app.route('/predict/<filenames>', methods=['GET', 'POST'])
 
105
  temp = None
106
  try:
107
  # For Windows OS
108
+ # temp = pathlib.PosixPath # Save the original state
109
+ # pathlib.PosixPath = pathlib.WindowsPath # Change to WindowsPath temporarily
110
 
111
  model_path = Path(r'model/export')
112
  learner = load_learner(model_path)
 
130
  except Exception as e:
131
  return {"error in make_predictions": str(e)}
132
 
133
+ # finally:
134
+ # pathlib.PosixPath = temp
135
 
136
 
137
  @app.route('/predict/<filenames>', methods=['GET', 'POST'])
static/temp/img_display/images.png ADDED
static/temp/img_display/sample_711.jpg ADDED
static/temp/img_display/sample_711.jpg_inference.jpg ADDED
static/temp/img_display/sample_coop.jpg ADDED
static/temp/img_display/sample_coop.jpg_inference.jpg ADDED
static/temp/inferenced/csv_files/Output_0.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ RECEIPTNUMBER,MERCHANTNAME,MERCHANTADDRESS,TRANSACTIONDATE,TRANSACTIONTIME,ITEMS,PRICE,TOTAL,VATTAX
2
+ # 3058,BHu Convenience,"Poblacion , Leon , Iloila .",05 / 00 / 2023,06 : 54 : 23,NESTEALEMICETSDOML,35.000,108,4.00 67.86
3
+ # 3058,BHu Convenience,"Poblacion , Leon , Iloila .",05 / 00 / 2023,06 : 54 : 23,A,41.000,108,4.00 67.86
4
+ # 3058,BHu Convenience,"Poblacion , Leon , Iloila .",05 / 00 / 2023,06 : 54 : 23,NESTEALEMICETSDOML A TaGstrabryT200ml,35.000 41.000,108,4.00 67.86
static/temp/inferenced/csv_files/Output_1.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ RECEIPTNUMBER,MERCHANTNAME,MERCHANTADDRESS,TRANSACTIONDATE,TRANSACTIONTIME,ITEMS,PRICE,TOTAL,VATTAX
2
+ 000036410,BVSU Multi Purpose Cooperative,Luna Street Lapaz Iloslo City,10 - 25 - 2023,01 : 29 : 49 PM,COXE,13.00,13.00,
3
+ 000036410,BVSU Multi Purpose Cooperative,Luna Street Lapaz Iloslo City,10 - 25 - 2023,01 : 29 : 49 PM,COXE 195ML,13.00,13.00,
static/temp/inferenced/output.csv ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ RECEIPTNUMBER,MERCHANTNAME,MERCHANTADDRESS,TRANSACTIONDATE,TRANSACTIONTIME,ITEMS,PRICE,TOTAL,VATTAX
2
+ # 3058,BHu Convenience,"Poblacion , Leon , Iloila .",05 / 00 / 2023,06 : 54 : 23,NESTEALEMICETSDOML,35.000,108,4.00 67.86
3
+ # 3058,BHu Convenience,"Poblacion , Leon , Iloila .",05 / 00 / 2023,06 : 54 : 23,A,41.000,108,4.00 67.86
4
+ # 3058,BHu Convenience,"Poblacion , Leon , Iloila .",05 / 00 / 2023,06 : 54 : 23,NESTEALEMICETSDOML A TaGstrabryT200ml,35.000 41.000,108,4.00 67.86
5
+ 000036410,BVSU Multi Purpose Cooperative,Luna Street Lapaz Iloslo City,10 - 25 - 2023,01 : 29 : 49 PM,COXE,13.00,13.00,
6
+ 000036410,BVSU Multi Purpose Cooperative,Luna Street Lapaz Iloslo City,10 - 25 - 2023,01 : 29 : 49 PM,COXE 195ML,13.00,13.00,
static/temp/labeled/Output_0.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"output": [{"text": "tons", "label": "MERCHANTADDRESS", "words": [{"id": 37, "box": [322.0, 624.0, 426.0, 676.0], "text": "tons"}]}, {"text": "11457229", "label": "RECEIPTNUMBER", "words": [{"id": 44, "box": [121.0, 728.0, 299.0, 773.0], "text": "11457229"}]}, {"text": "76.000", "label": "TOTAL", "words": [{"id": 71, "box": [592.0, 1134.0, 706.0, 1183.0], "text": "76.000"}]}, {"text": "108", "label": "TOTAL", "words": [{"id": 77, "box": [657.0, 1390.0, 705.0, 1436.0], "text": "108"}]}, {"text": "0.00", "label": "VATTAX", "words": [{"id": 79, "box": [611.0, 1494.0, 705.0, 1539.0], "text": "0.00"}]}, {"text": "BHu Convenience", "label": "MERCHANTNAME", "words": [{"id": 0, "box": [120.0, 208.0, 193.0, 257.0], "text": "BHu"}, {"id": 1, "box": [200.0, 208.0, 451.0, 257.0], "text": "Convenience"}]}, {"text": "Poblacion , Leon , Iloila .", "label": "MERCHANTADDRESS", "words": [{"id": 21, "box": [101.0, 416.0, 314.0, 471.0], "text": "Poblacion"}, {"id": 22, "box": [101.0, 416.0, 314.0, 471.0], "text": ","}, {"id": 23, "box": [321.0, 416.0, 445.0, 471.0], "text": "Leon"}, {"id": 24, "box": [321.0, 416.0, 445.0, 471.0], "text": ","}, {"id": 25, "box": [452.0, 416.0, 611.0, 471.0], "text": "Iloila"}, {"id": 26, "box": [452.0, 416.0, 611.0, 471.0], "text": "."}]}, {"text": "05 / 00 / 2023", "label": "TRANSACTIONDATE", "words": [{"id": 32, "box": [101.0, 624.0, 316.0, 676.0], "text": "05"}, {"id": 33, "box": [101.0, 624.0, 316.0, 676.0], "text": "/"}, {"id": 34, "box": [101.0, 624.0, 316.0, 676.0], "text": "00"}, {"id": 35, "box": [101.0, 624.0, 316.0, 676.0], "text": "/"}, {"id": 36, "box": [101.0, 624.0, 316.0, 676.0], "text": "2023"}]}, {"text": "06 : 54 : 23", "label": "TRANSACTIONTIME", "words": [{"id": 38, "box": [432.0, 624.0, 614.0, 676.0], "text": "06"}, {"id": 39, "box": [432.0, 624.0, 614.0, 676.0], "text": ":"}, {"id": 40, "box": [432.0, 624.0, 614.0, 676.0], "text": "54"}, {"id": 41, "box": [432.0, 624.0, 614.0, 676.0], "text": ":"}, {"id": 42, "box": [432.0, 624.0, 614.0, 676.0], "text": "23"}]}, {"text": "# 3058", "label": "RECEIPTNUMBER", "words": [{"id": 48, "box": [130.0, 779.0, 238.0, 822.0], "text": "#"}, {"id": 49, "box": [130.0, 779.0, 238.0, 822.0], "text": "3058"}]}, {"text": "NESTEALEMICETSDOML A TaGstrabryT200ml", "label": "ITEMS", "words": [{"id": 62, "box": [20.0, 984.0, 407.0, 1026.0], "text": "NESTEALEMICETSDOML"}, {"id": 63, "box": [23.0, 1033.0, 57.0, 1078.0], "text": "A"}, {"id": 64, "box": [62.0, 1033.0, 403.0, 1078.0], "text": "TaGstrabryT200ml"}]}, {"text": "35.000 41.000", "label": "PRICE", "words": [{"id": 65, "box": [566.0, 981.0, 703.0, 1030.0], "text": "35.000"}, {"id": 66, "box": [569.0, 1032.0, 703.0, 1078.0], "text": "41.000"}]}, {"text": "4.00 67.86", "label": "VATTAX", "words": [{"id": 73, "box": [611.0, 1241.0, 702.0, 1286.0], "text": "4.00"}, {"id": 74, "box": [591.0, 1338.0, 705.0, 1384.0], "text": "67.86"}]}]}
static/temp/labeled/Output_1.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"output": [{"text": "000036410", "label": "RECEIPTNUMBER", "words": [{"id": 238, "box": [266.0, 420.0, 466.0, 464.0], "text": "000036410"}]}, {"text": "13.00", "label": "PRICE", "words": [{"id": 290, "box": [876.0, 946.0, 991.0, 992.0], "text": "13.00"}]}, {"text": "13.00", "label": "TOTAL", "words": [{"id": 292, "box": [331.0, 1100.0, 443.0, 1149.0], "text": "13.00"}]}, {"text": "BVSU Multi Purpose Cooperative", "label": "MERCHANTNAME", "words": [{"id": 204, "box": [207.0, 53.0, 299.0, 102.0], "text": "BVSU"}, {"id": 205, "box": [305.0, 53.0, 427.0, 102.0], "text": "Multi"}, {"id": 206, "box": [434.0, 53.0, 593.0, 102.0], "text": "Purpose"}, {"id": 207, "box": [599.0, 53.0, 846.0, 102.0], "text": "Cooperative"}]}, {"text": "Luna Street Lapaz Iloslo City", "label": "MERCHANTADDRESS", "words": [{"id": 208, "box": [331.0, 105.0, 435.0, 154.0], "text": "Luna"}, {"id": 209, "box": [441.0, 105.0, 588.0, 154.0], "text": "Street"}, {"id": 210, "box": [594.0, 105.0, 705.0, 154.0], "text": "Lapaz"}, {"id": 211, "box": [403.0, 158.0, 544.0, 208.0], "text": "Iloslo"}, {"id": 212, "box": [550.0, 157.0, 643.0, 207.0], "text": "City"}]}, {"text": "10 - 25 - 2023", "label": "TRANSACTIONDATE", "words": [{"id": 239, "box": [269.0, 472.0, 486.0, 520.0], "text": "10"}, {"id": 240, "box": [269.0, 472.0, 486.0, 520.0], "text": "-"}, {"id": 241, "box": [269.0, 472.0, 486.0, 520.0], "text": "25"}, {"id": 242, "box": [269.0, 472.0, 486.0, 520.0], "text": "-"}, {"id": 243, "box": [269.0, 472.0, 486.0, 520.0], "text": "2023"}]}, {"text": "COXE 195ML", "label": "ITEMS", "words": [{"id": 263, "box": [92.0, 943.0, 218.0, 986.0], "text": "COXE"}, {"id": 264, "box": [223.0, 943.0, 334.0, 986.0], "text": "195ML"}]}, {"text": "01 : 29 : 49 PM", "label": "TRANSACTIONTIME", "words": [{"id": 283, "box": [790.0, 472.0, 976.0, 520.0], "text": "01"}, {"id": 284, "box": [790.0, 472.0, 976.0, 520.0], "text": ":"}, {"id": 285, "box": [790.0, 472.0, 976.0, 520.0], "text": "29"}, {"id": 286, "box": [790.0, 472.0, 976.0, 520.0], "text": ":"}, {"id": 287, "box": [790.0, 472.0, 976.0, 520.0], "text": "49"}, {"id": 288, "box": [981.0, 472.0, 1033.0, 519.0], "text": "PM"}]}]}
static/temp/sample_711_ocr.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"ParsedResults": [{"TextOverlay": {"Lines": [{"LineText": "BHu Convenience Store", "Words": [{"WordText": "BHu", "Left": 120.0, "Top": 208.0, "Height": 49.0, "Width": 73.0}, {"WordText": "Convenience", "Left": 200.0, "Top": 208.0, "Height": 49.0, "Width": 251.0}, {"WordText": "Store", "Left": 457.0, "Top": 208.0, "Height": 49.0, "Width": 112.0}], "MaxHeight": 49.0, "MinTop": 208.0}, {"LineText": "Orned & Uperated by: Nancy A.", "Words": [{"WordText": "Orned", "Left": 39.0, "Top": 263.0, "Height": 46.0, "Width": 115.0}, {"WordText": "&", "Left": 160.0, "Top": 263.0, "Height": 46.0, "Width": 35.0}, {"WordText": "Uperated", "Left": 200.0, "Top": 263.0, "Height": 46.0, "Width": 184.0}, {"WordText": "by", "Left": 390.0, "Top": 263.0, "Height": 46.0, "Width": 75.0}, {"WordText": ":", "Left": 390.0, "Top": 263.0, "Height": 46.0, "Width": 75.0}, {"WordText": "Nancy", "Left": 470.0, "Top": 263.0, "Height": 46.0, "Width": 121.0}, {"WordText": "A", "Left": 597.0, "Top": 263.0, "Height": 46.0, "Width": 57.0}, {"WordText": ".", "Left": 597.0, "Top": 263.0, "Height": 46.0, "Width": 57.0}], "MaxHeight": 46.0, "MinTop": 263.0}, {"LineText": "C1 inacosa", "Words": [{"WordText": "C1", "Left": 244.0, "Top": 315.0, "Height": 42.0, "Width": 48.0}, {"WordText": "inacosa", "Left": 296.0, "Top": 315.0, "Height": 42.0, "Width": 149.0}], "MaxHeight": 42.0, "MinTop": 315.0}, {"LineText": "VAIRSGTIN 0333-698-685-002", "Words": [{"WordText": "VAIRSGTIN", "Left": 81.0, "Top": 364.0, "Height": 49.0, "Width": 198.0}, {"WordText": "0333", "Left": 285.0, "Top": 364.0, "Height": 49.0, "Width": 349.0}, {"WordText": "-", "Left": 285.0, "Top": 364.0, "Height": 49.0, "Width": 349.0}, {"WordText": "698", "Left": 285.0, "Top": 364.0, "Height": 49.0, "Width": 349.0}, {"WordText": "-", "Left": 285.0, "Top": 364.0, "Height": 49.0, "Width": 349.0}, {"WordText": "685", "Left": 285.0, "Top": 364.0, "Height": 49.0, "Width": 349.0}, {"WordText": "-", "Left": 285.0, "Top": 364.0, "Height": 49.0, "Width": 349.0}, {"WordText": "002", "Left": 285.0, "Top": 364.0, "Height": 49.0, "Width": 349.0}], "MaxHeight": 49.0, "MinTop": 364.0}, {"LineText": "Poblacion, Leon, Iloila.", "Words": [{"WordText": "Poblacion", "Left": 101.0, "Top": 416.0, "Height": 55.0, "Width": 213.0}, {"WordText": ",", "Left": 101.0, "Top": 416.0, "Height": 55.0, "Width": 213.0}, {"WordText": "Leon", "Left": 321.0, "Top": 416.0, "Height": 55.0, "Width": 124.0}, {"WordText": ",", "Left": 321.0, "Top": 416.0, "Height": 55.0, "Width": 124.0}, {"WordText": "Iloila", "Left": 452.0, "Top": 416.0, "Height": 55.0, "Width": 159.0}, {"WordText": ".", "Left": 452.0, "Top": 416.0, "Height": 55.0, "Width": 159.0}], "MaxHeight": 55.0, "MinTop": 416.0}, {"LineText": "Philippines", "Words": [{"WordText": "Philippines", "Left": 224.0, "Top": 466.0, "Height": 46.0, "Width": 244.0}], "MaxHeight": 46.0, "MinTop": 466.0}, {"LineText": "TEl H: NULL", "Words": [{"WordText": "TEl", "Left": 228.0, "Top": 516.0, "Height": 46.0, "Width": 75.0}, {"WordText": "H", "Left": 309.0, "Top": 516.0, "Height": 46.0, "Width": 52.0}, {"WordText": ":", "Left": 309.0, "Top": 516.0, "Height": 46.0, "Width": 52.0}, {"WordText": "NULL", "Left": 366.0, "Top": 516.0, "Height": 46.0, "Width": 99.0}], "MaxHeight": 46.0, "MinTop": 516.0}, {"LineText": "05/00/2023 tons 06:54:23", "Words": [{"WordText": "05", "Left": 101.0, "Top": 624.0, "Height": 52.0, "Width": 215.0}, {"WordText": "/", "Left": 101.0, "Top": 624.0, "Height": 52.0, "Width": 215.0}, {"WordText": "00", "Left": 101.0, "Top": 624.0, "Height": 52.0, "Width": 215.0}, {"WordText": "/", "Left": 101.0, "Top": 624.0, "Height": 52.0, "Width": 215.0}, {"WordText": "2023", "Left": 101.0, "Top": 624.0, "Height": 52.0, "Width": 215.0}, {"WordText": "tons", "Left": 322.0, "Top": 624.0, "Height": 52.0, "Width": 104.0}, {"WordText": "06", "Left": 432.0, "Top": 624.0, "Height": 52.0, "Width": 182.0}, {"WordText": ":", "Left": 432.0, "Top": 624.0, "Height": 52.0, "Width": 182.0}, {"WordText": "54", "Left": 432.0, "Top": 624.0, "Height": 52.0, "Width": 182.0}, {"WordText": ":", "Left": 432.0, "Top": 624.0, "Height": 52.0, "Width": 182.0}, {"WordText": "23", "Left": 432.0, "Top": 624.0, "Height": 52.0, "Width": 182.0}], "MaxHeight": 52.0, "MinTop": 624.0}, {"LineText": "ROPT 11457229", "Words": [{"WordText": "ROPT", "Left": 20.0, "Top": 728.0, "Height": 45.0, "Width": 96.0}, {"WordText": "11457229", "Left": 121.0, "Top": 728.0, "Height": 45.0, "Width": 178.0}], "MaxHeight": 45.0, "MinTop": 728.0}, {"LineText": "RCPT CNTIO", "Words": [{"WordText": "RCPT", "Left": 474.0, "Top": 720.0, "Height": 62.0, "Width": 100.0}, {"WordText": "CNTIO", "Left": 581.0, "Top": 721.0, "Height": 62.0, "Width": 121.0}], "MaxHeight": 63.0, "MinTop": 720.0}, {"LineText": "STORE #3058", "Words": [{"WordText": "STORE", "Left": 19.0, "Top": 780.0, "Height": 43.0, "Width": 105.0}, {"WordText": "#", "Left": 130.0, "Top": 779.0, "Height": 43.0, "Width": 108.0}, {"WordText": "3058", "Left": 130.0, "Top": 779.0, "Height": 43.0, "Width": 108.0}], "MaxHeight": 44.0, "MinTop": 779.0}, {"LineText": "SNI: NTI43167", "Words": [{"WordText": "SNI", "Left": 439.0, "Top": 776.0, "Height": 49.0, "Width": 86.0}, {"WordText": ":", "Left": 439.0, "Top": 776.0, "Height": 49.0, "Width": 86.0}, {"WordText": "NTI43167", "Left": 531.0, "Top": 776.0, "Height": 49.0, "Width": 168.0}], "MaxHeight": 49.0, "MinTop": 776.0}, {"LineText": "MEN 1: 18112011091411050", "Words": [{"WordText": "MEN", "Left": 20.0, "Top": 831.0, "Height": 43.0, "Width": 76.0}, {"WordText": "1", "Left": 101.0, "Top": 831.0, "Height": 43.0, "Width": 59.0}, {"WordText": ":", "Left": 101.0, "Top": 831.0, "Height": 43.0, "Width": 59.0}, {"WordText": "18112011091411050", "Left": 165.0, "Top": 831.0, "Height": 43.0, "Width": 368.0}], "MaxHeight": 43.0, "MinTop": 831.0}, {"LineText": "STAFF: nearl joy vererable", "Words": [{"WordText": "STAFF", "Left": 20.0, "Top": 880.0, "Height": 46.0, "Width": 121.0}, {"WordText": ":", "Left": 20.0, "Top": 880.0, "Height": 46.0, "Width": 121.0}, {"WordText": "nearl", "Left": 147.0, "Top": 880.0, "Height": 46.0, "Width": 115.0}, {"WordText": "joy", "Left": 267.0, "Top": 880.0, "Height": 46.0, "Width": 81.0}, {"WordText": "vererable", "Left": 353.0, "Top": 880.0, "Height": 46.0, "Width": 199.0}], "MaxHeight": 46.0, "MinTop": 880.0}, {"LineText": "NESTEALEMICETSDOML", "Words": [{"WordText": "NESTEALEMICETSDOML", "Left": 20.0, "Top": 984.0, "Height": 42.0, "Width": 387.0}], "MaxHeight": 42.0, "MinTop": 984.0}, {"LineText": "A TaGstrabryT200ml", "Words": [{"WordText": "A", "Left": 23.0, "Top": 1033.0, "Height": 45.0, "Width": 34.0}, {"WordText": "TaGstrabryT200ml", "Left": 62.0, "Top": 1033.0, "Height": 45.0, "Width": 341.0}], "MaxHeight": 45.0, "MinTop": 1033.0}, {"LineText": "35.000", "Words": [{"WordText": "35.000", "Left": 566.0, "Top": 981.0, "Height": 49.0, "Width": 137.0}], "MaxHeight": 49.0, "MinTop": 981.0}, {"LineText": "41.000", "Words": [{"WordText": "41.000", "Left": 569.0, "Top": 1032.0, "Height": 46.0, "Width": 134.0}], "MaxHeight": 46.0, "MinTop": 1032.0}, {"LineText": "Tatal 12", "Words": [{"WordText": "Tatal", "Left": 26.0, "Top": 1135.0, "Height": 47.0, "Width": 119.0}, {"WordText": "12", "Left": 149.0, "Top": 1137.0, "Height": 46.0, "Width": 62.0}], "MaxHeight": 49.0, "MinTop": 1135.0}, {"LineText": "CASH", "Words": [{"WordText": "CASH", "Left": 65.0, "Top": 1192.0, "Height": 39.0, "Width": 91.0}], "MaxHeight": 39.0, "MinTop": 1192.0}, {"LineText": "CHANGE", "Words": [{"WordText": "CHANGE", "Left": 65.0, "Top": 1240.0, "Height": 46.0, "Width": 134.0}], "MaxHeight": 46.0, "MinTop": 1240.0}, {"LineText": "76.000", "Words": [{"WordText": "76.000", "Left": 592.0, "Top": 1134.0, "Height": 49.0, "Width": 114.0}], "MaxHeight": 49.0, "MinTop": 1134.0}, {"LineText": "80.00", "Words": [{"WordText": "80.00", "Left": 588.0, "Top": 1189.0, "Height": 46.0, "Width": 114.0}], "MaxHeight": 46.0, "MinTop": 1189.0}, {"LineText": "4.00", "Words": [{"WordText": "4.00", "Left": 611.0, "Top": 1241.0, "Height": 45.0, "Width": 91.0}], "MaxHeight": 45.0, "MinTop": 1241.0}, {"LineText": "67.86", "Words": [{"WordText": "67.86", "Left": 591.0, "Top": 1338.0, "Height": 46.0, "Width": 114.0}], "MaxHeight": 46.0, "MinTop": 1338.0}, {"LineText": "8. 108", "Words": [{"WordText": "8", "Left": 611.0, "Top": 1390.0, "Height": 46.0, "Width": 40.0}, {"WordText": ".", "Left": 611.0, "Top": 1390.0, "Height": 46.0, "Width": 40.0}, {"WordText": "108", "Left": 657.0, "Top": 1390.0, "Height": 46.0, "Width": 48.0}], "MaxHeight": 46.0, "MinTop": 1390.0}, {"LineText": "0.00", "Words": [{"WordText": "0.00", "Left": 611.0, "Top": 1445.0, "Height": 43.0, "Width": 95.0}], "MaxHeight": 43.0, "MinTop": 1445.0}, {"LineText": "0.00", "Words": [{"WordText": "0.00", "Left": 611.0, "Top": 1494.0, "Height": 45.0, "Width": 94.0}], "MaxHeight": 45.0, "MinTop": 1494.0}, {"LineText": "JAT TaX", "Words": [{"WordText": "JAT", "Left": 68.0, "Top": 1396.0, "Height": 46.0, "Width": 68.0}, {"WordText": "TaX", "Left": 141.0, "Top": 1397.0, "Height": 47.0, "Width": 80.0}], "MaxHeight": 48.0, "MinTop": 1396.0}, {"LineText": "Zero Rated", "Words": [{"WordText": "Zero", "Left": 68.0, "Top": 1446.0, "Height": 56.0, "Width": 90.0}, {"WordText": "Rated", "Left": 164.0, "Top": 1444.0, "Height": 57.0, "Width": 122.0}], "MaxHeight": 58.0, "MinTop": 1444.0}, {"LineText": "WAT Exempted", "Words": [{"WordText": "WAT", "Left": 67.0, "Top": 1491.0, "Height": 55.0, "Width": 69.0}, {"WordText": "Exempted", "Left": 143.0, "Top": 1490.0, "Height": 56.0, "Width": 186.0}], "MaxHeight": 56.0, "MinTop": 1490.0}, {"LineText": "Sole To:", "Words": [{"WordText": "Sole", "Left": 26.0, "Top": 1601.0, "Height": 46.0, "Width": 98.0}, {"WordText": "To", "Left": 129.0, "Top": 1601.0, "Height": 46.0, "Width": 69.0}, {"WordText": ":", "Left": 130.0, "Top": 1601.0, "Height": 46.0, "Width": 69.0}], "MaxHeight": 46.0, "MinTop": 1601.0}, {"LineText": "Address:", "Words": [{"WordText": "Address", "Left": 29.0, "Top": 1707.0, "Height": 41.0, "Width": 169.0}, {"WordText": ":", "Left": 29.0, "Top": 1707.0, "Height": 41.0, "Width": 169.0}], "MaxHeight": 41.0, "MinTop": 1707.0}, {"LineText": "TIN:", "Words": [{"WordText": "TIN", "Left": 29.0, "Top": 1757.0, "Height": 42.0, "Width": 84.0}, {"WordText": ":", "Left": 29.0, "Top": 1757.0, "Height": 42.0, "Width": 84.0}], "MaxHeight": 42.0, "MinTop": 1757.0}, {"LineText": "Pr lippine Sever Corporation", "Words": [{"WordText": "Pr", "Left": 29.0, "Top": 1858.0, "Height": 45.0, "Width": 56.0}, {"WordText": "lippine", "Left": 91.0, "Top": 1858.0, "Height": 45.0, "Width": 157.0}, {"WordText": "Sever", "Left": 254.0, "Top": 1858.0, "Height": 45.0, "Width": 118.0}, {"WordText": "Corporation", "Left": 378.0, "Top": 1858.0, "Height": 45.0, "Width": 246.0}], "MaxHeight": 45.0, "MinTop": 1858.0}, {"LineText": "7th Floor The Columbia", "Words": [{"WordText": "7th", "Left": 29.0, "Top": 1910.0, "Height": 42.0, "Width": 73.0}, {"WordText": "Floor", "Left": 108.0, "Top": 1910.0, "Height": 42.0, "Width": 121.0}, {"WordText": "The", "Left": 234.0, "Top": 1910.0, "Height": 42.0, "Width": 79.0}, {"WordText": "Columbia", "Left": 318.0, "Top": 1910.0, "Height": 42.0, "Width": 179.0}], "MaxHeight": 42.0, "MinTop": 1910.0}, {"LineText": "Ortizas Avenue, Manda luyou", "Words": [{"WordText": "Ortizas", "Left": 49.0, "Top": 1958.0, "Height": 49.0, "Width": 160.0}, {"WordText": "Avenue", "Left": 214.0, "Top": 1958.0, "Height": 49.0, "Width": 159.0}, {"WordText": ",", "Left": 214.0, "Top": 1958.0, "Height": 49.0, "Width": 159.0}, {"WordText": "Manda", "Left": 380.0, "Top": 1958.0, "Height": 49.0, "Width": 110.0}, {"WordText": "luyou", "Left": 496.0, "Top": 1958.0, "Height": 49.0, "Width": 128.0}], "MaxHeight": 49.0, "MinTop": 1958.0}, {"LineText": "TIN: 000-390-189-000", "Words": [{"WordText": "TIN", "Left": 33.0, "Top": 2062.0, "Height": 46.0, "Width": 92.0}, {"WordText": ":", "Left": 33.0, "Top": 2062.0, "Height": 46.0, "Width": 92.0}, {"WordText": "000", "Left": 131.0, "Top": 2062.0, "Height": 46.0, "Width": 328.0}, {"WordText": "-", "Left": 131.0, "Top": 2062.0, "Height": 46.0, "Width": 328.0}, {"WordText": "390", "Left": 131.0, "Top": 2062.0, "Height": 46.0, "Width": 328.0}, {"WordText": "-", "Left": 131.0, "Top": 2062.0, "Height": 46.0, "Width": 328.0}, {"WordText": "189", "Left": 131.0, "Top": 2062.0, "Height": 46.0, "Width": 328.0}, {"WordText": "-", "Left": 131.0, "Top": 2062.0, "Height": 46.0, "Width": 328.0}, {"WordText": "000", "Left": 131.0, "Top": 2062.0, "Height": 46.0, "Width": 328.0}], "MaxHeight": 46.0, "MinTop": 2062.0}, {"LineText": "BER ACCI N", "Words": [{"WordText": "BER", "Left": 29.0, "Top": 2114.0, "Height": 46.0, "Width": 73.0}, {"WordText": "ACCI", "Left": 108.0, "Top": 2114.0, "Height": 46.0, "Width": 102.0}, {"WordText": "N", "Left": 215.0, "Top": 2115.0, "Height": 46.0, "Width": 32.0}], "MaxHeight": 47.0, "MinTop": 2114.0}, {"LineText": "116 200390189-000346-19602", "Words": [{"WordText": "116", "Left": 52.0, "Top": 2163.0, "Height": 46.0, "Width": 75.0}, {"WordText": "200390189", "Left": 132.0, "Top": 2163.0, "Height": 46.0, "Width": 472.0}, {"WordText": "-", "Left": 133.0, "Top": 2163.0, "Height": 46.0, "Width": 472.0}, {"WordText": "000346", "Left": 132.0, "Top": 2163.0, "Height": 46.0, "Width": 472.0}, {"WordText": "-", "Left": 133.0, "Top": 2163.0, "Height": 46.0, "Width": 472.0}, {"WordText": "19602", "Left": 132.0, "Top": 2163.0, "Height": 46.0, "Width": 472.0}], "MaxHeight": 46.0, "MinTop": 2163.0}, {"LineText": "Accrate: 08/01/2020 -", "Words": [{"WordText": "Accrate", "Left": 33.0, "Top": 2212.0, "Height": 52.0, "Width": 195.0}, {"WordText": ":", "Left": 33.0, "Top": 2212.0, "Height": 52.0, "Width": 195.0}, {"WordText": "08", "Left": 234.0, "Top": 2212.0, "Height": 52.0, "Width": 227.0}, {"WordText": "/", "Left": 234.0, "Top": 2212.0, "Height": 52.0, "Width": 227.0}, {"WordText": "01", "Left": 234.0, "Top": 2212.0, "Height": 52.0, "Width": 227.0}, {"WordText": "/", "Left": 234.0, "Top": 2212.0, "Height": 52.0, "Width": 227.0}, {"WordText": "2020", "Left": 234.0, "Top": 2212.0, "Height": 52.0, "Width": 227.0}, {"WordText": "-", "Left": 468.0, "Top": 2212.0, "Height": 52.0, "Width": 35.0}], "MaxHeight": 52.0, "MinTop": 2212.0}, {"LineText": "07/31/2025", "Words": [{"WordText": "07", "Left": 52.0, "Top": 2270.0, "Height": 43.0, "Width": 218.0}, {"WordText": "/", "Left": 52.0, "Top": 2270.0, "Height": 43.0, "Width": 218.0}, {"WordText": "31", "Left": 52.0, "Top": 2270.0, "Height": 43.0, "Width": 218.0}, {"WordText": "/", "Left": 52.0, "Top": 2270.0, "Height": 43.0, "Width": 218.0}, {"WordText": "2025", "Left": 52.0, "Top": 2270.0, "Height": 43.0, "Width": 218.0}], "MaxHeight": 43.0, "MinTop": 2270.0}, {"LineText": "Permit i:", "Words": [{"WordText": "Permit", "Left": 29.0, "Top": 2322.0, "Height": 46.0, "Width": 141.0}, {"WordText": "i", "Left": 175.0, "Top": 2322.0, "Height": 45.0, "Width": 49.0}, {"WordText": ":", "Left": 175.0, "Top": 2322.0, "Height": 45.0, "Width": 49.0}], "MaxHeight": 46.0, "MinTop": 2322.0}, {"LineText": "F211 2018-074-0194655-00002", "Words": [{"WordText": "F211", "Left": 52.0, "Top": 2371.0, "Height": 45.0, "Width": 79.0}, {"WordText": "2018", "Left": 136.0, "Top": 2371.0, "Height": 45.0, "Width": 471.0}, {"WordText": "-", "Left": 136.0, "Top": 2371.0, "Height": 45.0, "Width": 471.0}, {"WordText": "074", "Left": 136.0, "Top": 2371.0, "Height": 45.0, "Width": 471.0}, {"WordText": "-", "Left": 136.0, "Top": 2371.0, "Height": 45.0, "Width": 471.0}, {"WordText": "0194655", "Left": 136.0, "Top": 2371.0, "Height": 45.0, "Width": 471.0}, {"WordText": "-", "Left": 136.0, "Top": 2371.0, "Height": 45.0, "Width": 471.0}, {"WordText": "00002", "Left": 136.0, "Top": 2371.0, "Height": 45.0, "Width": 471.0}], "MaxHeight": 45.0, "MinTop": 2371.0}, {"LineText": "Get a chance to win a trip for", "Words": [{"WordText": "Get", "Left": 13.0, "Top": 2478.0, "Height": 49.0, "Width": 116.0}, {"WordText": "a", "Left": 136.0, "Top": 2478.0, "Height": 49.0, "Width": 31.0}, {"WordText": "chance", "Left": 172.0, "Top": 2478.0, "Height": 49.0, "Width": 141.0}, {"WordText": "to", "Left": 319.0, "Top": 2478.0, "Height": 49.0, "Width": 61.0}, {"WordText": "win", "Left": 387.0, "Top": 2478.0, "Height": 49.0, "Width": 80.0}, {"WordText": "a", "Left": 472.0, "Top": 2478.0, "Height": 49.0, "Width": 31.0}, {"WordText": "trip", "Left": 509.0, "Top": 2478.0, "Height": 49.0, "Width": 104.0}, {"WordText": "for", "Left": 619.0, "Top": 2478.0, "Height": 49.0, "Width": 70.0}], "MaxHeight": 49.0, "MinTop": 2478.0}, {"LineText": "2 to Korea when you buy P150", "Words": [{"WordText": "2", "Left": 72.0, "Top": 2524.0, "Height": 45.0, "Width": 40.0}, {"WordText": "to", "Left": 117.0, "Top": 2524.0, "Height": 45.0, "Width": 51.0}, {"WordText": "Korea", "Left": 173.0, "Top": 2524.0, "Height": 45.0, "Width": 124.0}, {"WordText": "when", "Left": 303.0, "Top": 2524.0, "Height": 45.0, "Width": 101.0}, {"WordText": "you", "Left": 410.0, "Top": 2524.0, "Height": 45.0, "Width": 73.0}, {"WordText": "buy", "Left": 488.0, "Top": 2524.0, "Height": 45.0, "Width": 79.0}, {"WordText": "P150", "Left": 573.0, "Top": 2524.0, "Height": 45.0, "Width": 97.0}], "MaxHeight": 45.0, "MinTop": 2524.0}, {"LineText": "word of 7-fleven items. Ear", "Words": [{"WordText": "word", "Left": 55.0, "Top": 2572.0, "Height": 49.0, "Width": 116.0}, {"WordText": "of", "Left": 178.0, "Top": 2572.0, "Height": 49.0, "Width": 55.0}, {"WordText": "7", "Left": 239.0, "Top": 2572.0, "Height": 49.0, "Width": 184.0}, {"WordText": "-", "Left": 239.0, "Top": 2572.0, "Height": 49.0, "Width": 184.0}, {"WordText": "fleven", "Left": 239.0, "Top": 2572.0, "Height": 49.0, "Width": 184.0}, {"WordText": "items", "Left": 429.0, "Top": 2572.0, "Height": 49.0, "Width": 141.0}, {"WordText": ".", "Left": 429.0, "Top": 2572.0, "Height": 49.0, "Width": 141.0}, {"WordText": "Ear", "Left": 576.0, "Top": 2572.0, "Height": 49.0, "Width": 97.0}], "MaxHeight": 49.0, "MinTop": 2572.0}, {"LineText": "3 eRattle entries when you buy", "Words": [{"WordText": "3", "Left": 55.0, "Top": 2628.0, "Height": 45.0, "Width": 34.0}, {"WordText": "eRattle", "Left": 94.0, "Top": 2628.0, "Height": 45.0, "Width": 163.0}, {"WordText": "entries", "Left": 263.0, "Top": 2628.0, "Height": 45.0, "Width": 157.0}, {"WordText": "when", "Left": 426.0, "Top": 2628.0, "Height": 45.0, "Width": 101.0}, {"WordText": "you", "Left": 533.0, "Top": 2628.0, "Height": 45.0, "Width": 79.0}, {"WordText": "buy", "Left": 618.0, "Top": 2628.0, "Height": 45.0, "Width": 75.0}], "MaxHeight": 45.0, "MinTop": 2628.0}, {"LineText": "discounted booster items. Per", "Words": [{"WordText": "discounted", "Left": 55.0, "Top": 2676.0, "Height": 52.0, "Width": 221.0}, {"WordText": "booster", "Left": 282.0, "Top": 2676.0, "Height": 52.0, "Width": 162.0}, {"WordText": "items", "Left": 451.0, "Top": 2676.0, "Height": 52.0, "Width": 136.0}, {"WordText": ".", "Left": 451.0, "Top": 2676.0, "Height": 52.0, "Width": 136.0}, {"WordText": "Per", "Left": 594.0, "Top": 2676.0, "Height": 52.0, "Width": 78.0}], "MaxHeight": 52.0, "MinTop": 2676.0}, {"LineText": "DTI FAIR TRADE Permit Number:", "Words": [{"WordText": "DTI", "Left": 55.0, "Top": 2731.0, "Height": 46.0, "Width": 74.0}, {"WordText": "FAIR", "Left": 136.0, "Top": 2731.0, "Height": 46.0, "Width": 98.0}, {"WordText": "TRADE", "Left": 239.0, "Top": 2731.0, "Height": 46.0, "Width": 121.0}, {"WordText": "Permit", "Left": 366.0, "Top": 2731.0, "Height": 46.0, "Width": 144.0}, {"WordText": "Number", "Left": 515.0, "Top": 2731.0, "Height": 46.0, "Width": 154.0}, {"WordText": ":", "Left": 515.0, "Top": 2731.0, "Height": 46.0, "Width": 154.0}], "MaxHeight": 46.0, "MinTop": 2731.0}, {"LineText": "163019 Series of 2023.", "Words": [{"WordText": "163019", "Left": 137.0, "Top": 2780.0, "Height": 49.0, "Width": 141.0}, {"WordText": "Series", "Left": 284.0, "Top": 2780.0, "Height": 49.0, "Width": 141.0}, {"WordText": "of", "Left": 431.0, "Top": 2780.0, "Height": 49.0, "Width": 55.0}, {"WordText": "2023", "Left": 492.0, "Top": 2780.0, "Height": 49.0, "Width": 115.0}, {"WordText": ".", "Left": 492.0, "Top": 2780.0, "Height": 49.0, "Width": 115.0}], "MaxHeight": 49.0, "MinTop": 2780.0}, {"LineText": "facebook com 711philippines.", "Words": [{"WordText": "facebook", "Left": 81.0, "Top": 2832.0, "Height": 49.0, "Width": 177.0}, {"WordText": "com", "Left": 265.0, "Top": 2832.0, "Height": 49.0, "Width": 80.0}, {"WordText": "711philippines", "Left": 350.0, "Top": 2832.0, "Height": 49.0, "Width": 322.0}, {"WordText": ".", "Left": 351.0, "Top": 2832.0, "Height": 49.0, "Width": 322.0}], "MaxHeight": 49.0, "MinTop": 2832.0}, {"LineText": "- THIS IS AN OFFICIAL RECEIPT -", "Words": [{"WordText": "-", "Left": 33.0, "Top": 2933.0, "Height": 49.0, "Width": 37.0}, {"WordText": "THIS", "Left": 76.0, "Top": 2933.0, "Height": 49.0, "Width": 98.0}, {"WordText": "IS", "Left": 180.0, "Top": 2933.0, "Height": 49.0, "Width": 55.0}, {"WordText": "AN", "Left": 241.0, "Top": 2933.0, "Height": 49.0, "Width": 55.0}, {"WordText": "OFFICIAL", "Left": 303.0, "Top": 2933.0, "Height": 49.0, "Width": 184.0}, {"WordText": "RECEIPT", "Left": 492.0, "Top": 2933.0, "Height": 49.0, "Width": 165.0}, {"WordText": "-", "Left": 664.0, "Top": 2933.0, "Height": 49.0, "Width": 35.0}], "MaxHeight": 49.0, "MinTop": 2933.0}], "HasOverlay": true}, "TextOrientation": "0", "FileParseExitCode": 1, "ParsedText": "BHu Convenience Store\nOrned & Uperated by: Nancy A.\nC1 inacosa\nVAIRSGTIN 0333-698-685-002\nPoblacion, Leon, Iloila.\nPhilippines\nTEl H: NULL\n05/00/2023 tons 06:54:23\nROPT 11457229\nRCPT CNTIO\nSTORE #3058\nSNI: NTI43167\nMEN 1: 18112011091411050\nSTAFF: nearl joy vererable\nNESTEALEMICETSDOML\nA TaGstrabryT200ml\n35.000\n41.000\nTatal 12\nCASH\nCHANGE\n76.000\n80.00\n4.00\n67.86\n8. 108\n0.00\n0.00\nJAT TaX\nZero Rated\nWAT Exempted\nSole To:\nAddress:\nTIN:\nPr lippine Sever Corporation\n7th Floor The Columbia\nOrtizas Avenue, Manda luyou\nTIN: 000-390-189-000\nBER ACCI N\n116 200390189-000346-19602\nAccrate: 08/01/2020 -\n07/31/2025\nPermit i:\nF211 2018-074-0194655-00002\nGet a chance to win a trip for\n2 to Korea when you buy P150\nword of 7-fleven items. Ear\n3 eRattle entries when you buy\ndiscounted booster items. Per\nDTI FAIR TRADE Permit Number:\n163019 Series of 2023.\nfacebook com 711philippines.\n- THIS IS AN OFFICIAL RECEIPT -", "ErrorMessage": "", "ErrorDetails": ""}], "OCRExitCode": 1, "IsErroredOnProcessing": false, "ProcessingTimeInMilliseconds": "656", "SearchablePDFURL": "Searchable PDF not generated as it was not requested."}
static/temp/sample_711_preprocessed.jpg ADDED
static/temp/sample_coop_ocr.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"ParsedResults": [{"TextOverlay": {"Lines": [{"LineText": "BVSU Multi Purpose Cooperative", "Words": [{"WordText": "BVSU", "Left": 207.0, "Top": 53.0, "Height": 49.0, "Width": 92.0}, {"WordText": "Multi", "Left": 305.0, "Top": 53.0, "Height": 49.0, "Width": 122.0}, {"WordText": "Purpose", "Left": 434.0, "Top": 53.0, "Height": 49.0, "Width": 159.0}, {"WordText": "Cooperative", "Left": 599.0, "Top": 53.0, "Height": 49.0, "Width": 247.0}], "MaxHeight": 49.0, "MinTop": 53.0}, {"LineText": "Luna Street Lapaz", "Words": [{"WordText": "Luna", "Left": 331.0, "Top": 105.0, "Height": 49.0, "Width": 104.0}, {"WordText": "Street", "Left": 441.0, "Top": 105.0, "Height": 49.0, "Width": 147.0}, {"WordText": "Lapaz", "Left": 594.0, "Top": 105.0, "Height": 49.0, "Width": 111.0}], "MaxHeight": 49.0, "MinTop": 105.0}, {"LineText": "Iloslo City", "Words": [{"WordText": "Iloslo", "Left": 403.0, "Top": 158.0, "Height": 50.0, "Width": 141.0}, {"WordText": "City", "Left": 550.0, "Top": 157.0, "Height": 50.0, "Width": 93.0}], "MaxHeight": 50.0, "MinTop": 157.0}, {"LineText": "By: WVSU MPC", "Words": [{"WordText": "By", "Left": 403.0, "Top": 210.0, "Height": 50.0, "Width": 62.0}, {"WordText": ":", "Left": 403.0, "Top": 210.0, "Height": 50.0, "Width": 62.0}, {"WordText": "WVSU", "Left": 472.0, "Top": 210.0, "Height": 50.0, "Width": 87.0}, {"WordText": "MPC", "Left": 566.0, "Top": 210.0, "Height": 50.0, "Width": 77.0}], "MaxHeight": 50.0, "MinTop": 210.0}, {"LineText": "VAT TIN NO. :000-000-000-000", "Words": [{"WordText": "VAT", "Left": 236.0, "Top": 263.0, "Height": 49.0, "Width": 73.0}, {"WordText": "TIN", "Left": 316.0, "Top": 263.0, "Height": 49.0, "Width": 80.0}, {"WordText": "NO", "Left": 401.0, "Top": 263.0, "Height": 49.0, "Width": 67.0}, {"WordText": ".", "Left": 401.0, "Top": 263.0, "Height": 49.0, "Width": 67.0}, {"WordText": ":", "Left": 475.0, "Top": 263.0, "Height": 49.0, "Width": 339.0}, {"WordText": "000", "Left": 475.0, "Top": 263.0, "Height": 49.0, "Width": 339.0}, {"WordText": "-", "Left": 475.0, "Top": 263.0, "Height": 49.0, "Width": 339.0}, {"WordText": "000", "Left": 475.0, "Top": 263.0, "Height": 49.0, "Width": 339.0}, {"WordText": "-", "Left": 475.0, "Top": 263.0, "Height": 49.0, "Width": 339.0}, {"WordText": "000", "Left": 475.0, "Top": 263.0, "Height": 49.0, "Width": 339.0}, {"WordText": "-", "Left": 475.0, "Top": 263.0, "Height": 49.0, "Width": 339.0}, {"WordText": "000", "Left": 475.0, "Top": 263.0, "Height": 49.0, "Width": 339.0}], "MaxHeight": 49.0, "MinTop": 263.0}, {"LineText": "Serial. No. WIES7WS", "Words": [{"WordText": "Serial", "Left": 308.0, "Top": 315.0, "Height": 50.0, "Width": 156.0}, {"WordText": ".", "Left": 308.0, "Top": 315.0, "Height": 50.0, "Width": 156.0}, {"WordText": "No", "Left": 471.0, "Top": 315.0, "Height": 50.0, "Width": 69.0}, {"WordText": ".", "Left": 471.0, "Top": 315.0, "Height": 50.0, "Width": 69.0}, {"WordText": "WIES7WS", "Left": 546.0, "Top": 315.0, "Height": 50.0, "Width": 192.0}], "MaxHeight": 50.0, "MinTop": 315.0}, {"LineText": "Mach ID: 000000000000000000", "Words": [{"WordText": "Mach", "Left": 246.0, "Top": 368.0, "Height": 49.0, "Width": 98.0}, {"WordText": "ID", "Left": 350.0, "Top": 368.0, "Height": 49.0, "Width": 67.0}, {"WordText": ":", "Left": 350.0, "Top": 368.0, "Height": 49.0, "Width": 67.0}, {"WordText": "000000000000000000", "Left": 424.0, "Top": 368.0, "Height": 49.0, "Width": 377.0}], "MaxHeight": 49.0, "MinTop": 368.0}, {"LineText": "000036410", "Words": [{"WordText": "000036410", "Left": 266.0, "Top": 420.0, "Height": 44.0, "Width": 200.0}], "MaxHeight": 44.0, "MinTop": 420.0}, {"LineText": "10-25-2023", "Words": [{"WordText": "10", "Left": 269.0, "Top": 472.0, "Height": 48.0, "Width": 217.0}, {"WordText": "-", "Left": 269.0, "Top": 472.0, "Height": 48.0, "Width": 217.0}, {"WordText": "25", "Left": 269.0, "Top": 472.0, "Height": 48.0, "Width": 217.0}, {"WordText": "-", "Left": 269.0, "Top": 472.0, "Height": 48.0, "Width": 217.0}, {"WordText": "2023", "Left": 269.0, "Top": 472.0, "Height": 48.0, "Width": 217.0}], "MaxHeight": 48.0, "MinTop": 472.0}, {"LineText": "Time", "Words": [{"WordText": "Time", "Left": 581.0, "Top": 473.0, "Height": 46.0, "Width": 95.0}], "MaxHeight": 46.0, "MinTop": 473.0}, {"LineText": "gampay", "Words": [{"WordText": "gampay", "Left": 266.0, "Top": 532.0, "Height": 39.0, "Width": 134.0}], "MaxHeight": 39.0, "MinTop": 532.0}, {"LineText": "Invoice d", "Words": [{"WordText": "Invoice", "Left": 16.0, "Top": 420.0, "Height": 44.0, "Width": 158.0}, {"WordText": "d", "Left": 179.0, "Top": 420.0, "Height": 43.0, "Width": 34.0}], "MaxHeight": 44.0, "MinTop": 420.0}, {"LineText": "Date", "Words": [{"WordText": "Date", "Left": 16.0, "Top": 473.0, "Height": 43.0, "Width": 92.0}], "MaxHeight": 43.0, "MinTop": 473.0}, {"LineText": "Cashier", "Words": [{"WordText": "Cashier", "Left": 16.0, "Top": 525.0, "Height": 44.0, "Width": 155.0}], "MaxHeight": 44.0, "MinTop": 525.0}, {"LineText": "Sold TO:", "Words": [{"WordText": "Sold", "Left": 16.0, "Top": 575.0, "Height": 49.0, "Width": 98.0}, {"WordText": "TO", "Left": 120.0, "Top": 575.0, "Height": 49.0, "Width": 70.0}, {"WordText": ":", "Left": 120.0, "Top": 575.0, "Height": 49.0, "Width": 70.0}], "MaxHeight": 49.0, "MinTop": 575.0}, {"LineText": "Bus. Name:", "Words": [{"WordText": "Bus", "Left": 16.0, "Top": 631.0, "Height": 47.0, "Width": 91.0}, {"WordText": ".", "Left": 16.0, "Top": 631.0, "Height": 47.0, "Width": 91.0}, {"WordText": "Name", "Left": 112.0, "Top": 629.0, "Height": 48.0, "Width": 118.0}, {"WordText": ":", "Left": 112.0, "Top": 629.0, "Height": 47.0, "Width": 118.0}], "MaxHeight": 49.0, "MinTop": 629.0}, {"LineText": "TIN:", "Words": [{"WordText": "TIN", "Left": 16.0, "Top": 682.0, "Height": 45.0, "Width": 103.0}, {"WordText": ":", "Left": 16.0, "Top": 682.0, "Height": 45.0, "Width": 103.0}], "MaxHeight": 45.0, "MinTop": 682.0}, {"LineText": "Address:", "Words": [{"WordText": "Address", "Left": 13.0, "Top": 729.0, "Height": 53.0, "Width": 174.0}, {"WordText": ":", "Left": 13.0, "Top": 729.0, "Height": 53.0, "Width": 174.0}], "MaxHeight": 53.0, "MinTop": 729.0}, {"LineText": "QTV", "Words": [{"WordText": "QTV", "Left": 16.0, "Top": 838.0, "Height": 46.0, "Width": 79.0}], "MaxHeight": 46.0, "MinTop": 838.0}, {"LineText": "DESC", "Words": [{"WordText": "DESC", "Left": 95.0, "Top": 837.0, "Height": 43.0, "Width": 115.0}], "MaxHeight": 43.0, "MinTop": 837.0}, {"LineText": "COXE 195ML", "Words": [{"WordText": "COXE", "Left": 92.0, "Top": 943.0, "Height": 43.0, "Width": 126.0}, {"WordText": "195ML", "Left": 223.0, "Top": 943.0, "Height": 43.0, "Width": 111.0}], "MaxHeight": 43.0, "MinTop": 943.0}, {"LineText": "Net Of VAT", "Words": [{"WordText": "Net", "Left": 16.0, "Top": 1048.0, "Height": 46.0, "Width": 73.0}, {"WordText": "Of", "Left": 95.0, "Top": 1048.0, "Height": 45.0, "Width": 56.0}, {"WordText": "VAT", "Left": 157.0, "Top": 1048.0, "Height": 46.0, "Width": 76.0}], "MaxHeight": 46.0, "MinTop": 1048.0}, {"LineText": "Total Que", "Words": [{"WordText": "Total", "Left": 16.0, "Top": 1097.0, "Height": 50.0, "Width": 110.0}, {"WordText": "Que", "Left": 133.0, "Top": 1097.0, "Height": 50.0, "Width": 81.0}], "MaxHeight": 50.0, "MinTop": 1097.0}, {"LineText": "Cash Payment", "Words": [{"WordText": "Cash", "Left": 13.0, "Top": 1204.0, "Height": 47.0, "Width": 96.0}, {"WordText": "Payment", "Left": 114.0, "Top": 1205.0, "Height": 48.0, "Width": 158.0}], "MaxHeight": 49.0, "MinTop": 1204.0}, {"LineText": "Sold To:", "Words": [{"WordText": "Sold", "Left": 13.0, "Top": 1307.0, "Height": 50.0, "Width": 100.0}, {"WordText": "To", "Left": 119.0, "Top": 1307.0, "Height": 50.0, "Width": 68.0}, {"WordText": ":", "Left": 119.0, "Top": 1307.0, "Height": 50.0, "Width": 68.0}], "MaxHeight": 50.0, "MinTop": 1307.0}, {"LineText": "Bus. Name:", "Words": [{"WordText": "Bus", "Left": 13.0, "Top": 1362.0, "Height": 50.0, "Width": 92.0}, {"WordText": ".", "Left": 13.0, "Top": 1362.0, "Height": 50.0, "Width": 92.0}, {"WordText": "Name", "Left": 111.0, "Top": 1363.0, "Height": 50.0, "Width": 119.0}, {"WordText": ":", "Left": 111.0, "Top": 1363.0, "Height": 50.0, "Width": 119.0}], "MaxHeight": 51.0, "MinTop": 1362.0}, {"LineText": "TIN:", "Words": [{"WordText": "TIN", "Left": 16.0, "Top": 1416.0, "Height": 46.0, "Width": 89.0}, {"WordText": ":", "Left": 16.0, "Top": 1416.0, "Height": 46.0, "Width": 89.0}], "MaxHeight": 46.0, "MinTop": 1416.0}, {"LineText": "Address:", "Words": [{"WordText": "Address", "Left": 16.0, "Top": 1465.0, "Height": 54.0, "Width": 174.0}, {"WordText": ":", "Left": 16.0, "Top": 1465.0, "Height": 54.0, "Width": 174.0}], "MaxHeight": 54.0, "MinTop": 1465.0}, {"LineText": "01:29:49 PM", "Words": [{"WordText": "01", "Left": 790.0, "Top": 472.0, "Height": 48.0, "Width": 186.0}, {"WordText": ":", "Left": 790.0, "Top": 472.0, "Height": 48.0, "Width": 186.0}, {"WordText": "29", "Left": 790.0, "Top": 472.0, "Height": 48.0, "Width": 186.0}, {"WordText": ":", "Left": 790.0, "Top": 472.0, "Height": 48.0, "Width": 186.0}, {"WordText": "49", "Left": 790.0, "Top": 472.0, "Height": 48.0, "Width": 186.0}, {"WordText": "PM", "Left": 981.0, "Top": 472.0, "Height": 47.0, "Width": 52.0}], "MaxHeight": 48.0, "MinTop": 472.0}, {"LineText": "Total", "Words": [{"WordText": "Total", "Left": 879.0, "Top": 841.0, "Height": 46.0, "Width": 118.0}], "MaxHeight": 46.0, "MinTop": 841.0}, {"LineText": "13.00", "Words": [{"WordText": "13.00", "Left": 876.0, "Top": 946.0, "Height": 46.0, "Width": 115.0}], "MaxHeight": 46.0, "MinTop": 946.0}, {"LineText": "18.61", "Words": [{"WordText": "18.61", "Left": 331.0, "Top": 1048.0, "Height": 49.0, "Width": 108.0}], "MaxHeight": 49.0, "MinTop": 1048.0}, {"LineText": "13.00", "Words": [{"WordText": "13.00", "Left": 331.0, "Top": 1100.0, "Height": 49.0, "Width": 112.0}], "MaxHeight": 49.0, "MinTop": 1100.0}, {"LineText": "20.00", "Words": [{"WordText": "20.00", "Left": 328.0, "Top": 1206.0, "Height": 49.0, "Width": 115.0}], "MaxHeight": 49.0, "MinTop": 1206.0}, {"LineText": "VAT Amt", "Words": [{"WordText": "VAT", "Left": 561.0, "Top": 1051.0, "Height": 43.0, "Width": 75.0}, {"WordText": "Amt", "Left": 642.0, "Top": 1051.0, "Height": 43.0, "Width": 70.0}], "MaxHeight": 43.0, "MinTop": 1051.0}, {"LineText": "Total Que", "Words": [{"WordText": "Total", "Left": 561.0, "Top": 1100.0, "Height": 50.0, "Width": 119.0}, {"WordText": "Que", "Left": 686.0, "Top": 1100.0, "Height": 50.0, "Width": 68.0}], "MaxHeight": 50.0, "MinTop": 1100.0}, {"LineText": "Change", "Words": [{"WordText": "Change", "Left": 561.0, "Top": 1205.0, "Height": 51.0, "Width": 132.0}], "MaxHeight": 51.0, "MinTop": 1205.0}, {"LineText": "7.00", "Words": [{"WordText": "7.00", "Left": 833.0, "Top": 1205.0, "Height": 51.0, "Width": 93.0}], "MaxHeight": 51.0, "MinTop": 1205.0}, {"LineText": "Tr 8: 000036513", "Words": [{"WordText": "Tr", "Left": 371.0, "Top": 1521.0, "Height": 46.0, "Width": 52.0}, {"WordText": "8", "Left": 429.0, "Top": 1521.0, "Height": 46.0, "Width": 46.0}, {"WordText": ":", "Left": 429.0, "Top": 1521.0, "Height": 46.0, "Width": 46.0}, {"WordText": "000036513", "Left": 480.0, "Top": 1521.0, "Height": 46.0, "Width": 192.0}], "MaxHeight": 46.0, "MinTop": 1521.0}, {"LineText": "SUPPLIER : AVAMICA COMPUTER TECHNOLOGIES", "Words": [{"WordText": "SUPPLIER", "Left": 10.0, "Top": 1623.0, "Height": 53.0, "Width": 176.0}, {"WordText": ":", "Left": 192.0, "Top": 1623.0, "Height": 52.0, "Width": 13.0}, {"WordText": "AVAMICA", "Left": 211.0, "Top": 1623.0, "Height": 52.0, "Width": 149.0}, {"WordText": "COMPUTER", "Left": 367.0, "Top": 1623.0, "Height": 52.0, "Width": 182.0}, {"WordText": "TECHNOLOGIES", "Left": 556.0, "Top": 1623.0, "Height": 53.0, "Width": 264.0}], "MaxHeight": 53.0, "MinTop": 1623.0}, {"LineText": "ADDRESS :BLK. 20 LOT 55 DECA HOMES", "Words": [{"WordText": "ADDRESS", "Left": 13.0, "Top": 1675.0, "Height": 50.0, "Width": 169.0}, {"WordText": ":", "Left": 188.0, "Top": 1675.0, "Height": 50.0, "Width": 94.0}, {"WordText": "BLK", "Left": 188.0, "Top": 1675.0, "Height": 50.0, "Width": 94.0}, {"WordText": ".", "Left": 188.0, "Top": 1675.0, "Height": 50.0, "Width": 94.0}, {"WordText": "20", "Left": 288.0, "Top": 1675.0, "Height": 50.0, "Width": 56.0}, {"WordText": "LOT", "Left": 351.0, "Top": 1675.0, "Height": 50.0, "Width": 75.0}, {"WordText": "55", "Left": 432.0, "Top": 1675.0, "Height": 50.0, "Width": 56.0}, {"WordText": "DECA", "Left": 494.0, "Top": 1675.0, "Height": 50.0, "Width": 100.0}, {"WordText": "HOMES", "Left": 600.0, "Top": 1675.0, "Height": 50.0, "Width": 115.0}], "MaxHeight": 50.0, "MinTop": 1675.0}, {"LineText": "PANDAC PAVIA ILOILO", "Words": [{"WordText": "PANDAC", "Left": 200.0, "Top": 1728.0, "Height": 46.0, "Width": 138.0}, {"WordText": "PAVIA", "Left": 344.0, "Top": 1728.0, "Height": 46.0, "Width": 126.0}, {"WordText": "ILOILO", "Left": 476.0, "Top": 1728.0, "Height": 46.0, "Width": 134.0}], "MaxHeight": 46.0, "MinTop": 1728.0}, {"LineText": "TIN M", "Words": [{"WordText": "TIN", "Left": 13.0, "Top": 1780.0, "Height": 43.0, "Width": 70.0}, {"WordText": "M", "Left": 88.0, "Top": 1780.0, "Height": 43.0, "Width": 40.0}], "MaxHeight": 43.0, "MinTop": 1780.0}, {"LineText": ":944185225-000", "Words": [{"WordText": ":", "Left": 184.0, "Top": 1780.0, "Height": 46.0, "Width": 302.0}, {"WordText": "944185225", "Left": 184.0, "Top": 1780.0, "Height": 46.0, "Width": 302.0}, {"WordText": "-", "Left": 184.0, "Top": 1780.0, "Height": 46.0, "Width": 302.0}, {"WordText": "000", "Left": 184.0, "Top": 1780.0, "Height": 46.0, "Width": 302.0}], "MaxHeight": 46.0, "MinTop": 1780.0}, {"LineText": "Accred. #: 00000000000", "Words": [{"WordText": "Accred", "Left": 13.0, "Top": 1833.0, "Height": 46.0, "Width": 144.0}, {"WordText": ".", "Left": 13.0, "Top": 1833.0, "Height": 46.0, "Width": 144.0}, {"WordText": "#:", "Left": 163.0, "Top": 1833.0, "Height": 46.0, "Width": 40.0}, {"WordText": "00000000000", "Left": 209.0, "Top": 1833.0, "Height": 46.0, "Width": 234.0}], "MaxHeight": 46.0, "MinTop": 1833.0}, {"LineText": "05/08/2015-07/31/2025", "Words": [{"WordText": "05", "Left": 13.0, "Top": 1886.0, "Height": 46.0, "Width": 449.0}, {"WordText": "/", "Left": 13.0, "Top": 1886.0, "Height": 46.0, "Width": 449.0}, {"WordText": "08", "Left": 13.0, "Top": 1886.0, "Height": 46.0, "Width": 449.0}, {"WordText": "/", "Left": 13.0, "Top": 1886.0, "Height": 46.0, "Width": 449.0}, {"WordText": "2015", "Left": 13.0, "Top": 1886.0, "Height": 46.0, "Width": 449.0}, {"WordText": "-", "Left": 13.0, "Top": 1886.0, "Height": 46.0, "Width": 449.0}, {"WordText": "07", "Left": 13.0, "Top": 1886.0, "Height": 46.0, "Width": 449.0}, {"WordText": "/", "Left": 13.0, "Top": 1886.0, "Height": 46.0, "Width": 449.0}, {"WordText": "31", "Left": 13.0, "Top": 1886.0, "Height": 46.0, "Width": 449.0}, {"WordText": "/", "Left": 13.0, "Top": 1886.0, "Height": 46.0, "Width": 449.0}, {"WordText": "2025", "Left": 13.0, "Top": 1886.0, "Height": 46.0, "Width": 449.0}], "MaxHeight": 46.0, "MinTop": 1886.0}, {"LineText": "Pernit #:FP0-0000000-00000", "Words": [{"WordText": "Pernit", "Left": 10.0, "Top": 1938.0, "Height": 49.0, "Width": 141.0}, {"WordText": "#:", "Left": 157.0, "Top": 1938.0, "Height": 49.0, "Width": 410.0}, {"WordText": "FP0", "Left": 157.0, "Top": 1938.0, "Height": 49.0, "Width": 410.0}, {"WordText": "-", "Left": 157.0, "Top": 1938.0, "Height": 49.0, "Width": 410.0}, {"WordText": "0000000", "Left": 157.0, "Top": 1938.0, "Height": 49.0, "Width": 410.0}, {"WordText": "-", "Left": 157.0, "Top": 1938.0, "Height": 49.0, "Width": 410.0}, {"WordText": "00000", "Left": 157.0, "Top": 1938.0, "Height": 49.0, "Width": 410.0}], "MaxHeight": 49.0, "MinTop": 1938.0}, {"LineText": "THANK YOU", "Words": [{"WordText": "THANK", "Left": 423.0, "Top": 1991.0, "Height": 43.0, "Width": 121.0}, {"WordText": "YOU", "Left": 549.0, "Top": 1991.0, "Height": 43.0, "Width": 71.0}], "MaxHeight": 43.0, "MinTop": 1991.0}, {"LineText": "PLEASE COME AGAIM", "Words": [{"WordText": "PLEASE", "Left": 308.0, "Top": 2043.0, "Height": 43.0, "Width": 172.0}, {"WordText": "COME", "Left": 485.0, "Top": 2043.0, "Height": 43.0, "Width": 97.0}, {"WordText": "AGAIM", "Left": 587.0, "Top": 2043.0, "Height": 43.0, "Width": 118.0}], "MaxHeight": 43.0, "MinTop": 2043.0}, {"LineText": "THIS SERVE AS AN OFFICIAL RECEIPE", "Words": [{"WordText": "THIS", "Left": 171.0, "Top": 2092.0, "Height": 50.0, "Width": 94.0}, {"WordText": "SERVE", "Left": 271.0, "Top": 2092.0, "Height": 50.0, "Width": 119.0}, {"WordText": "AS", "Left": 396.0, "Top": 2092.0, "Height": 50.0, "Width": 56.0}, {"WordText": "AN", "Left": 459.0, "Top": 2092.0, "Height": 50.0, "Width": 56.0}, {"WordText": "OFFICIAL", "Left": 521.0, "Top": 2092.0, "Height": 50.0, "Width": 188.0}, {"WordText": "RECEIPE", "Left": 715.0, "Top": 2092.0, "Height": 50.0, "Width": 158.0}], "MaxHeight": 50.0, "MinTop": 2092.0}], "HasOverlay": true}, "TextOrientation": "0", "FileParseExitCode": 1, "ParsedText": "BVSU Multi Purpose Cooperative\nLuna Street Lapaz\nIloslo City\nBy: WVSU MPC\nVAT TIN NO. :000-000-000-000\nSerial. No. WIES7WS\nMach ID: 000000000000000000\n000036410\n10-25-2023\nTime\ngampay\nInvoice d\nDate\nCashier\nSold TO:\nBus. Name:\nTIN:\nAddress:\nQTV\nDESC\nCOXE 195ML\nNet Of VAT\nTotal Que\nCash Payment\nSold To:\nBus. Name:\nTIN:\nAddress:\n01:29:49 PM\nTotal\n13.00\n18.61\n13.00\n20.00\nVAT Amt\nTotal Que\nChange\n7.00\nTr 8: 000036513\nSUPPLIER : AVAMICA COMPUTER TECHNOLOGIES\nADDRESS :BLK. 20 LOT 55 DECA HOMES\nPANDAC PAVIA ILOILO\nTIN M\n:944185225-000\nAccred. #: 00000000000\n05/08/2015-07/31/2025\nPernit #:FP0-0000000-00000\nTHANK YOU\nPLEASE COME AGAIM\nTHIS SERVE AS AN OFFICIAL RECEIPE", "ErrorMessage": "", "ErrorDetails": ""}], "OCRExitCode": 1, "IsErroredOnProcessing": false, "ProcessingTimeInMilliseconds": "656", "SearchablePDFURL": "Searchable PDF not generated as it was not requested."}
static/temp/sample_coop_preprocessed.jpg ADDED
static/temp/uploads/sample_711.jpg ADDED
static/temp/uploads/sample_coop.jpg ADDED