diff --git a/python_core/cli/commands/scene_detect.py b/python_core/cli/commands/scene_detect.py index f497958..697a897 100644 --- a/python_core/cli/commands/scene_detect.py +++ b/python_core/cli/commands/scene_detect.py @@ -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="检测阈值"),