how I can add detection.py output (hailo-rpi5 examples) to a PyQT5 window.
I am new to the field
Hey @mAty1901,
Welcome to the Hailo Community! To integrate the detection results into a PyQt5 application, you’ll need to follow these steps:
- Modify the Detection Script:
- Ensure that your
detection.py
script returns the video frames with the detection results.
- Set Up the PyQt5 Application:
- Create a PyQt5 application with a main window to display the images using
QLabel
.
- Integrate the Detection Output:
- Capture the video frames.
- Process the frames using your detection logic.
- Update the PyQt5 window with the processed frames.
This summary should help you understand the overall process of integrating the detection results into a PyQt5 window.
Let me know if you have any other questions. I’m here to help!
Best regards
1 Like
thank you Omira for your response,
if I understood correctly I only change the function, app_callback at the level of detection.py I do not touch the GStreamer pipeline.
thanks in advance
Hello omira
Can you help me please, I haven’t been able to returns the video frames with the detection results.
Thks