AnnasBlackHat commited on
Commit
578dd8a
Β·
1 Parent(s): 20b14d3

install easyocr

Browse files
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  title: BIB Number Recognition
3
- emoji: πŸ“‰
4
  colorFrom: indigo
5
  colorTo: green
6
  sdk: gradio
 
1
  ---
2
  title: BIB Number Recognition
3
+ emoji: πŸƒβ€β™‚οΈ
4
  colorFrom: indigo
5
  colorTo: green
6
  sdk: gradio
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import gradio as gr
2
  from detection import app
 
3
 
4
  def recognize(img_arr):
5
  detections = app.detect(img_arr)
 
1
  import gradio as gr
2
  from detection import app
3
+ from recognition import app_easyocr
4
 
5
  def recognize(img_arr):
6
  detections = app.detect(img_arr)
recognition/app_easyocr.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ import easyocr
2
+
3
+ reader = easyocr.Reader(['en'])
recognition/easyocr.py DELETED
File without changes
requirements.txt CHANGED
@@ -37,3 +37,5 @@ thop # FLOPs computation
37
  # albumentations>=1.0.3
38
  # pycocotools>=2.0 # COCO mAP
39
  # roboflow
 
 
 
37
  # albumentations>=1.0.3
38
  # pycocotools>=2.0 # COCO mAP
39
  # roboflow
40
+
41
+ easyocr==1.6.1