mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 14:31:16 +00:00
12 lines
200 B
Python
12 lines
200 B
Python
|
from module.base.decorator import cached_property
|
||
|
from module.ocr.ppocr import TextSystem
|
||
|
|
||
|
|
||
|
class OcrModel:
|
||
|
@cached_property
|
||
|
def ch(self):
|
||
|
return TextSystem()
|
||
|
|
||
|
|
||
|
OCR_MODEL = OcrModel()
|