<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shukun on Medium]]></title>
        <description><![CDATA[Stories by Shukun on Medium]]></description>
        <link>https://medium.com/@shukun6668?source=rss-cec109694d03------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*QYUNuzInkPhISjDJ</url>
            <title>Stories by Shukun on Medium</title>
            <link>https://medium.com/@shukun6668?source=rss-cec109694d03------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 07:59:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shukun6668/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[I Gave My Personal AI a Body — Here’s What I Learned Building a Desk Companion]]></title>
            <link>https://medium.com/@shukun6668/i-gave-my-personal-ai-a-body-heres-what-i-learned-building-a-desk-companion-cad60943ec63?source=rss-cec109694d03------2</link>
            <guid isPermaLink="false">https://medium.com/p/cad60943ec63</guid>
            <category><![CDATA[muse]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[robotics]]></category>
            <category><![CDATA[embedded-systems]]></category>
            <dc:creator><![CDATA[Shukun]]></dc:creator>
            <pubDate>Fri, 27 Nov 2026 03:04:25 GMT</pubDate>
            <atom:updated>2026-11-27T03:04:25.337Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Most AI lives trapped behind a browser tab. By combining Meta’s Muse with a D-Robotics RDK X5 and a stereo camera, I built a physical companion that actually sees me, remembers my touch, and talks back.</em></p><p>By Shockley</p><p>It was around 2:00 AM on a Tuesday, and I was staring at my third consecutive compiler error. Like most developers, I had a chat window open on my second monitor, bouncing ideas off an AI. It was smart, fast, and helpful — and completely trapped inside a sterile white browser tab. Once I minimized the window, it ceased to exist.</p><p>I started wondering: what happens if a personal AI agent isn’t just an app you summon when you need boilerplate code, but a physical companion that actually shares your desk space? Something with a face, a sense of depth, and a reason to look up when you walk into the room.</p><p>So, I decided to build one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*PEZBMDFX7FyGmoZYGENY3g.png" /><figcaption>Muse Gadget</figcaption></figure><p>I paired Meta’s Muse Gadget SDK — which gives the little guy its expressive pixel face, personality, and conversational brain — with a D-Robotics RDK X5 board, a 3.5-inch Waveshare touchscreen, and a GS130WI stereo camera. The RDK X5 runs Ubuntu and handles all the local vision and spatial awareness on the edge. When I say “Hello Muse,” it wakes up, opens a live voice call through a 3.5 mm mic and USB speaker, and turns from a quiet desk ornament into a surprisingly present little partner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ctHJGmuzWuIjXy6-TNo40g.jpeg" /><figcaption><em>The finished desk companion.</em></figcaption></figure><p>Making an AI feel “alive” on a physical desk, however, comes down to tiny, unforgiving hardware and software decisions. Here is what went wrong — and how I fixed it — on the way to giving my AI a body.</p><h3>Teaching it to see without double vision</h3><p>If a physical companion is going to react to you, it needs to see your desk clearly. Swipe away from the pixel face on the touchscreen, and you enter its raw camera view. My goal was simple: stitch the stereo camera into one wide picture that fills the screen, then run a single pass of YOLO on the X5’s onboard AI accelerator to spot objects on my desk alongside hand tracking and depth estimation.</p><p>My first stitched preview looked fine — until I actually waved my hand in front of it. Even when the far edge of my desk lined up perfectly, my hand had two ghostly outlines.</p><p>You can reproduce this exact bug right now without a camera. Hold one finger up in front of your face and close your left eye, then switch to your right. Your finger jumps against the background. No matter how you slide those two images together, the background and the foreground refuse to align at the same time.</p><p>Instead of fighting physics in the center of the frame — right where a human naturally reaches out to interact — I decided to leave the middle of the left camera image completely untouched. The software matches features between the two lenses to calculate their offset, then blends the right image across a narrow 16-pixel strip near the edge. Close objects can still ghost right at that seam, but pushing the seam off-center gave my companion a crystal-clear window where it matters most.</p><p>That layout also made UI overlays painless. Because the left image starts 56 pixels into the combined frame, a fingertip detected at x = 80 in the left eye maps straight to x = 136 on the preview screen. YOLO gets the wide stitched view, while the hand tracker reads the clean left eye. And if I swipe over to the Depth page, the system pauses YOLO and feeds the raw stereo pair into StereoNet — while still letting me wave at it. <a href="https://github.com/D-Robotics/rdk-x5-muse-gadget/blob/main/docs/PET-DEMO.md">Camera pipeline and implementation notes</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xf_3dS3wLj4OJ9A1zrjTTQ.jpeg" /></figure><p><em>Seeing distance: the Depth page translates the stereo feed into a real-time thermal-style depth map.</em></p><h3>How do you teach an AI what a “pet” feels like?</h3><p>A screen that stares blankly ahead feels like a monitor. A screen whose eyes follow you feels like a creature.</p><p>For the gaze tracking, I didn’t want the pupils jittering every time I twitched a finger while typing. Instead, I averaged the coordinates of my wrist and the four knuckles at the base of my fingers. Now, I can rest my wrist on the desk and tap away without distracting it — moving my whole palm gives it a deliberate cue to look at me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PIRoe_F8OXGYvO_LMb0U_g.jpeg" /></figure><p><em>Hand landmarks tracking a V-sign on the right, while YOLO confidently mislabels the phone I’m filming with as a “remote.”</em></p><p>The harder part was teaching it to recognize affection. Bring your palm closer to the screen, and little pixel hearts pop up around its face. Sounds simple, until you leave your hand resting near the screen. Without some short-term memory, the camera sees your hand for the next hundred frames and triggers an endless, chaotic loop of heart animations. You only petted it once, yet it acts like it’s having a seizure.</p><p>To make the interaction feel natural, I gave the vision pipeline a bit of state memory. When I hold my hand steady, the X5 logs a baseline of how large my palm appears. As I reach forward, it calculates my palm’s growth using the span across my knuckles and the distance from my wrist to my middle finger. Once that smoothed size grows by roughly 35% and holds steady for a quarter of a second, it plays the cuddle animation.</p><p>Crucially, the code remembers that this specific approach has already been counted. Even if I lean closer on the next frame, nothing happens until I pull my hand back near its starting size to “reset” the gesture. That tiny rule lets me hover my hand in front of my companion for as long as I want without breaking the illusion. <a href="https://github.com/D-Robotics/rdk-x5-muse-gadget/blob/main/ros2_ws/src/muse_pet_vision/muse_pet_vision/palm_motion.py">Palm tracking code</a></p><h3>Dropping the walkie-talkie: One wake word for a real conversation</h3><p>Early on, talking to my desk pet felt like using a clunky walkie-talkie: press the screen, hold the mic icon, speak, release, wait. It worked fine for quick one-off timers, but physically reaching out to poke a button just to ask “Wait, why?” completely ruined the flow of a natural conversation.</p><p>To make it feel like a true voice companion, I integrated Sherpa-ONNX to listen locally on the X5 for the wake word “Hello Muse.”</p><p>Now, when I’m deep in thought, I don’t even have to look over or touch the desk. I just say the wake word, wait for the chime, and start talking. The X5 streams my voice to Muse and plays its reply back in real time. Better yet, the session stays open — I can listen to its answer and immediately ask a follow-up question on the same call, just like talking to someone sitting across from me. Tapping the screen hangs up. And even if my Wi-Fi drops and the cloud brain goes offline, the local vision keeps running — the little guy still sits there, quietly tracking my hand. <a href="https://github.com/D-Robotics/rdk-x5-muse-gadget/blob/main/docs/VOICE.md">Voice setup</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sbv32L3krAoY4p2ScdK3uQ.jpeg" /></figure><p><em>During a live call, Muse speaks back with real-time captions on the touchscreen.</em></p><h3>Notes from the workbench (if you want to build your own)</h3><p>If you want to give your own AI agent a physical home on your desk, do yourself a favor and test the screen and touch drivers on an open workbench before printing a single piece of plastic.</p><p>The Waveshare display uses SPI for pixels and I²C for touch. The quick installer in my repository is tuned specifically for the RDK X5’s 6.1.83 kernel and a 13-pin cable with chip select on physical pin 26. Once touch is responsive, pair the Muse Linux SDK, launch the UI, and run a test call with the guts spilled out on your desk. <a href="https://github.com/D-Robotics/rdk-x5-muse-gadget#quick-start">Quick start</a> · <a href="https://github.com/D-Robotics/rdk-x5-muse-gadget/blob/main/docs/SPI-LCD-SETUP.md">Display wiring</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EjEEt4zV1tc1UTu1u2h6xQ.jpeg" /><figcaption><em>RDK X5</em></figcaption></figure><p>I’ve open-sourced the full ROS 2 codebase, Fusion 360 assembly, and STL print files in the <a href="https://github.com/D-Robotics/rdk-x5-muse-gadget">D-Robotics repo</a>, and my RDK X5 setup notes are also merged into <a href="https://github.com/facebookincubator/muse-gadget-sdk/blob/main/linux/docs/rdk-x5.md">Meta’s official Muse Gadget SDK docs</a>.</p><p>One last hardware tip before you hit “Print”: start with the camera bracket alone. On my first attempt, I printed the entire enclosure overnight only to discover the mounting holes missed the actual camera PCB by two millimeters. Testing the bare bracket with two screws first would have saved me six hours of filament — and gotten my AI companion onto my desk a whole day earlier.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cad60943ec63" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>