I’d like to clarify that the project you’re asking about isn’t an official Hailo project, but a community-driven one. It would be best to ask your question in the same topic where the project was originally published.
That being said, I can offer some general advice about the segmentation fault you’re experiencing with YOLOv8 on Hailo 8L and Raspberry Pi 5. This error often points to memory issues or hardware interaction problems. Here are some troubleshooting steps:
Monitor resource usage with htop or top during runtime.
Try lowering the input frame rate or resolution.
In your Python code, handle exceptions properly:
try:
while True:
# Your detection logic
except Exception as e:
print(f"Error: {e}")
cleanup_resources() # Ensure hardware resources are properly released
If the problem continues, try running simpler parts of your pipeline separately (e.g., camera-only or inference-only) to isolate the issue.
I recommend using the official examples as a baseline since they perform similar tasks. They should provide a good starting point for your project.
Let us know how it goes or if you need further assistance!
I have tried the official examples GitHub - hailo-ai/hailo-rpi5-examples, This is shown segmentation fault after some time
The error displayed like this:
Frame count: 154151
Detection: person 0.88
Left eye: x: 457.00 y: 162.00 Right eye: x: 452.00 y: 166.00
Detection: person 0.79
Left eye: x: 223.00 y: 324.00 Right eye: x: 219.00 y: 329.00