From 92db62869a461c9554ebbccfcc85ad9675f8e418 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 12 Jul 2025 13:52:22 +0800 Subject: [PATCH] fix: detect --- python_core/cli/commands/scene_detect.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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="检测阈值"),