mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-11 05:20:49 +08:00
feat: support PP-OCRv6 PyTor as the inference engine
This commit is contained in:
1 parent
c18432567f
commit
370f01d0a8
11 files changed
+1100
-288
No files matched your search
@@ -143,7 +143,13 @@ def test_engine_tensorrt():
|
||||
|
||||
@mark.parametrize(
|
||||
"engine_type",
|
||||
[EngineType.ONNXRUNTIME, EngineType.OPENVINO, EngineType.PADDLE],
|
||||
[
|
||||
EngineType.ONNXRUNTIME,
|
||||
EngineType.OPENVINO,
|
||||
EngineType.PADDLE,
|
||||
EngineType.TORCH,
|
||||
EngineType.MNN,
|
||||
],
|
||||
)
|
||||
def test_ppocrv6_det_small(engine_type):
|
||||
engine = RapidOCR(
|
||||
@@ -161,7 +167,13 @@ def test_ppocrv6_det_small(engine_type):
|
||||
|
||||
@mark.parametrize(
|
||||
"engine_type",
|
||||
[EngineType.ONNXRUNTIME, EngineType.OPENVINO, EngineType.PADDLE],
|
||||
[
|
||||
EngineType.ONNXRUNTIME,
|
||||
EngineType.OPENVINO,
|
||||
EngineType.PADDLE,
|
||||
EngineType.TORCH,
|
||||
EngineType.MNN,
|
||||
],
|
||||
)
|
||||
def test_ppocrv6_rec_small(engine_type):
|
||||
engine = RapidOCR(
|
||||
|
||||
Reference in new issue
Block a user