latest changes
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def extract_text_data(ocr_result, page_idx):
|
|
| 21 |
for line in block.lines:
|
| 22 |
for word in line.words:
|
| 23 |
page_data["text"] += word.value + " "
|
| 24 |
-
page_data["text"] += "\n"
|
| 25 |
return page_data
|
| 26 |
|
| 27 |
def main(det_archs, reco_archs):
|
|
|
|
| 21 |
for line in block.lines:
|
| 22 |
for word in line.words:
|
| 23 |
page_data["text"] += word.value + " "
|
| 24 |
+
page_data["text"] += "\n "
|
| 25 |
return page_data
|
| 26 |
|
| 27 |
def main(det_archs, reco_archs):
|