mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2026-09-01 04:49:03 +08:00
Update default models (#15329)
This commit is contained in:
@@ -21,7 +21,7 @@ from ._object_detection import (
|
||||
class LayoutDetection(ObjectDetection):
|
||||
@property
|
||||
def default_model_name(self):
|
||||
return "PP-DocLayout-L"
|
||||
return "PP-DocLayout_plus-L"
|
||||
|
||||
@classmethod
|
||||
def get_cli_subcommand_executor(cls):
|
||||
|
||||
@@ -24,7 +24,7 @@ from ._text_detection import TextDetectionMixin, TextDetectionSubcommandExecutor
|
||||
class TextDetection(TextDetectionMixin, PaddleXPredictorWrapper):
|
||||
@property
|
||||
def default_model_name(self):
|
||||
return "PP-OCRv4_mobile_det"
|
||||
return "PP-OCRv5_server_det"
|
||||
|
||||
@classmethod
|
||||
def get_cli_subcommand_executor(cls):
|
||||
|
||||
@@ -34,7 +34,7 @@ class TextRecognition(PaddleXPredictorWrapper):
|
||||
|
||||
@property
|
||||
def default_model_name(self):
|
||||
return "PP-OCRv4_mobile_rec"
|
||||
return "PP-OCRv5_server_rec"
|
||||
|
||||
@classmethod
|
||||
def get_cli_subcommand_executor(cls):
|
||||
|
||||
Reference in New Issue
Block a user