python静态方法

简介: python静态方法
@staticmethod
    def rec_image_origin(img_path: str) -> list:
        """
        识别的原始数据
        :param img_path:照片路径
        :return:识别结果
        """
        instance = LogicOcr.get_instance()
        return instance.ocr(img_path, cls=True)
目录
相关文章
|
8月前
|
Python
55 python - 类方法和静态方法
55 python - 类方法和静态方法
37 0
|
2月前
|
缓存 Java Python
python-静态方法staticmethod、类方法classmethod、属性方法property_python staticmethod类内使用(1)
python-静态方法staticmethod、类方法classmethod、属性方法property_python staticmethod类内使用(1)
|
2月前
|
SQL 分布式计算 算法
python-静态方法staticmethod、类方法classmethod、属性方法property_python staticmethod类内使用
python-静态方法staticmethod、类方法classmethod、属性方法property_python staticmethod类内使用
|
2月前
|
Python
【Python 基础】Python中的实例方法、静态方法和类方法有什么区别?
【5月更文挑战第6天】【Python 基础】Python中的实例方法、静态方法和类方法有什么区别?
|
11月前
Python-staticmethod静态方法
Python-staticmethod静态方法
43 0
|
8月前
|
Python
python 静态方法、类方法以及普通方法
python 静态方法、类方法以及普通方法
31 0
|
9月前
|
Python
编程小白的自学笔记六(python中类的静态方法和动态方法)
编程小白的自学笔记六(python中类的静态方法和动态方法)
|
10月前
|
算法 Python
python笔记-多继承-MRO顺序——类方法、实例方法、静态方法的简单区
python笔记-多继承-MRO顺序——类方法、实例方法、静态方法的简单区
|
11月前
|
Python
【从零学习python 】45.Python中的类方法和静态方法
【从零学习python 】45.Python中的类方法和静态方法
61 0

相关实验场景

更多