Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ def main():
|
|
| 38 |
with st.sidebar:
|
| 39 |
st.write('## Input')
|
| 40 |
uploaded_file = st.file_uploader('Upload the image file (PNG or JPG)', type=['png', 'jpg'], help='help')
|
| 41 |
-
input_file = st.file_uploader('Upload the input file (TXT)', type=['txt'], help='
|
| 42 |
with st.expander('Settings'):
|
| 43 |
ocre = st.selectbox('OCR Engine', ['Hive', 'Tesseract'])
|
| 44 |
img_processing = st.selectbox('Image preprocessing', ['Gray Scaling', 'Thresholding, Denoising, Binarization, Skew Correction', 'Adaptive Thresholding, Morphological Operations, CCA'])
|
|
|
|
| 38 |
with st.sidebar:
|
| 39 |
st.write('## Input')
|
| 40 |
uploaded_file = st.file_uploader('Upload the image file (PNG or JPG)', type=['png', 'jpg'], help='help')
|
| 41 |
+
input_file = st.file_uploader('Upload the input file (TXT)', type=['txt'], help='text file containing order id, text, font type. in that order')
|
| 42 |
with st.expander('Settings'):
|
| 43 |
ocre = st.selectbox('OCR Engine', ['Hive', 'Tesseract'])
|
| 44 |
img_processing = st.selectbox('Image preprocessing', ['Gray Scaling', 'Thresholding, Denoising, Binarization, Skew Correction', 'Adaptive Thresholding, Morphological Operations, CCA'])
|