Datasets:

ArXiv:
dlxj commited on
Commit
6786d69
·
1 Parent(s): 82de705
.gitattributes CHANGED
@@ -1,4 +1,5 @@
1
  *.7z filter=lfs diff=lfs merge=lfs -text
 
2
  *.arrow filter=lfs diff=lfs merge=lfs -text
3
  *.bin filter=lfs diff=lfs merge=lfs -text
4
  *.bz2 filter=lfs diff=lfs merge=lfs -text
 
1
  *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.onnx filter=lfs diff=lfs merge=lfs -text
3
  *.arrow filter=lfs diff=lfs merge=lfs -text
4
  *.bin filter=lfs diff=lfs merge=lfs -text
5
  *.bz2 filter=lfs diff=lfs merge=lfs -text
.gitignore CHANGED
@@ -2,6 +2,7 @@
2
  __pycache__/
3
  *.py[cod]
4
  *$py.class
 
5
 
6
  # C extensions
7
  # *.so
 
2
  __pycache__/
3
  *.py[cod]
4
  *$py.class
5
+ e2e_results/
6
 
7
  # C extensions
8
  # *.so
.vscode/launch.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version": "0.2.0",
6
+ "configurations": [
7
+ {
8
+ "name": "Python Debugger: Current File",
9
+ "type": "debugpy",
10
+ "request": "launch",
11
+ "program": "${file}",
12
+ "console": "integratedTerminal"
13
+ }
14
+ ]
15
+ }
.vscode/settings.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "python-envs.defaultEnvManager": "ms-python.python:conda",
3
+ "python-envs.defaultPackageManager": "ms-python.python:conda",
4
+ "python-envs.pythonProjects": []
5
+ }
data/t2.jpg ADDED

Git LFS Details

  • SHA256: bc4bf30e9830a49c9473c42490fbf9f700d42867ada8fab412edd07ae52f5f28
  • Pointer size: 131 Bytes
  • Size of remote file: 619 kB
main.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ # C:\Users\echod\.cache\openocr\openocr_det_model.onnx
3
+ # C:\Users\echod\.cache\openocr\openocr_rec_model.onnx
4
+
5
+ from openocr import OpenOCR
6
+ onnx_engine = OpenOCR(backend='onnx', device='cpu')
7
+ img_path = 'data/t2.jpg'
8
+ result, elapse = onnx_engine(img_path)
9
+
10
+ pass
11
+
12
+
13
+
models/openocr_det_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51d2362ddefd987328e852b8196058d1cf11909a0d30bba8207eabf1f18f0881
3
+ size 12420719
models/openocr_rec_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2cebf56ec416d97a3a656337ae026502fbb95be11400c2ec8df512404f225085
3
+ size 25138527