fix: detect

This commit is contained in:
root 2025-07-12 13:52:22 +08:00
parent a63a58253e
commit 92db62869a
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ from python_core.utils.logger import logger
scene_detect = typer.Typer(help="场景检测工具 - 重构版")
console = Console()
@scene_detect.command("split")
def split(
@scene_detect.command("detect")
def detect(
video_path: Path = typer.Argument(..., help="视频文件路径"),
detector_type: DetectorType = typer.Option(DetectorType.CONTENT, "--detector", "-d", help="检测器类型"),
threshold: float = typer.Option(30.0, "--threshold", "-t", help="检测阈值"),