Browsed by
Category: Data Mining

Image to Video to Image using FFMpeg

Image to Video to Image using FFMpeg

In this post, I’ll demonstrate how to take a series of images and convert them into a video. I’ll also demonstrate how to convert a video into a series of images, were we can do some interesting things. Lets start with image to video conversion. For this example I’ll be using images that have been scrapped from the web for the past year. I run a script that downloads a new image every 5 minutes. As it downloads them, the…

Read More Read More

IOS Sensor Tracking with SensorLog

IOS Sensor Tracking with SensorLog

Over the years I’ve used a variety of sensor tracking programs that ran on smart phones. These programs will read the sensors built in the phone and log them. I like this because it uses hardware that is already available. There are many apps that I have used to do this. The latest one I used is called SensorLog authored by Bernd Thomas. As of this writing it is at version 1.9.2, dated June 2nd, 2017. I’ll be covering some…

Read More Read More

Bicycle Helmet Embedded Electronics

Bicycle Helmet Embedded Electronics

Several years ago I purchased a small video camera that was shaped like a flashlight for $50.  It had VGA 640 x 480 30 fps video quality and would record up to 2 hours on a single charge.  I used it to record several bike rides around the county on numerous bike trails.  The videos provided a way to recall the conditions and experiences which I used to plan future trips. A couple of years later I purchased some 808…

Read More Read More

Metering electrical service to the home

Metering electrical service to the home

This project involves working near and around the electrical service panel. Do not perform these steps unless you are a licensed and qualified electrician. You assume all risk and liability. The information contained here is merely for reference purposes, I do not take any responsibility for the loss of property or life should anyone not follow this warning. Home energy use accounts for 11% of the total energy consumed nation wide. Typically, homes have a variety of energy services provided…

Read More Read More

Cacti and Custom Data Source Monitoring Part 2 of 2

Cacti and Custom Data Source Monitoring Part 2 of 2

Custom Data Sources Now that Cacti is up and running, let’s get some data from data sources that typically aren’t covered. The Raspberry Pi is unique in the sense that CPU temperature can be monitored using a program called vcgencmd. Great thing about this program is it’s already installed. Run the following command from the terminal. You should get a reading back along the lines of “temp=42.0’C”. If you do, great. We’re going to need to create a script that…

Read More Read More

Cacti and Custom Data Source Monitoring Part 1 of 2

Cacti and Custom Data Source Monitoring Part 1 of 2

Introduction and Background I had posted about Cacti and setting up graphing from unorthodox data sources before. When I stepped back through those documented steps, I didn’t get the expected results. The inaccurate and vague information on that post prompted me to take a hard top to bottom look at the process. For anyone that had viewed that post and become confused by it, I do apologize. I dedicate this post to you as a humble attempt to right my…

Read More Read More

Encryption, AI, and the IoT word on the street

Encryption, AI, and the IoT word on the street

One of the last stories I read about at the end of 2016 was about a hedge fund company and its use of AI, (Hedge fund turns to AI…https://nakedsecurity.sophos.com/2016/12/30/hedge-fund-turns-to-ai-to-navigate-through-the-maze/). The algorithms they use for trading stocks have been in place for quite some time now. The story struck me not because of this. What I found compelling was their intent on applying AI to their business operations. Bridgewater Associates has what they call a “Principles Operating System” or PriOS for…

Read More Read More

Netpbm – The Portable Anymap Format

Netpbm – The Portable Anymap Format

Presenting visual data readings into an image file can seem challenging. It need not be thanks to the Netpbm (https://en.wikipedia.org/wiki/Netpbm_format) file formats. First developed by Jef Poskanzer (https://en.wikipedia.org/wiki/Jef_Poskanzer) as a means of sending image data via email. The early adaptations of email did not work well with data other than ASCII. Messages would become corrupt if binary data was included in messages. Today, this is not an issue. However, the work around for this was to use one of the…

Read More Read More

Field Scanning

Field Scanning

Here I’ll cover how sensors can collect readings from an environment and represent those readings in a practical way.  The most common field scanning devices are flat bed scanners and cameras.  These devices either have a line of sensors or an array of them to take readings quickly.  Flat bed scanners typically have a line of sensors that detect light and color.  As the sensors move along the surface of an object, typically paper, they buffer the readings into memory. …

Read More Read More

FOV – Field of View

FOV – Field of View

How can measurements be made when you can’t directly measure them? Measuring the height of a building could be done by someone hanging a string from the rooftop and then measuring the string. What if you can’t get access to the rooftop? What if you needed to measure the span of a lake or height of a mountain? Good luck using that string. Here is how FOV can be used as a measurement tool for objects in pictures, videos, etc….

Read More Read More