Spaces:
Runtime error
Runtime error
Commit ·
a654a2c
1
Parent(s): f58179a
Update app.py
Browse files37 unmodified lines38394041414243444537 unmodified lines df = pd.DataFrame.from_dict(textdic_easyocr).T st.table(df)
# Plot image with text box and predicted text # Plot image with text box and predicted text with cv2 image = cv2.imread(file) for res in result: top_left = tuple(res[0][0]) # top left coordinates as tuple bottom_right = tuple(res[0][2]) # bottom right coordinates as tupleapp.py+2-1