giiiiiithub
6ba5a4348a
set PARALLEL_DEVICES default value= 0 (#7935)
### What problem does this PR solve?
it would be fail if PARALLEL_DEVICES = None in OCR class , because it
pass 0 to TextDetector and TextRecognizer init method.
and It would be simpler to set 0 as the default value for
PARALLEL_DEVICES.
### Type of change
- [x] Refactoring
пре 5 месеци
Kevin Hu
3a99c2b5f4
Refa: PARALLEL_DEVICES is a static parameter. (#6168)
### What problem does this PR solve?
### Type of change
- [x] Refactoring
пре 7 месеци
Debug Doctor
3e19044dee
Feat: add OCR's muti-gpus and parallel processing support (#5972)
### What problem does this PR solve?
Add OCR's muti-gpus and parallel processing support
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
@yuzhichang I've tried to resolve the comments in #5697 . OCR jobs can
now be done on both CPU and GPU. ( By the way, I've encountered a
“Generate embedding error” issue #5954 that might be due to my outdated
GPUs? idk. ) Please review it and give me suggestions.
GPU:


CPU:

пре 7 месеци
yihong
4326873af6
refactor: no need to inherit in python3 clean the code (#5659)
### What problem does this PR solve?
As title
### Type of change
- [x] Refactoring
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
пре 8 месеци
Zhichang Yu
db42d0e0ae
Optimize ocr (#5297)
### What problem does this PR solve?
Introduced OCR.recognize_batch
### Type of change
- [x] Performance Improvement
пре 8 месеци
Zhichang Yu
0151d42156
Reuse loaded modules if possible (#5231)
### What problem does this PR solve?
Reuse loaded modules if possible
### Type of change
- [x] Refactoring
пре 8 месеци
Zhichang Yu
3411d0a2ce
Added cuda_is_available (#4725)
### What problem does this PR solve?
Added cuda_is_available
### Type of change
- [x] Refactoring
пре 9 месеци
Zhichang Yu
e1526846da
Fixed GPU detection on CPU only environment (#4711)
### What problem does this PR solve?
Fixed GPU detection on CPU only environment. Close #4692
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
пре 9 месеци
Zhichang Yu
4230402fbb
deepdoc use GPU if possible (#4618)
### What problem does this PR solve?
deepdoc use GPU if possible
### Type of change
- [x] Refactoring
пре 9 месеци
Jin Hai
3894de895b
Update comments (#4569)
### What problem does this PR solve?
Add license statement.
### Type of change
- [x] Refactoring
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
пре 9 месеци
Mathias Panzenböck
4f9f9405b8
Remove use of eval() from ocr.py (#4481)
`eval(op_name)` -> `getattr(operators, op_name)`
### What problem does this PR solve?
Using `eval()` can lead to code injections and is entirely unnecessary
here.
### Type of change
- [x] Other (please describe):
Best practice code improvement, preventing the possibility of code
injection.
пре 9 месеци
Zhichang Yu
1254ecf445
Added static check at PR CI (#3921)
### What problem does this PR solve?
Added static check at PR CI
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] Refactoring
пре 10 месеци
Zhichang Yu
0d68a6cd1b
Fix errors detected by Ruff (#3918)
### What problem does this PR solve?
Fix errors detected by Ruff
### Type of change
- [x] Refactoring
пре 10 месеци
Kevin Hu
99adeabc85
remove dependency (#1536)
### What problem does this PR solve?
#702
### Type of change
- [x] Refactoring
пре 1 година
KevinHuSh
453c29170f
make sure the models will not be load twice (#422)
### What problem does this PR solve?
#381
### Type of change
- [x] Refactoring
пре 1 година
KevinHuSh
a5384446e3
let's load model from local (#163)
пре 1 година
KevinHuSh
979b3a5b4b
support snapshot download from local (#153)
* support snapshot download from local
* let snapshot download from local
пре 1 година
KevinHuSh
da21320b88
fix plainPdf bugs (#152)
пре 1 година
KevinHuSh
9da671b951
refine manul parser (#131)
пре 1 година
KevinHuSh
675a9f8d9a
add dockerfile for cuda envirement. Refine table search strategy, (#123)
пре 1 година
KevinHuSh
8f86ab9f7f
refine pdf parser, add time zone to userinfo (#112)
пре 1 година
KevinHuSh
7fd1eca582
init README of deepdoc, add picture processer. (#71)
* init README of deepdoc, add picture processer.
* add resume parsing
пре 1 година
KevinHuSh
d32322c081
rename vision, add layour and tsr recognizer (#70)
* rename vision, add layour and tsr recognizer
* trivial fixing
пре 1 година
KevinHuSh
cacd36c5e1
use onnx models, new deepdoc (#68)
пре 1 година