Importing libraries to detect objects on raspberry pi 5 with hailo 8l

Hello, I’ve read the documentation about Hailo and Raspberry Pi 5, but I didn’t understand this part. Can you help me?
I want to perform object detection with my custom-trained .hef YOLOv5 model through Visual Studio Code, rather than through the terminal. For example, I want to adjust the colors of the bounding boxes around detected objects and add text above the boxes. Also, while doing this, should I import the hailo_platform or hailo_sdk libraries on Raspberry Pi 5? If so, how should I import them and how should I code using these libraries?

Best Regards

Hi @zelihasfhz12 ,
THe SDK (a.k.a DFC) is only used for compiling networks, and you would not be able to instasll it on the Pi.

The best advice is to follow the steps in our Git for first having the app running:
hailo-rpi5-examples/doc/basic-pipelines.md at main · giladnah/hailo-rpi5-examples (github.com)

Once you have it running, you can move on to tweaking the app as you wish.

Happy coding :slight_smile:

So, if I’m understanding your post correctly, you want to customize, the post, post processing steps? In that case, I believe you’d have to edit the hailooverlay, hailo gstreamer element, recompile it with gcc and integrate it into your pipeline.