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

Function main

benchmark/__main__.py:130–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128
129
130def main():
131 parser = create_parser()
132 args = parser.parse_args()
133 if args.all:
134 run_all_benchmarks(
135 detector=args.detector, dataset=args.dataset, detailed=bool(args.detailed)
136 )
137 else:
138 run_benchmark(
139 detector=args.detector if args.detector else _DEFAULT_DETECTOR,
140 dataset=args.dataset if args.dataset else _DEFAULT_DATASET,
141 detailed=bool(args.detailed),
142 )
143
144
145if __name__ == "__main__":

Callers 1

__main__.pyFile · 0.70

Calls 3

create_parserFunction · 0.85
run_all_benchmarksFunction · 0.85
run_benchmarkFunction · 0.85

Tested by

no test coverage detected