File size: 305 Bytes
a63752b
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import jpype
import asposecells
jpype.startJVM()
from asposecells.api import Workbook
workbook = Workbook("processed/text_detected/text_detected.txt")
workbook.save("processed/load_json/output.json")
jpype.shutdownJVM()

with open('processed/text_detected/text_detected.txt') as f:
    contents = f.read