mirror of
https://github.com/YaoFANGUK/video-subtitle-remover.git
synced 2026-05-02 06:27:31 +08:00
19 lines
368 B
Python
19 lines
368 B
Python
from enum import Enum, unique
|
|
|
|
@unique
|
|
class InpaintMode(Enum):
|
|
"""
|
|
图像重绘算法枚举
|
|
"""
|
|
STTN_AUTO = "sttn-auto"
|
|
STTN_DET = "sttn-det"
|
|
LAMA = "lama"
|
|
OPENCV = "opencv"
|
|
|
|
@unique
|
|
class SubtitleDetectMode(Enum):
|
|
"""
|
|
字幕检测算法枚举
|
|
"""
|
|
PP_OCRv5_MOBILE = "PP_OCRv5_MOBILE"
|
|
PP_OCRv5_SERVER = "PP_OCRv5_SERVER" |