Even though my attempt at OpenCV was successful, it took a long time to execute and finish. I tried finding “myself” in 13,000 photos. It took several hours to complete and it was only able to find me 11 times in 13,000 security camera images. While it was running, my CPU usage was at 100% the entire time. Mind you, I initially ran the code on my PC (i7-6700K, overclocked), and a GTX 1080Ti GPU, and CPU/GPU was still the bottleneck! So I knew I had to either increase CPU power, create better models, or simply give up with the face recognition idea, but I usually don’t give up so… 🙂 Here’s Intel’s version 2 of it Neural Compute Stick. It runs Myriad X as opposed to Myriad 2, and is supposedly 8x faster than the previous generation. It’s a Vision Processing Unit (VPU) that off-loads processing from the host’s…

Read more

This how-to shows how to automatically show your security camera feed to your TV. In this tutorial, I am using a Samsung TV, but should be applicable to other TVs with minor changes here and there. I am also using Orange Pi Flow (Super quick summary): Camera motion triggered -> Send to openHAB openHAB triggers PIP on TV PIP video feed comes from the Orange Pi through the COAX cable. SOME NOTES For my TV (and any other TVs I have owned), you can only PIP with a digital signal and an analog signal. In the case of my TV, the primary display is the HDMI feed, and the PIP display comes from the COAX feed. Most TVs work this way. I still yet to find and own a TV that PIPs two HDMI signals at once. I have been asked many times (forum, and in person) how I am…

Read more

A simple HTML minifier for ESP/microcontrollers GitHub/LuckyMallari For embedded systems where memory is crucial, you’d want to save as much as possible. Even unnecessary spaces should be removed because every bit counts! What this code does is take your HTML code and minimizes it using regular expression. It DOES not minify the code like others do, it will simply remove unnecessary characters. I use this primarily for ESP when a simple html code will be served using a lightweight webserver. The magic happens here:

Created a universal keypad for openHAB’s HABPanel interface. You can see the discussion here: Universal Keypad Code is now open-source (GPL v3) here: GitHub/LuckyMallari The key here is to make widget simple to use and edit by users so a large settings page was created. The entire widget also uses no Javascript code and is purely handled by events and techniques using AngularJS templates. All logic is done in the template itself. Requiring no JS code will be beneficial to new users with little to no experience in Javascript, particularly AngularJS Demo   Settings   Style-able through settings or CSS   Responsive

Hi there folks! First post! Making history here. I’m looking forward to sharing my thoughts and ideas here, whether it’s as complex as circuitry, as confusing as code, or as plain as describing what farting feels like.  I don’t write as much as I code, but hopefully I’ll be able to convey my thoughts in words exactly how I think of them so bare with me. I have a few plans already lined up for the site. First, update the theme as you can see, it’s still the default one.  Still unsure though; I actually like the theme. It’s simple and elegant. I’ll create sections for coding, Arduino/IoT or electronics in general, Speed section (thing cars and motorcycles), and a “family” page. I have done a lot of things in my years of experience in the IT world, so one-by-one if time permits, I will share them all with you.…

Read more