用Raspberry Pi自製本地AI助理詳解!

Ai




你可以將你的Raspberry Pi變成本地AI助手 — 教你點做

Raspberry Pi嘅創意無窮無盡,我哋之前已經介紹過好多有趣嘅項目,由令你嘅智能家居更加智能,到升級你嘅睡房裝置等等。但今次呢個GitHub用戶Simone Marzulli嘅創意真係超越咗一般想像——佢成功喺Raspberry Pi 5上打造咗自己嘅本地AI助手,完全唔需要連接外部服務,保護用戶數據私隱,仲可以用語音命令操作,實在好厲害。

Marzulli嘅目標好簡單:所有AI運算都喺Raspberry Pi本地完成,唔會有資料流出到網絡或者雲端服務,保障用戶私隱。而且佢使用嘅全部語言模型都係開源嘅大型語言模型(LLMs),令AI助手可以用語音指令互動。

佢仲為呢個AI助手準備咗細小嘅機箱、屏幕同風扇,完成品叫做Max Headbox——一個有屏幕面孔嘅智能助手,外形同功能都幾吸引。

Max Headbox:你嘅桌面智能屏幕助手

Max Headbox係一個帶有表情嘅屏幕AI機械人,佢嘅面孔係用GIMP動畫化Microsoft Fluent Emoji製作嘅。當你講出喚醒詞,佢就會聽你嘅語音指令。佢仲設有觸控功能,輕觸屏幕就可以開始錄音,再輕觸一次就停止錄音,如果想中止回應,亦可以喺AI回應時輕觸屏幕取消請求。

介面設計簡潔,透過三條旋轉彩色燈帶作為狀態指示:藍色代表準備好聽喚醒詞,紅色代表正在錄音,彩虹色代表LLM正在運作。

至於用咗邊啲開源模型,Marzulli揀咗Qwen3 1.7b作為決策模型(Max Headbox嘅「大腦」),而Gemma3 1b則作為對話模型(負責情感反應)。由於Raspberry Pi硬件限制,佢選擇咗參數量介乎1B至2B嘅模型,平衡咗運算速度同表達能力,避免拖垮Pi嘅CPU同記憶體。

點樣自製你嘅Max Headbox?

如果你都想試吓自己整一個,Simone Marzulli已經喺GitHub詳細記錄晒整機教學,包括所需零件清單、安裝指示同設定詳情。硬件方面,你需要一部Raspberry Pi 5(Max Headbox用過8GB同16GB版本測試)、USB咪高峰(佢推薦嘅型號亦有提供連結),以及GeeekPi嘅屏幕、機箱同散熱風扇。

軟件方面,你需要安裝Ruby 3.3.0、Node 22、Python 3同Ollama。語音控制方面,Marzulli用咗Vosk API嚟偵測喚醒詞,用fast-whisper做快速、準確嘅語音轉文字。至於幫助AI使用嘅工具,只要寫一個JavaScript模組,定義工具名稱、參數、簡介同執行功能,就可以輕鬆擴展。

如果你有個長假期,又鍾意DIY挑戰,打造你嘅Pi智能AI同伴絕對係可行之事。想搵多啲Raspberry Pi靈感,可以睇返我哋之前整理嘅2025年最佳Pi項目合集。

編輯評論與啟發

Simone Marzulli嘅Max Headbox項目,真係為本地化AI應用提供咗一個極具意義嘅案例。喺現時大多數AI服務都依賴雲端運算、數據上傳嘅背景下,佢選擇完全本地運算,切實保障用戶私隱,呢點對香港用戶尤其重要,因為私隱保護係大家日益關注嘅議題。

同時,佢喺硬件限制下精挑細選模型,展現咗如何喺資源有限嘅設備上實現高效AI應用,呢個思路對於其他想用廉價硬件部署AI的開發者有很大啟示。Max Headbox不單止係一個技術展示,更提醒大家:AI唔一定要依賴龐大嘅雲端資源,小型裝置亦可以做到智能互動。

而且,Marzulli設計嘅界面簡潔直觀,結合觸控同語音,提升用戶體驗,亦反映出人機互動嘅未來趨勢。對於追求私隱同自主控制的用戶來講,呢類本地AI助理將會越來越受歡迎。

最後,呢個項目亦鼓勵香港嘅Maker社群同科技愛好者多啲試驗同創新,將AI技術帶落實際生活場景,甚至促進本地軟硬件生態發展。希望未來會有更多人用Raspberry Pi等平台,開發出更多貼地又實用嘅AI應用!

以上文章由特價GPT API KEY所翻譯及撰寫。而圖片則由FLUX根據內容自動生成。

🎬 YouTube Premium 家庭 Plan成員一位 只需 HK$148/年

不用提供密碼、不用VPN、無需轉區
直接升級你的香港帳號 ➜ 即享 YouTube + YouTube Music 無廣告播放

立即升級 🔗

🎨 Nano Banana Pro 圖像生成器|打幾句說話就出圖

想畫人像、產品圖、插畫?SSFuture 圖像生成器支援 Flux Gemini Nano Banana Pro 改圖 / 合成, 打廣東話都得,仲可以沿用上一張圖繼續微調。

🆓 Flux 模型即玩,不用登入
🤖 登入後解鎖 Gemini 改圖
📷 支援上載參考圖再生成
⚡ 每天免費額度任你玩
✨ 即刻玩 AI 畫圖
[Subject]: Young Asian female with "Imada Mio-inspired" doll-like aesthetic (精緻洋娃娃臉). She has large round expressive eyes, a small V-line face, and rosy cheeks. Her expression is innocent, energetic, and slightly flirty. [Hair]: Messy morning hair (剛睡醒的凌亂感), long dark brown hair, slightly tousled, natural volume. [Outfit]: Wearing an oversized translucent white button-down shirt (男友風白襯衫), unbuttoned at the top to reveal collarbones, creating a "bottomless" look (下衣失蹤風格). [Style]: Japanese Gravure Photobook style (寫真集風格), Pure & Sexy vibe, bright high-key lighting, soft skin texture, Fujifilm PRO 400H color tone. Create a photorealistic and highly detailed image featuring the attached image walking confidently down a modern city street, accompanied by Jason Statham, Dwayne “The Rock” Johnson, and Jason Momoa acting as bodyguards.
John Wick (Keanu Reeves) is walking just beside or slightly behind the subject, holding an umbrella over him to shield from light rain.
The subject should be the central figure, wearing stylish casual clothing — like a fitted jacket, dark jeans, and sunglasses — exuding calm authority and cool charisma.
Statham, The Rock, and Momoa are dressed in black tactical-style suits, maintaining alert, protective stances, scanning the surroundings like professional bodyguards. John Wick wears his signature black suit and tie, looking composed as he holds the umbrella.
The setting is a downtown urban street with wet pavement reflecting city lights, parked luxury cars, and paparazzi in the background snapping photos.
The photo should look like a real paparazzi shot — slightly off-angle, mid-step motion blur, with realistic lighting and reflections.
Lighting: natural daylight with overcast skies, reflections from wet concrete, realistic shadows, subtle raindrops on the umbrella and clothing.
Camera realism: crisp detail on facial features and clothing textures, shallow depth of field emphasizing the group, with lens flare or light bloom for authenticity.
Mood & tone: grounded, cinematic, and stylish — feels like a moment from a celebrity entourage photo or action-movie press capture, taken with an iPhone by paparazzi.
Style: ultra-realistic, documentary-style street photography with modern cinematic sharpness. 一隻在香港茶餐廳喝奶茶的貓