<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Posts on escaleram.dev</title>
        <link>https://escaleram.dev/categories/post/</link>
        <description>Recent content in Posts on escaleram.dev</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-us</language>
        <lastBuildDate>Thu, 29 Oct 2026 15:38:40 +0000</lastBuildDate><atom:link href="https://escaleram.dev/categories/post/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>Private Home Surveillance</title>
            <link>https://escaleram.dev/p/frigate/</link>
            <pubDate>Thu, 29 Oct 2026 15:38:40 +0000</pubDate>
            <guid>https://escaleram.dev/p/frigate/</guid>
            <description>&lt;img src=&#34;https://escaleram.dev/p/frigate/frigateScreenshot.jpg&#34; alt=&#34;Featured image of post Private Home Surveillance&#34; /&gt;&lt;div style=&#34;text-align: center&#34;&gt;&#xA;&#xA;    &lt;blockquote&gt;&#xA;        &lt;p&gt;Cover photo blurred to protect my location.&lt;/p&gt;&#xA;&#xA;    &lt;/blockquote&gt;&#xA;&lt;/div&gt;&#xA;&lt;h2 id=&#34;intro&#34;&gt;Intro&#xA;&lt;/h2&gt;&lt;p&gt;I don&amp;rsquo;t love handing over my sensitive data to Big Tech. When I considered getting a home surveillance system to watch my cat, I worried about where that data was ending up.&lt;/p&gt;&#xA;&lt;p&gt;So I thought why not keep it local.&lt;/p&gt;&#xA;&lt;p&gt;After a bit of research I found &lt;a class=&#34;link&#34; href=&#34;https://frigate.video/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Frigate NVR&lt;/a&gt; which addressed all my concerns and came with some pretty powerful features to play with.&lt;/p&gt;&#xA;&lt;p&gt;Below I talk about how I configured Frigate with object detection, face recognition, and more on afforadable hardware!&lt;/p&gt;&#xA;&lt;h2 id=&#34;hardware&#34;&gt;Hardware&#xA;&lt;/h2&gt;&lt;div style=&#34;text-align: center&#34;&gt;&#xA;&lt;h3 id=&#34;cameras&#34;&gt;Cameras&#xA;&lt;/h3&gt;&lt;/div&gt;&#xA;&lt;div style=&#34;text-align: center&#34;&gt;&#xA;&lt;p&gt;Prices below as of 2026:&lt;/p&gt;&#xA;&lt;/div&gt;&#xA;&lt;pre&gt;&lt;code&gt;- 4x Tapo C101 (Used on Amazon - $50)&#xA;- 2x Tapo C217 (Amazon - $60)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Im using the C101 camera model indoors and the C217 outdoors.&lt;/p&gt;&#xA;&lt;p&gt;Both of these models support RTSP; the C217 also supports pan/tilt features over ONVIF.&#xA;&lt;br&gt;&lt;/br&gt;&lt;/p&gt;&#xA;&lt;div style=&#34;text-align: center&#34;&gt;&#xA;&lt;h3 id=&#34;pc-hardware&#34;&gt;PC Hardware&#xA;&lt;/h3&gt;&lt;/div&gt;&#xA;&lt;p&gt;You will want a mid-range PC with a decent GPU or a Raspberry Pi to run Frigate.&lt;/p&gt;&#xA;&lt;p&gt;Object detection will be best with an AI Coprocessor. If you dont have one but want to test out detection, you could also configure a dedicated GPU to run a lightweight model.&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;m using the Google Coral TPU USB Accelerator (Amazon - ~$100) to run my object detection. This is only one option of many. See &lt;a class=&#34;link&#34; href=&#34;https://docs.frigate.video/configuration/object_detectors&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Frigate&lt;/a&gt; docs for more.&lt;/p&gt;&#xA;&lt;p&gt;My GPU is an NVIDIA GeForce RTX 2060 purchased nearly 10 years ago. All I need it for is rendering the camera stream, but it handles lightweight AI models just fine through the &lt;a class=&#34;link&#34; href=&#34;https://docs.frigate.video/configuration/object_detectors/#onnx&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;ONNX&lt;/a&gt; format.&lt;/p&gt;&#xA;&lt;div style=&#34;text-align: center&#34;&gt;&#xA;&lt;p&gt;Total cost for cameras and AI Coprocessor: &lt;strong&gt;$210.00&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/div&gt;&#xA;&lt;h2 id=&#34;software&#34;&gt;Software&#xA;&lt;/h2&gt;&lt;div style=&#34;text-align: center&#34;&gt;&#xA;&lt;h3 id=&#34;pc-environment&#34;&gt;PC Environment&#xA;&lt;/h3&gt;&lt;/div&gt;&#xA;&lt;h4 id=&#34;docker&#34;&gt;Docker&#xA;&lt;/h4&gt;&lt;p&gt;Frigate runs on &lt;a class=&#34;link&#34; href=&#34;https://docs.docker.com/get-started/docker-overview/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Docker&lt;/a&gt;. Some experience here will go a long way, but it&amp;rsquo;s doable for a beginner and Frigate thorough &lt;a class=&#34;link&#34; href=&#34;https://docs.frigate.video/frigate/installation/#docker&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;documentation&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Make sure you&amp;rsquo;re comfortable with creating containers with a docker-compose.yaml config file, bind mounting, port mapping, and reading the build time logs. These skills will be helpful if things go south.&lt;/p&gt;&#xA;&lt;h4 id=&#34;operating-system&#34;&gt;Operating System&#xA;&lt;/h4&gt;&lt;p&gt;My flavor of Linux is &lt;a class=&#34;link&#34; href=&#34;https://cachyos.org/about/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;CachyOS&lt;/a&gt;. I find Linux a bit more compatible with Docker, but I&amp;rsquo;ve also spun up Frigate containers in Windows no problem.&#xA;&lt;img alt=&#34;CachyOS&#34; class=&#34;gallery-image&#34; data-flex-basis=&#34;261px&#34; data-flex-grow=&#34;108&#34; height=&#34;459&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://escaleram.dev/p/frigate/cachy.png&#34; width=&#34;500&#34;&gt;&lt;/p&gt;&#xA;&lt;h4 id=&#34;storage&#34;&gt;Storage&#xA;&lt;/h4&gt;&lt;p&gt;You&amp;rsquo;re gonna want a good amount of storage reserved for the detections and recordings. It all depends on what you choose to record/detect. I have 500GB reserved, but I only save recordings for 72 hours so I rarely cross 200GB of utilization.e&lt;/p&gt;&#xA;&lt;h4 id=&#34;tailscale&#34;&gt;Tailscale&#xA;&lt;/h4&gt;&lt;p&gt;Spinning up a container on your home PC is great for keeping your data local, but it&amp;rsquo;s not very useful if you can&amp;rsquo;t deploy outside your home network.&lt;/p&gt;&#xA;&lt;p&gt;That&amp;rsquo;s where &lt;a class=&#34;link&#34; href=&#34;https://tailscale.com/docs/concepts/what-is-tailscale&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Tailscale&lt;/a&gt; comes in!&lt;/p&gt;&#xA;&lt;p&gt;Tailscale lets me set up a private network, aka &lt;a class=&#34;link&#34; href=&#34;https://tailscale.com/docs/concepts/tailnet&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Tailnet&lt;/a&gt;, where I can control who gets in through a convenient desktop or mobile app. That way I can route my home network traffic through a &lt;a class=&#34;link&#34; href=&#34;https://tailscale.com/docs/concepts/zero-trust&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Zero Trust&lt;/a&gt; connectivity platform to devices pretty much anywhere.&lt;/p&gt;&#xA;&lt;p&gt;I won&amp;rsquo;t bother going over set up of Tailscale; it&amp;rsquo;s quite painless. Just make sure you read up on &lt;a class=&#34;link&#34; href=&#34;https://tailscale.com/docs/reference/best-practices/security&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;security&lt;/a&gt; and understand the risks.&lt;/p&gt;&#xA;&lt;div style=&#34;text-align: center&#34;&gt;&#xA;&lt;h3 id=&#34;cameras-1&#34;&gt;Cameras&#xA;&lt;/h3&gt;&lt;/div&gt;&#xA;&lt;p&gt;The Tapo cameras require you to create an account for setup. After the initial setup, the cameras stream directly to TP-Links proprietary cloud platform.&lt;/p&gt;&#xA;&lt;p&gt;I dont love that&amp;hellip;&lt;/p&gt;&#xA;&lt;p&gt;I opted to configure RTSP streams and route them locally, while preventing the cameras from directly accessing the internet.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;NOTE: TP-Link does not make it easy to keep the camera streams isolated from external servers. If it were up to me this would be a toggle switch.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;In order to prevent camera streams from reaching Tapo servers, you must configure each camera with a static IP and a bad gateway. You should do so only after you&amp;rsquo;ve set up the RTSP streams in Frigate.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img alt=&#34;Gateway Configuration&#34; class=&#34;gallery-image&#34; data-flex-basis=&#34;110px&#34; data-flex-grow=&#34;46&#34; height=&#34;3120&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://escaleram.dev/p/frigate/Gateway.jpg&#34; srcset=&#34;https://escaleram.dev/p/frigate/Gateway_hu_9834475944033db6.jpg 800w, https://escaleram.dev/p/frigate/Gateway.jpg 1440w&#34; width=&#34;1440&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Configuring a bad IP will immediately kick the cameras &amp;ldquo;offline&amp;rdquo;, but you can keep tapping into the RTSP streams.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Now you have camera streams a wireless camera stream, and the data stays right on your network!&lt;/p&gt;&#xA;&lt;div style=&#34;text-align: center&#34;&gt;&#xA;&lt;h3 id=&#34;object-detection&#34;&gt;Object Detection&#xA;&lt;/h3&gt;&lt;/div&gt;&#xA;&lt;div style=&#34;text-align: center&#34;&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; In order to use object detection you must also configure motion detection.&lt;/p&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;The quality of your object detections is going to be dependent on a few key parameters:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;- Model Choice&#xA;- Input Resolution&#xA;- Variant Size (if using YOLOv9 models)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I&amp;rsquo;m using the &lt;em&gt;small&lt;/em&gt; variant of YOLOv9 with an input resolution of 320x320. You might think running larger input resolution would produce better results, &lt;a class=&#34;link&#34; href=&#34;https://docs.frigate.video/configuration/object_detectors/#choosing-a-model-size&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;but this is not the case&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;320x320 is better shot at detecting small objects than a 640x640 input; the model is only able to fit more objects into a single detection if the camera resolution is increased.&lt;/p&gt;&#xA;&lt;p&gt;Once you&amp;rsquo;ve configured motion detection and object detection, Frigate will start handing over detections for review.&lt;/p&gt;&#xA;&lt;p&gt;The categories of object Frigate will shows depend on a few things:&#xA;- Limitations of your model&#xA;- The labels file (provides annotations)&#xA;- What you configure Frigate to show you&lt;/p&gt;&#xA;&lt;h3 id=&#34;semantic-search&#34;&gt;Semantic Search&#xA;&lt;/h3&gt;&lt;p&gt;One of my favorite features available on Frigate is Semantic Search.&lt;/p&gt;&#xA;&lt;p&gt;This feature takes object detections and runs them through another Local AI model from Jina AI, &lt;a class=&#34;link&#34; href=&#34;https://huggingface.co/jinaai/jina-clip-v1#intended-usage--model-info&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;jina-clip-v1&lt;/a&gt;, which adds embeddings to your detections. A more digestable blog post on the model lives &lt;a class=&#34;link&#34; href=&#34;https://jina.ai/news/jina-clip-v1-a-truly-multimodal-embeddings-model-for-text-and-image/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;You should also check out this awesome &lt;a class=&#34;link&#34; href=&#34;https://www.youtube.com/watch?v=rw1YfQQttfo&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;video on embeddings&lt;/a&gt; to learn more.&lt;/p&gt;&#xA;&lt;p&gt;jina-clip-v1 embeds both images and text into the same embedding space, which basically means I can do text→image and image→image search on my detections. For example, here I search my detection database for the term &amp;ldquo;white shirt&amp;rdquo;:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img alt=&#34;Semantic Search&#34; class=&#34;gallery-image&#34; data-flex-basis=&#34;153px&#34; data-flex-grow=&#34;63&#34; height=&#34;2247&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://escaleram.dev/p/frigate/SemanticSearch.jpg&#34; srcset=&#34;https://escaleram.dev/p/frigate/SemanticSearch_hu_c48d0985f9537f8f.jpg 800w, https://escaleram.dev/p/frigate/SemanticSearch.jpg 1438w&#34; width=&#34;1438&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Pretty cool, right? Another feature let&amp;rsquo;s me quickly compare a current detection to the database of historical detections (image→image).&lt;/p&gt;&#xA;&lt;h3 id=&#34;face-recognition&#34;&gt;Face Recognition&#xA;&lt;/h3&gt;&lt;p&gt;Setting up facial recognition is super intuitive. Simply add some clear images of the subjects face and Frigate will start classifying people detected with sub_labels based on their face.&lt;/p&gt;&#xA;&lt;p&gt;You can also train these facial detections easily and directly in the user interface. It is crucial you train based on a set of high quality images with diverse lighting, orientation, etc.&lt;/p&gt;&#xA;&lt;p&gt;Training on a poor dataset will quickly degrade the quality of your classifications.&lt;/p&gt;&#xA;&lt;p&gt;You also want to avoid training on images that were already classified with a relatively high score. This could lead to overfitting.&lt;/p&gt;&#xA;&lt;h2 id=&#34;outro&#34;&gt;Outro&#xA;&lt;/h2&gt;&lt;p&gt;So that&amp;rsquo;s a brief write-up on how I&amp;rsquo;m using Frigate. There are still plenty of features I want to try out (object states, zones, license plate recognition, and more).&lt;/p&gt;&#xA;&lt;p&gt;If I get the sense enough people care I may end up creating a full tutorial and sharing my anonymized configuration file and Docker Compose file.&lt;/p&gt;&#xA;&lt;p&gt;I want more people I know to get into this. I&amp;rsquo;d like some nerds to talk this stuff over with!&lt;/p&gt;&#xA;&lt;div style=&#34;text-align: center&#34;&gt;&#xA;&lt;p&gt;&lt;em&gt;&amp;rsquo;til next time!&lt;/em&gt;&lt;/p&gt;&#xA;&lt;/div&gt;</description>
        </item><item>
            <title>Hello World!</title>
            <link>https://escaleram.dev/p/hello-world/</link>
            <pubDate>Sat, 24 Oct 2026 21:12:00 +0000</pubDate>
            <guid>https://escaleram.dev/p/hello-world/</guid>
            <description>&lt;img src=&#34;https://escaleram.dev/p/hello-world/ecoli.jpg&#34; alt=&#34;Featured image of post Hello World!&#34; /&gt;&lt;p&gt;Welcome to my first website! I&amp;rsquo;m so happy you are here.&lt;/p&gt;&#xA;&lt;p&gt;I put this site together using &lt;a class=&#34;link&#34; href=&#34;https://gohugo.io/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Hugo&lt;/a&gt; and I&amp;rsquo;m hosting it on &lt;a class=&#34;link&#34; href=&#34;https://cloud.google.com/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Google Cloud&lt;/a&gt; with a domain i purchased from &lt;a class=&#34;link&#34; href=&#34;https://www.cloudflare.com/domains/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Cloudflare Registrar&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Want a site like this? Check out &lt;a class=&#34;link&#34; href=&#34;https://github.com/CaiJimmy/hugo-theme-stack-starter&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;hugo-theme-stack-stater&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;    &lt;blockquote&gt;&#xA;        &lt;p&gt;Photo by Eric Erbe, digital colorization by Christopher Pooley, both of USDA, ARS, EMU. - This image was released by the Agricultural Research Service, the research agency of the United States Department of Agriculture, with the ID K11077-1.&lt;/p&gt;&#xA;&#xA;    &lt;/blockquote&gt;&#xA;</description>
        </item></channel>
</rss>
