MCPcopy
hub / github.com/sml2h3/ddddocr / predict

Method predict

ddddocr/core/base.py:46–57  ·  view source on GitHub ↗

执行预测 Args: *args: 位置参数 **kwargs: 关键字参数 Returns: 预测结果

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

44
45 @abstractmethod
46 def predict(self, *args, **kwargs) -> Any:
47 """
48 执行预测
49
50 Args:
51 *args: 位置参数
52 **kwargs: 关键字参数
53
54 Returns:
55 预测结果
56 """
57 pass
58
59 def get_model_info(self) -> Dict[str, Any]:
60 """

Callers 2

classificationMethod · 0.45
detectionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected