YOLO Object Detection on the Raspberry Pi AI HAT | Writing Python Scripts @Core-Electronics
YOLO Object Detection on the Raspberry Pi AI HAT | Writing Python Scripts  @Core-Electronics
Uploaded November 2024 | Updated November 2026, 2 hours ago
๐Ÿ”— *The full guide* : _https://core-electronics.com.au/guides/raspberry-pi/yolo-object-detection-on-the-raspberry-pi-ai-hat-writing-custom-python/_

In this guide, we will be exploring how to set up *YOLO object detection* with the *Raspberry Pi AI HAT*, and more importantly, learning how to apply this in your *Python projects*. We will be taking a look at how to *install* the required *hardware and firmware* as well as how to set up and use the object detection *Python pipelines*. The result of this guide will have you equipped with an understanding of this whole setup, as well as three different *example scripts* we have written. One will "do something" when an object is detected, another when a certain number of objects are detected, and the last when an object is detected in a certain location.

๐Ÿ”ง๐Ÿ”จ๐Ÿงฐ Hardware featured in this guide:

*13 TOPS AI HAT+:*
_https://core-electronics.com.au/catalog/product/view/sku/CE09993_
*26 TOPS AI HAT+:*
_https://core-electronics.com.au/catalog/product/view/sku/CE09994_
*Raspberry Pi 5:*
_https://core-electronics.com.au/raspberry-pi/boards.html#category_1392_

๐Ÿ’กโ“ If you have any questions about this content or want to share a project you're working on head over to our *maker forum:* _coreelec.io/forum_

0:00 What we will be doing
0:30 What you will need
1:00 Installing the AI HAT
1:54 Installing firmware and Python pipelines
3:37 Looking at the file structure and pipeline
4:49 Running object recognition demo
6:29 Exploring the Python demo script
8:23 Project code 1: detecting objects
13:19 Disabling FPS shell reading
13:58 Project code 2: counting objects
16:03 Project code 3: object position
18:08 Wrap up

๐ŸŒ๐Ÿฆ˜ *Core Electronics* is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for:

โ€ข *Raspberry Pi* _https://core-electronics.com.au/raspberry-pi.html_
โ€ข *Arduino* _https://core-electronics.com.au/arduino.html_
โ€ข *Sparkfun* _https://core-electronics.com.au/brands/sparkfun-australia_
โ€ข *Adafruit* _https://core-electronics.com.au/brands/adafruit-australia_
โ€ข *Pololu* _https://core-electronics.com.au/brands/pololu-australia_
โ€ข *DFRobot* _https://core-electronics.com.au/brands/dfrobot-australia_

The following trademarks are owned by *Core Electronics Pty Ltd:*

"Core Electronics" and the Core Electronics logo
"Makerverse" and the Makerverse logo
"PiicoDev" and the PiicoDev logo
"GlowBit" and the GlowBit logo
YOLO Object Detection on the Raspberry Pi AI HAT | Writing Python ScriptsMaking Ice With A Peltier ModuleCarvera MakeraCAM Beginner Tutorial | Your First Aluminium Cut!Play Any Retro Games On This Pi!How To Source Power From A PicoBambu Lab A1 Assembly Guide | Get Printing Fast!Motor Drivers Are Kinda Genius...#Copyright & #OpenLicenses for Your #ProjectMaker Quiz 17 #Makerquiz #Maker #TriviaWhats the Difference Between Raspberry Pi BoardsCore Electronics is Moving!How to Align your Stock for the xTool S1
Core Electronics |

YOLO Object Detection on the Raspberry Pi AI HAT | Writing Python Scripts

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER