All was working. Today PI5 offered to update. Now any hailo program using picamera2 won’t work with the same error ( invalid index to scalar variable):
Example: ~/picamera2/examples/hailo $ python detect.py
“”“Extract detections from the HailoRT-postprocess output.”“”
results =
for class_id, detections in enumerate(hailo_output):
for detection in detections:
score = detection[4]
~~~~~~~~~^^^
IndexError: invalid index to scalar variable.
Any help?