carlosabadia commited on
Commit
38f5c0f
·
1 Parent(s): 31d0e56
app.py CHANGED
@@ -67,13 +67,14 @@ def main():
67
  input_board = gr.Image(label='Board',
68
  type='filepath',
69
  interactive=True,
70
- placeholder="examples/")
71
  with gr.Row():
72
  crop_board_button = gr.Button('Crop Board ✂️')
73
  with gr.Row():
74
  input_words = gr.Image(label='Words',
75
  type='filepath',
76
- interactive=True, height="auto")
 
77
  with gr.Row():
78
  crop_words_button = gr.Button('Crop Words ✂️')
79
  with gr.Row():
 
67
  input_board = gr.Image(label='Board',
68
  type='filepath',
69
  interactive=True,
70
+ placeholder="examples/board_test.png")
71
  with gr.Row():
72
  crop_board_button = gr.Button('Crop Board ✂️')
73
  with gr.Row():
74
  input_words = gr.Image(label='Words',
75
  type='filepath',
76
+ interactive=True, height="auto",
77
+ placeholder="examples/words_test.png")
78
  with gr.Row():
79
  crop_words_button = gr.Button('Crop Words ✂️')
80
  with gr.Row():
examples/Captura de pantalla de 2022-10-09 16-07-00.png DELETED
Binary file (990 kB)
 
examples/Captura de pantalla de 2022-10-09 16-07-05.png DELETED
Binary file (296 kB)
 
examples/Captura de pantalla de 2022-10-15 17-57-27.png DELETED
Binary file (128 kB)
 
examples/Captura de pantalla de 2022-10-15 17-57-38.png DELETED
Binary file (47 kB)
 
examples/board_test.png ADDED
examples/descarga.png DELETED
Binary file (224 kB)
 
examples/sopacompleta1.png DELETED
Binary file (417 kB)
 
examples/words_test.png ADDED
requirements.txt CHANGED
@@ -1,3 +1,4 @@
1
  gradio==3.1.4
2
  tensorflow==2.5.0
3
- opencv-python==4.6.0.66
 
 
1
  gradio==3.1.4
2
  tensorflow==2.5.0
3
+ opencv-python==4.6.0.66
4
+ pytesseract==0.3.10