Vihang28 commited on
Commit
d1d20a1
·
1 Parent(s): c1127af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -10,9 +10,8 @@ def ocr_model(filepath: str, languages: List[str]=None):
10
  result = pocr_model.ocr(filepath)
11
  state_txt = ""
12
  for i in range(len(result[0])):
13
- text1= result[0][i][1]
14
  state_txt += str(text1)
15
- print('i=',i)
16
  return state_txt
17
 
18
  title = "US Vehicle Number Plate"
 
10
  result = pocr_model.ocr(filepath)
11
  state_txt = ""
12
  for i in range(len(result[0])):
13
+ text1= result[0][i][1][0]
14
  state_txt += str(text1)
 
15
  return state_txt
16
 
17
  title = "US Vehicle Number Plate"