Skip to content
Snippets Groups Projects
Commit cfc85998 authored by michael.divia's avatar michael.divia
Browse files

Problem with sizes

parent fb56444e
Branches
Tags
No related merge requests found
...@@ -29,7 +29,11 @@ with open(json_path, "r") as f: ...@@ -29,7 +29,11 @@ with open(json_path, "r") as f:
# --- Hailo Inference with PiCamera2 --- # --- Hailo Inference with PiCamera2 ---
with Hailo(hef_path) as hailo: with Hailo(hef_path) as hailo:
print(f"-- Model input shape: {input_shape}") model_h, model_w, model_c = hailo.get_input_shape()
print(f"-- Model input shape from Hailo: {(model_h, model_w, model_c)}")
print(f"-- Input format: {hailo.get_input_format()}")
print(f"-- Expected input buffer size: {hailo.get_input_frame_size()}")
picam2 = Picamera2() picam2 = Picamera2()
config = picam2.create_still_configuration( config = picam2.create_still_configuration(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment