1 # OpenVINO™ Benchmark Python* package
2 Inference Engine `openvino.tools.benchmark` Python\* package consists types to measure synchronous mode latency.
3 The package depends on `openvino.tools.accuracy_checker` the package.
5 Please, refer to https://docs.openvinotoolkit.org for details.
8 You can use the `openvino.tools.calibration` package in a simple way:
10 import openvino.tools.benchmark as benchmark
12 config = benchmark.CommandLineReader.read()
13 result = benchmark.Benchmark(config).run()
14 print("{0}: {1:.4} ms".format(config.model, result.latency * 1000.0))
17 1. Import `openvino.tools.benchmark` types:
19 import openvino.tools.benchmark as benchmark
22 2. Read configuration and execute the benchmark:
24 config = benchmark.CommandLineReader.read()
25 result = benchmark.Benchmark(config).run()
30 print("{0}: {1:.4} ms".format(config.model, result.latency * 1000.0))