AI on a Pi? Believe it!

Data Slayer β€’ January 20, 2024
Video Thumbnail
Data Slayer Logo

Data Slayer

View Channel

About

Helping you deploy decentralized, open, wireless communication systems that put power back in the hands of the people.

Video Description

AI is escalating rapidly... Full tutorial blog post πŸ‘‰πŸ‘‰Β https://www.patreon.com/DataSlayer374/shop/110430 Product Links (some are affiliate links) - Raspberry Pi 5 πŸ‘‰ https://amzn.to/3SrbY77 - Coral AI PCIe TPU πŸ‘‰ https://amzn.to/3U4uROE 🧠 Need expert help fast? Book a 1:1 session and get unstuck today πŸ‘‰ https://bit.ly/42I10y5 πŸŽ₯ NEW: Unlock members-only videos and behind-the-scenes drops πŸ‘‰ https://bit.ly/4iyBm4I πŸ› οΈ The exact tools and gear I trust (and actually use) πŸ‘‰ https://amzn.to/44fKDv4 πŸ“š Step-by-step setup guides, templates, and insider resources πŸ‘‰ https://bit.ly/4ivZDID πŸ›’ Grab custom gear and tools designed by me πŸ‘‰ https://etsy.me/4isKwjb πŸ“© For sponsorships or business inquiries, reach out: [email protected] Pineberry AI Hat https://pineberrypi.com/products/hat-ai-for-raspberry-pi-5 Jeff Geerling https://www.jeffgeerling.com/blog/2023/testing-coral-tpu-accelerator-m2-or-pcie-docker Raspberry Pi 5 https://www.raspberrypi.com/products/raspberry-pi-5/ Coral Edge TPU https://coral.ai/products/m2-accelerator-ae Frigate NVR https://frigate.video/ Discover the Latest Breakthrough in AI Technology with the Pineberry AI Hat for Raspberry Pi 5 In the world of AI and machine learning, the Pineberry AI hat stands as a groundbreaking innovation. This cutting-edge device seamlessly integrates with the Raspberry Pi 5, harnessing the power of the advanced PCI Express bus. This innovative setup notably includes an M2 slot, meticulously designed to accommodate the Coral AI Edge TPU, a compact yet powerful tool in AI technology. The Pineberry AI hat, coupled with the Coral AI Edge TPU, brings unmatched efficiency to the Raspberry Pi platform. Astonishingly, a modestly priced $25 Coral device can outpace a $2,000 CPU in performance. This affordability and power are further enhanced by the capability of the interface to operate at gen 3 speeds, a feature that propels AI capabilities on the Raspberry Pi to unprecedented levels. Our demonstration reveals the remarkable 7ms inference time, showcasing the speed and efficiency of this setup. In our detailed exploration, we utilize the open-source Frigate NVR home surveillance system, accelerated by TPU-enhanced machine learning. Despite Frigate's previous removal of the Raspberry Pi from their recommended hardware list, our configuration achieved faster inference speeds than many other setups. The hardware assembly is straightforward yet sophisticated. It involves mounting the TPU onto the AI hat, securing it with spacers and screws, attaching a 16p FPC ribbon, and finally connecting the AI Hat to an 8GB Raspberry Pi 5. The overall cost for this high-performance setup includes $18.61 for the AI Hat and $24.99 for the Coral AI Chip, totaling an affordable $43.60. Additionally, a USB version is available for $59.99, offering an alternative connection via USB 3.0. The PCIe version of the device boasts advanced thermal management, reducing power draw and inference speed when necessary, ideal for continuous, long-term operation. In contrast, some users find the USB accelerator slightly underpowered, prompting creative solutions within the hobbyist community. The throughput comparison between PCIe gen 3 and USB 3 reveals that while PCIe may offer slightly lower latency, data transfer does not significantly bottleneck these setups. The Raspberry Pi 5's PCIe lane, initially PCIe 2.0 and unofficially upgradable to PCIe 3.0, provides improved performance. For camera integration, we focus on IP cameras and bypass the complexities of RTSP configuration. However, the potential of the Camera Module 3 with its 12 MGP sensor, suitable for HD IoT camera applications, is worth noting. Those with a keen interest in AI will appreciate the ease of installing Google's pycoral library, allowing for the creation and fine-tuning of custom TF lite models. The possibility of utilizing a Dual Edge TPU, doubling resources with minimal additional cost and space, is an exciting prospect. While there are rumors of an official Raspberry Pi M2 hat, currently, the focus seems to be more on NVMe storage solutions. However, the potential of running multiple Edge TPUs on a single installation is a tantalizing thought, especially considering a single TPU can support around ten cameras. In conclusion, while the USB accelerator offers an affordable and efficient alternative, leaving the PCIe slot open for fast storage could significantly enhance the overall performance of the Raspberry Pi system.

You May Also Like

Pi Powered AI Starter Kit

AI-recommended products based on this video

Loading...
Blink Outdoor 4 (newest model) – Wireless smart security camera, two-year battery life, 1080p HD day and infrared night live view, two-way talk. Sync Module Core included – 3 camera system Reducing CO2
Best Seller

Blink Outdoor 4 (newest model) – Wireless smart security camera, two-year battery life, 1080p HD day and infrared night live view, two-way talk. Sync Module Core included – 3 camera system Reducing CO2

(10,544)
$74.99
FREE delivery Fri, Oct 3
10K+ bought in past month
Loading...
Vintage Leather Work Boots For Women - Lightweight - ASTM Steel Toe - Slip Resistant - Shock Absorption - 2 Different Insoles + All-season work boots

Vintage Leather Work Boots For Women - Lightweight - ASTM Steel Toe - Slip Resistant - Shock Absorption - 2 Different Insoles + All-season work boots

(12)
$58.49
Loading...
All-Purpose Stainless Steel Shower Squeegee for Shower Glass Door with 2 Adhesive Hooks, Bathroom Cleaner Tool Household Window Mirror Squeegee , Cleaning Tile Wall, Car, 10 Inch Silver
Best Seller

All-Purpose Stainless Steel Shower Squeegee for Shower Glass Door with 2 Adhesive Hooks, Bathroom Cleaner Tool Household Window Mirror Squeegee , Cleaning Tile Wall, Car, 10 Inch Silver

(13,593)
$9.49
FREE delivery Sun, Sep 21 on $35 of items shipped by Amazon
20K+ bought in past month
Loading...
Munchkin Brica Sun Safety Car Window Shade with Heat Alert, Helps Block UVA/UVB Rays, 2 Pack, Black
Best Seller

Munchkin Brica Sun Safety Car Window Shade with Heat Alert, Helps Block UVA/UVB Rays, 2 Pack, Black

(12,316)
$9.77
FREE delivery on $35 of items shipped by Amazon
10K+ bought in past month
Loading...
Womens 6" Work Boots - ASTM F2413 Safety Toe + Waterproof Insulated + Electrical Hazard + Slip & Oil Resistant + 2 Adjustable Width Insoles

Womens 6" Work Boots - ASTM F2413 Safety Toe + Waterproof Insulated + Electrical Hazard + Slip & Oil Resistant + 2 Adjustable Width Insoles

(27)
$58.49
Loading...
Aquasonic Black Series Ultra Whitening Toothbrush – ADA Accepted Electric Toothbrush- 8 Brush Heads & Travel Case – 40,000 VPM Electric Motor & Wireless Charging - 4 Modes w Smart Timer

Aquasonic Black Series Ultra Whitening Toothbrush – ADA Accepted Electric Toothbrush- 8 Brush Heads & Travel Case – 40,000 VPM Electric Motor & Wireless Charging - 4 Modes w Smart Timer

(129,834)
$39.95
FREE delivery Tue, Dec 30
100K+ bought in past month
Loading...
Wireless Earbuds, Bluetooth 5.3 Headphones LED Power Display, 2025 New Wireless Earphones, 4 ENC Noise Cancelling Mic, HiFi Stereo, 48H Playtime Mini Case IP7 Waterproof for Sport Walk

Wireless Earbuds, Bluetooth 5.3 Headphones LED Power Display, 2025 New Wireless Earphones, 4 ENC Noise Cancelling Mic, HiFi Stereo, 48H Playtime Mini Case IP7 Waterproof for Sport Walk

(1,921)
9.49
PrimeFREE delivery Saturday, June 14 on orders shipped by Amazon over $35
1K+ bought in past month
Loading...
Apple AirPods 4 Wireless Earbuds, Bluetooth Headphones, with Active Noise Cancellation, Adaptive Audio, Transparency Mode, Personalized Spatial Audio, USB-C Charging Case, Wireless Charging, H2 Chip
Best Seller

Apple AirPods 4 Wireless Earbuds, Bluetooth Headphones, with Active Noise Cancellation, Adaptive Audio, Transparency Mode, Personalized Spatial Audio, USB-C Charging Case, Wireless Charging, H2 Chip

(26,751)
$118.98$114.22
FREE delivery Fri, Oct 17
10K+ bought in past month
Loading...
Apple AirPods 4 Wireless Earbuds, Bluetooth Headphones, Personalized Spatial Audio, Sweat and Water Resistant, USB-C Charging Case, H2 Chip, Up to 30 Hours of Battery Life, Effortless Setup for iPhone
Best Seller

Apple AirPods 4 Wireless Earbuds, Bluetooth Headphones, Personalized Spatial Audio, Sweat and Water Resistant, USB-C Charging Case, H2 Chip, Up to 30 Hours of Battery Life, Effortless Setup for iPhone

(23,152)
$89.99$83.69
FREE delivery Thu, Sep 4
10K+ bought in past month
Loading...
Apple 20W USB-C Compact Power Adapter: Fast and Convenient Charging, Type C Wall Charger

Apple 20W USB-C Compact Power Adapter: Fast and Convenient Charging, Type C Wall Charger

(5,869)
$14.99$13.47
FREE delivery Thu, Sep 4 on $35 of items shipped by Amazon
10K+ bought in past month
Loading...
USB C Car Charger, 3-Port 67W Dual USB-C & USB-A Car Power Adapter PD/QC Fast Charging Cigarette Lighter for iPhone 17/16/15/14/13/12/11 Pro Max, iPad, Samsung Galaxy S25 S24/S23/S22, Pixel, Android

USB C Car Charger, 3-Port 67W Dual USB-C & USB-A Car Power Adapter PD/QC Fast Charging Cigarette Lighter for iPhone 17/16/15/14/13/12/11 Pro Max, iPad, Samsung Galaxy S25 S24/S23/S22, Pixel, Android

(5,196)
$9.89
FREE delivery Sun, Sep 21 on $35 of items shipped by Amazon
10K+ bought in past month
Loading...
Anker Power Bank(PowerCore 10K),Compact Travel-Ready 10,000mAh Battery Pack with PowerIQ Charging Technology,5V/3A High-Speed Charging for iPhone,iPad,and More (USB-C Input and Output(BlackοΌ‰οΌŒ1pack) ClimatePartner certified

Anker Power Bank(PowerCore 10K),Compact Travel-Ready 10,000mAh Battery Pack with PowerIQ Charging Technology,5V/3A High-Speed Charging for iPhone,iPad,and More (USB-C Input and Output(BlackοΌ‰οΌŒ1pack) ClimatePartner certified

(109,961)
$17.99$17.81
FREE delivery Fri, Aug 8 on $35 of items shipped by Amazon
10K+ bought in past month
Loading...
DTECH HDMI to VGA Adapter Cable for Computer Monitor PC TV 1080P HD Video (Male HDMI Input to VGA Output Female Connector)

DTECH HDMI to VGA Adapter Cable for Computer Monitor PC TV 1080P HD Video (Male HDMI Input to VGA Output Female Connector)

(40)
3.49
PrimeFREE delivery Saturday, June 14 on orders shipped by Amazon over $35
Loading...
Lenovo Ideapad Laptop, 15.6" Touchscreen FHD Computer, Intel 10-Core i5-1235U (Beat i7-1195G7), 40GB DDR4 RAM, 2TB PCIe SSD, WiFi 6, Type-C, HDMI, Abyss Blue, Windows 11 Pro S, BEF-ectoy Cable

Lenovo Ideapad Laptop, 15.6" Touchscreen FHD Computer, Intel 10-Core i5-1235U (Beat i7-1195G7), 40GB DDR4 RAM, 2TB PCIe SSD, WiFi 6, Type-C, HDMI, Abyss Blue, Windows 11 Pro S, BEF-ectoy Cable

(11)
$699.99
FREE delivery Jun 17 - 20
Loading...
Soundcore by Anker P20i True Wireless Earbuds, 10mm Drivers with Big Bass, Bluetooth 5.3, 30H Long Playtime, Water-Resistant, 2 Mics for AI Clear Calls, 22 Preset EQs, Customization (Blue)

Soundcore by Anker P20i True Wireless Earbuds, 10mm Drivers with Big Bass, Bluetooth 5.3, 30H Long Playtime, Water-Resistant, 2 Mics for AI Clear Calls, 22 Preset EQs, Customization (Blue)

(62,301)
19.99
PrimeFREE delivery Saturday, June 14 on orders shipped by Amazon over $35
10K+ bought in past month
Loading...
2025 AI Portable Fan Rechargeable, 4 Speeds 6600RPM Strong Airflow, Personal Waist Fan with up to 25H of Working Time, Hands-Free Hanging Neck Fan, Wearable Belt Fan for Camping, Outdoor, Jobsite

2025 AI Portable Fan Rechargeable, 4 Speeds 6600RPM Strong Airflow, Personal Waist Fan with up to 25H of Working Time, Hands-Free Hanging Neck Fan, Wearable Belt Fan for Camping, Outdoor, Jobsite

(1,636)
$19.98
FREE delivery Thu, Jul 3 on $35 of items shipped by Amazon
40K+ bought in past month
Loading...
Lenovo ThinkPad E16 Business Laptop, 16" FHD+ Touchscreen, Intel i7-1355U, 40GB RAM, 1TB SSD, AI Copilot, Fingerprint, Backlit KB, HDMI, Wi-Fi 6, Windows 11 Pro, Bundle with UC310 64GB USB Flash Drive

Lenovo ThinkPad E16 Business Laptop, 16" FHD+ Touchscreen, Intel i7-1355U, 40GB RAM, 1TB SSD, AI Copilot, Fingerprint, Backlit KB, HDMI, Wi-Fi 6, Windows 11 Pro, Bundle with UC310 64GB USB Flash Drive

(1)
$996.55
FREE delivery Jun 18 - 23
50+ bought in past month
Loading...
Blink Outdoor 4 (newest model) – Wireless smart security camera, two-year battery life, 1080p HD day and infrared night live view, two-way talk. Sync Module Core included – 3 camera system Reducing CO2
Best Seller

Blink Outdoor 4 (newest model) – Wireless smart security camera, two-year battery life, 1080p HD day and infrared night live view, two-way talk. Sync Module Core included – 3 camera system Reducing CO2

(10,544)
$74.99
FREE delivery Fri, Oct 3
10K+ bought in past month
Loading...
EMEET 2024 Upgraded C960 Webcam for PC, Autofocus, 1080P HD, 73Β° View Angle, Computer Camera w/Privacy Cover and Microphone, Plug and Play USB Webcam for Video Calling/Zoom/Teams/Google Meet

EMEET 2024 Upgraded C960 Webcam for PC, Autofocus, 1080P HD, 73Β° View Angle, Computer Camera w/Privacy Cover and Microphone, Plug and Play USB Webcam for Video Calling/Zoom/Teams/Google Meet

(33,760)
39.99
PrimeFREE delivery Saturday, June 14
100+ bought in past month
Loading...
Hydrocolloid Bandages for Wound Care, Extra Large Medical-Grade Hydrocolloid Roll with Self-Adhesive, Ultra Absorbent, Flexible & Waterproof, DIY Size & Shape First Aid Kit Essential (2in*4.8ft)

Hydrocolloid Bandages for Wound Care, Extra Large Medical-Grade Hydrocolloid Roll with Self-Adhesive, Ultra Absorbent, Flexible & Waterproof, DIY Size & Shape First Aid Kit Essential (2in*4.8ft)

(126)
$8.99
FREE delivery Fri, Oct 3 on $35 of items shipped by Amazon
8K+ bought in past month
Loading...
GOOACC - GRC-33 240PCS Bumper Retainer Clips Car Plastic Rivets Fasteners Push Retainer Kit Most Popular Sizes Auto Push Pin Rivets Set -Door Trim Panel Fender Clips for GM Ford Toyota Honda Chrysler
Best Seller

GOOACC - GRC-33 240PCS Bumper Retainer Clips Car Plastic Rivets Fasteners Push Retainer Kit Most Popular Sizes Auto Push Pin Rivets Set -Door Trim Panel Fender Clips for GM Ford Toyota Honda Chrysler

(76,396)
$10.92$10.37
FREE delivery Sun, Sep 21 on $35 of items shipped by Amazon
20K+ bought in past month