Beginner in Embedded AI Development - Vehicle Detection with Raspberry Pi 5 + Hailo Kit

Hi everyone,

I’m new to embedded development and have mainly worked on my computer using Python (VSCode). I’ve previously completed a project detecting and identifying animals in forests using YOLO and ResNet with a bit of finetuning with a custom dataset (made of youtube images).

But this time, I want to build an embedded AI module for detecting vehicles in infrared. I’m thinking about using Raspberry Pi 5 + Hailo AI Kit+ an infrared camera, like the Raspberry Pi Camera V3 NoIR.
Is it feasible to train a custom AI model (e.g., YOLO) and deploy it on this setup? Like I would like to create my own database or use image of my own database to help the model for detecting and identifying vehicles.
Has anyone worked on similar projects or have tips/resources to share?

Any guidance or resources would be greatly appreciated

Thanks

Welcome to the Hailo Community!

Sounds like a great opportunity to learn a lot. I would recommend to get the kit and first play with the example applications.

YOLO is an excellent choice for your project. We offer robust support for YOLO with example applications, and the model is included in the Hailo Model Zoo. The YOLO models come with retraining Docker support, streamlining the process compared to using an unknown model.

GitHub - Hailo Model Zoo - Retrain on custom dataset

We also have a webinar available in the Developer Zone that covers retraining. Although it’s a bit dated, most of the content is still relevant. There might be slight differences, but it will provide you with a solid starting point. You can access the webinar here:

Developer Zone - Training and Support

Thanks for your answer,

Would you recommend me watching the webinar first to get an overview, or should I begin by navigating through the Hailo Model Zoo and experimenting with the example applications? What would be the best approach to get started efficiently?

(post deleted by author)

I just came across an update regarding the Hailo Raspberry Pi AI Kit, including the release of Hailo Python API, picamera2 examples, and the CLIP zero-shot classification app.

However, I wanted to clarify something: Is it possible to fine-tune a model like YOLO with my own dataset and deploy it on the Hailo-8L AI processor via the Python API? Or would the fine-tuning need to be done externally (e.g., on a PC) before importing the model into the Hailo environment?

I also noticed that the Hailo Dataflow Compiler isn’t available to the general public, does that limit the ability to deploy fine-tuned models on Hailo hardware?

Thanks in advance for any insights you can provide

Have some fun with the example applications first. Understanding the end goal and having fun is as important as efficiency.

Yes, the retraining will be done on a PC with a good GPU. The model will be converted after the training into a HEF file to run inference on the Hailo-8.

You can download the Hailo AI Software Suite from the Developer Zone. You need to be signed in to be able to download the software.