<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: gunerii55-ui</title>
    <description>The latest articles on DEV Community by gunerii55-ui (@gunerii55ui).</description>
    <link>https://dev.to/gunerii55ui</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4277244%2Ffdc5cd8e-425c-4ec2-805f-6187629c11d6.png</url>
      <title>DEV Community: gunerii55-ui</title>
      <link>https://dev.to/gunerii55ui</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gunerii55ui"/>
    <language>en</language>
    <item>
      <title>How I Turned a $25 Tapo Camera Into a 100% Local Face &amp; Back-View Outfit Recognition Concierge (No Coral TPU)</title>
      <dc:creator>gunerii55-ui</dc:creator>
      <pubDate>Tue, 01 Dec 2026 23:36:59 +0000</pubDate>
      <link>https://dev.to/gunerii55ui/how-i-turned-a-25-tapo-camera-into-a-100-local-face-back-view-outfit-recognition-concierge-no-1e6i</link>
      <guid>https://dev.to/gunerii55ui/how-i-turned-a-25-tapo-camera-into-a-100-local-face-back-view-outfit-recognition-concierge-no-1e6i</guid>
      <description>&lt;p&gt;Most DIY hallway face-recognition setups (&lt;code&gt;Frigate&lt;/code&gt; + &lt;code&gt;Double Take&lt;/code&gt; + &lt;code&gt;CompreFace&lt;/code&gt; + Coral TPU) share one annoying real-world flaw: &lt;strong&gt;when someone is walking toward the front door to leave the house, their back is turned to the camera.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Face recognition works great when you walk &lt;em&gt;in&lt;/em&gt;, and goes blind the exact moment you walk &lt;em&gt;out&lt;/em&gt;—which is when you actually want contextual reminders or exit presence sensors.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;WhoIsCam&lt;/strong&gt; to solve entryway cameras inside a single lightweight &lt;code&gt;amd64&lt;/code&gt;/&lt;code&gt;arm64&lt;/code&gt; Docker container (and native Home Assistant OS Add-on) running 100% locally on CPU—no Coral TPU, no GPU, and zero cloud video uploads.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Solving Back-View Recognition with 16-Hour Spatial Outfit ReID
&lt;/h2&gt;

&lt;p&gt;Instead of relying on faces alone:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Whenever &lt;strong&gt;YuNet + Consensus SFace&lt;/strong&gt; (128-D face embeddings running on CPU) identifies a household member walking &lt;em&gt;in&lt;/em&gt; or passing the hallway, WhoIsCam extracts a &lt;strong&gt;40-D spatial HSV/LAB upper + lower clothing signature&lt;/strong&gt; and caches it locally for 16 hours.&lt;/li&gt;
&lt;li&gt;Later that day, when the same person walks toward the front door with their &lt;strong&gt;back turned&lt;/strong&gt;, WhoIsCam matches their spatial outfit vector + normalized height ratio against active household members—still knowing &lt;em&gt;who&lt;/em&gt; is leaving.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. Making Tiny $25 IP Camera Speakers Sound Clear (Hardware Acoustic EQ)
&lt;/h2&gt;

&lt;p&gt;Cheap indoor RTSP cameras (like Tapo C200/C210/C222) have tiny resonance-heavy speakers that turn standard TTS audio into muddy, unintelligible noise.&lt;/p&gt;

&lt;p&gt;Before pushing audio over the RTSP backchannel (via embedded &lt;code&gt;go2rtc&lt;/code&gt;), WhoIsCam pipes TTS speech through a tuned FFmpeg acoustic filter chain:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;highpass&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;f&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;250,equalizer=f=3000:width_type=h:width=1500:g=6,acompressor
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Cutting low-end box resonance below 250Hz and boosting 3kHz vocal presence makes short exit reminders (&lt;em&gt;"Don't forget your umbrella"&lt;/em&gt;) crisp and intelligible even across a hallway.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Zero SD-Card Wear with &lt;code&gt;/dev/shm&lt;/code&gt; RAM Ring-Buffer Clips
&lt;/h2&gt;

&lt;p&gt;Continuously writing short MP4 clips to disk destroys Raspberry Pi SD cards. WhoIsCam stream-copies (&lt;code&gt;-c:v copy&lt;/code&gt;, near-zero CPU) event clips directly into a bounded &lt;code&gt;/dev/shm&lt;/code&gt; RAM ring buffer, so &lt;code&gt;0 bytes&lt;/code&gt; of video hit your SD card or SSD.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Visual Mirror Masking &amp;amp; Single-Arrow Exit Vector
&lt;/h2&gt;

&lt;p&gt;Hallway mirrors and TVs are notorious for ghost face detections. The built-in canvas lets you draw exclusion masks over mirrors/TVs and drag a single &lt;strong&gt;Exit Direction Arrow&lt;/strong&gt; to fit any camera mounting angle—no YAML coordinate math needed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try It Locally (60 Seconds)
&lt;/h2&gt;

&lt;p&gt;Community Edition (&lt;strong&gt;1 camera, 3 person profiles, local CPU face recognition, zone canvas, Home Assistant sensor&lt;/strong&gt;) is free forever. Optional Pro ($49 one-time lifetime—activates once and runs 100% offline forever—or $4.99/mo) unlocks unlimited cameras/people, 16-hour back-view outfit ReID, two-way speaker reminders, and RAM clips.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repo &amp;amp; Home Assistant Add-on / &lt;code&gt;docker-compose.yml&lt;/code&gt;:&lt;/strong&gt; &lt;a href="https://github.com/gunerii55-ui/whoiscam" rel="noopener noreferrer"&gt;https://github.com/gunerii55-ui/whoiscam&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Docs &amp;amp; Overview:&lt;/strong&gt; &lt;a href="https://gunerii55-ui.github.io/" rel="noopener noreferrer"&gt;https://gunerii55-ui.github.io/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Happy to share more details on the OpenCV/ONNX CPU pipeline, acoustic EQ tuning, or &lt;code&gt;go2rtc&lt;/code&gt; two-way audio setup in the comments!&lt;/p&gt;

</description>
      <category>homeassistant</category>
      <category>docker</category>
      <category>python</category>
      <category>selfhosted</category>
    </item>
  </channel>
</rss>
