MCPcopy Create free account
hub / github.com/Breakthrough/PySceneDetect / detect_hist_command

Function detect_hist_command

scenedetect/_cli/__init__.py:867–878  ·  view source on GitHub ↗
(
    ctx: click.Context,
    threshold: float | None,
    bins: int | None,
    min_scene_len: str | None,
)

Source from the content-addressed store, hash-verified

865)
866@click.pass_context
867def detect_hist_command(
868 ctx: click.Context,
869 threshold: float | None,
870 bins: int | None,
871 min_scene_len: str | None,
872):
873 ctx = ctx.obj
874 assert isinstance(ctx, CliContext)
875 detector_args = ctx.get_detect_hist_params(
876 threshold=threshold, bins=bins, min_scene_len=min_scene_len
877 )
878 ctx.add_detector(HistogramDetector, detector_args)
879
880
881DETECT_HASH_HELP = """Find fast cuts using perceptual hashing.

Callers

nothing calls this directly

Calls 2

add_detectorMethod · 0.45

Tested by

no test coverage detected