Skip to content

Commit 213b684

Browse files
committed
Add: Hailo custom model making and examples in real world object detection
1 parent cd70c5c commit 213b684

4 files changed

Lines changed: 69 additions & 0 deletions

File tree

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Deploying Custom AI Models Across Applications with Hailo NPU
2+
3+
## Overview
4+
5+
6+
In the previous chapter, we explored the **Hailo Model Zoo**, which provides a range of pre-trained models on the COCO dataset. These models include architectures like YOLOv5, YOLOv8, and MobileNet SSD, catering to various tasks such as pose estimation and object detection. While these models are powerful and useful for many IIoT projects, they are limited to detecting objects defined in the COCO dataset (e.g., people, cars, buses, traffic lights, and elephants). For reference, visit [this site](https://cocodataset.org/#explore) .
7+
However, real-world use cases often require models tailored to specific applications. To address this need, you can create custom models using **transfer learning**, which will be discussed in **Chapter 5**. With transfer learning, you can train models on your unique datasets, enabling you to customize your AI solutions for various projects.
8+
9+
## Custom Applications of YOLOv8n with Transfer Learning
10+
11+
Here are some practical examples of using transfer learning with the **YOLOv8n architecture** for different application domains. These examples demonstrate how tailored models can unlock new possibilities:
12+
13+
### 1. Security and Surveillance
14+
15+
**Model Purpose**: Detecting vehicle license plates to enhance parking lot monitoring and identify abnormalities.
16+
17+
**Dataset**: Sourced from Roboflow, this dataset enables the detection of vehicle license plates. The model helps identify suspicious activities and abnormal conditions in parking areas, improving security services.
18+
19+
**Applications**:
20+
- Monitoring unauthorized vehicles.
21+
- Detecting abnormal parking behaviors.
22+
- Enhancing surveillance in high-security zones.
23+
24+
**Example Output**
25+
![license](../../pictures/Chapter3/plate.gif)
26+
27+
### 2. Smart Cities
28+
29+
**Model Purpose**: Traffic monitoring for efficient urban management.
30+
**Dataset**: A Roboflow dataset focused on car detection enables the model to monitor traffic effectively. This can be extended to count vehicles, detect traffic violations, and optimize signal timings.
31+
32+
**Applications**:
33+
- Vehicle counting for traffic density analysis.
34+
- Detecting red light violations.
35+
- Optimizing traffic signal operations.
36+
37+
**Example Output**
38+
39+
![car](../../pictures/Chapter3/car.gif)
40+
41+
### 3. Livestock Monitoring
42+
43+
**Model Purpose**: Tracking and monitoring livestock health and movement using drones and cameras.
44+
**Dataset**: This Roboflow dataset focuses on detecting cows. The model can be extended to indoor and outdoor monitoring scenarios, providing insights into animal behavior and health.
45+
46+
Applications:
47+
- Tracking livestock movements in large farms.
48+
- Monitoring health parameters using additional sensors.
49+
- Enhancing farm productivity with automated data collection.
50+
51+
**Example Output**
52+
![car](../../pictures/Chapter3/cow.gif)
53+
54+
## Next Steps
55+
In **Chapter 5**, we will dive into the details of transfer learning, covering:
56+
57+
- How to prepare custom datasets.
58+
- Fine-tuning pre-trained models.
59+
- Deploying custom models on the Hailo NPU.
60+
61+
By the end of Chapter 5, you’ll be equipped to create and deploy custom AI solutions for any project domain.
62+
63+
64+
65+
66+
67+
68+
69+

pictures/Chapter3/car.gif

12.3 MB
Loading

pictures/Chapter3/cow.gif

14.3 MB
Loading

pictures/Chapter3/plate.gif

11.4 MB
Loading

0 commit comments

Comments
 (0)