(self)
| 12 | |
| 13 | class Identify: |
| 14 | def __init__(self): |
| 15 | filepath = os.path.join(path.library, 'finger.json') |
| 16 | with open(filepath, 'r', encoding='utf-8') as file: |
| 17 | finger = json.load(file) |
| 18 | for name, value in finger.items(): |
| 19 | self.obj = value |
| 20 | # 初始化指纹库 |
| 21 | self._prepare_app() |
| 22 | |
| 23 | def run(self, datas): |
| 24 | self.datas = datas |
nothing calls this directly
no test coverage detected