napatswift commited on
Commit
78be22c
1 Parent(s): c3a10c9

add new model

Browse files
main.py CHANGED
@@ -4,7 +4,8 @@ import cv2
4
  import sys
5
 
6
  ocr = MMOCR(det_config='model/config.py',
7
- det_ckpt='model/epoch_40.pth', device='cpu')
 
8
  def get_rec(points):
9
  xs = []
10
  ys = []
 
4
  import sys
5
 
6
  ocr = MMOCR(det_config='model/config.py',
7
+ det_ckpt='model/synth-e20.pth', device='cpu')
8
+
9
  def get_rec(points):
10
  xs = []
11
  ys = []
model/{epoch_20.pth → synth-e20.pth} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0d6272124c7fcedcdb64c2de3e82d1d6588f9f5f45abaa114048badaeb887a29
3
- size 98924057
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a531a40c718d4884afadaee136463b4b7c43845fce23ab35cd8984a098ec9f01
3
+ size 98992601