feat: add mastery feature to recitation wheel
This commit is contained in:
@@ -105,9 +105,10 @@ class MLConfig:
|
||||
class OCRConfig:
|
||||
"""OCR识别配置"""
|
||||
# OCR引擎配置
|
||||
enable_tesseract: bool = True
|
||||
enable_paddleocr: bool = True
|
||||
enable_easyocr: bool = True
|
||||
# 默认只启用轻量级Tesseract,其他引擎需要额外安装深度学习框架
|
||||
enable_tesseract: bool = True # 轻量级,推荐使用
|
||||
enable_paddleocr: bool = False # 可选,需要PaddlePaddle,占用内存较大
|
||||
enable_easyocr: bool = False # 可选,需要PyTorch,占用内存很大(1-2GB)
|
||||
|
||||
# 识别参数
|
||||
min_confidence: float = 0.6
|
||||
|
||||
Reference in New Issue
Block a user