rmayormartins commited on
Commit
48db9f7
1 Parent(s): 7581811

Update app.py novo

Browse files
Files changed (2) hide show
  1. app.py +3 -2
  2. confusionmatrix2.JPG +0 -0
app.py CHANGED
@@ -23,17 +23,18 @@ def extract_text_from_image(ocr_engine, image):
23
  else:
24
  return "Invalid OCR selection."
25
 
 
26
  #Gradio
27
  iface = gr.Interface(
28
  fn=extract_text_from_image,
29
  inputs=[gr.Dropdown(["Tesseract", "EasyOCR"], label="Select the OCR Engine"), "image"],
30
  outputs="text",
31
  title="OCR Img2txt",
32
- description="This application uses Optical Character Recognition (OCR) technology to extract text from images. Choose between Tesseract OCR and EasyOCR engine to process images containing printed text, converting it into editable and searchable text.",
33
- examples=[["confusionmatrix2.JPG"]]
34
  )
35
 
36
  iface.launch(debug=True)
37
 
38
 
39
 
 
 
23
  else:
24
  return "Invalid OCR selection."
25
 
26
+
27
  #Gradio
28
  iface = gr.Interface(
29
  fn=extract_text_from_image,
30
  inputs=[gr.Dropdown(["Tesseract", "EasyOCR"], label="Select the OCR Engine"), "image"],
31
  outputs="text",
32
  title="OCR Img2txt",
33
+ description="This application uses Optical Character Recognition (OCR) technology to extract text from images. Choose between Tesseract OCR and EasyOCR engine to process images containing printed text, converting it into editable and searchable text."
 
34
  )
35
 
36
  iface.launch(debug=True)
37
 
38
 
39
 
40
+
confusionmatrix2.JPG DELETED
Binary file (10.6 kB)