Inspecting results
Understand the structure of PySDK inference results so you can inspect labels, scores, and metadata before visualizing, saving, or streaming them.
Check the overall structure
Example
from degirum_tools import ModelSpec, remote_assets
model_spec = ModelSpec(
model_name="yolov8n_coco--640x640_quant_hailort_multidevice_1",
zoo_url="degirum/hailo",
inference_host_address="@local",
model_properties={"device_type": ["HAILORT/HAILO8L", "HAILORT/HAILO8"]},
)
model = model_spec.load_model()
result = model(remote_assets.three_persons)
print([attr for attr in dir(result) if not attr.startswith("_")])
print(type(result.results), len(result.results))Inspect detection outputs
Example
Read metadata and timing
Example
Last updated
Was this helpful?

