Sarath0x8f commited on
Commit
965fe8b
·
verified ·
1 Parent(s): f5db1d8

Delete main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -15
main.py DELETED
@@ -1,15 +0,0 @@
1
- from ObjCharRec import ocr_with_paddle
2
- from textblob import TextBlob
3
-
4
- def demo():
5
- paths = ['Images/download.jpeg', 'Images/download.png', 'Images/hq720.jpg', 'Images/testocr.png']
6
-
7
- l = []
8
- for img in paths:
9
- text = ocr_with_paddle(img)
10
- txtblob = TextBlob(text)
11
- l.append(str(txtblob.correct()))
12
- return l
13
-
14
- if __name__ == "__main__":
15
- print(demo())