Browsed by
Category: Research and Development

Cutting through the smoke with Retinex

Cutting through the smoke with Retinex

This year, most of August was unfit for bike riding due to wildfire smoke in the air. There was a 10 day stretch where the visibility scale reached zero. Standing on the shores at Shilshole, the smoke was so thick that land wasn’t visible across the Puget Sound. I wondered if land was still visible from a digital camera, even though I couldn’t see it. There is an imaging processing technique call Retinex that is used to enhance the dynamic…

Read More Read More

RClone is the Rsync with the Cloud

RClone is the Rsync with the Cloud

RClone is an extended feature set to rsync which provides a way to use cloud storage for file backups. To install it, refer to this link https://rclone.org/downloads/. In my example I run these commands to download and install RClone. wget https://downloads.rclone.org/v1.42/rclone-v1.42-linux-amd64.deb sudo dpkg –install rclone-v1.42-linux-amd64.deb Next is to configure RClone to use the cloud service. I ran this command to do that. Refer to this link, https://www.hwrrobotics.com/tutorials/installingRcloneUbuntu14.04 or https://www.unixmen.com/install-configure-rclone-debian-8/ rclone config 2018/08/07 04:02:03 NOTICE: Config file “/home/local/.config/rclone/rclone.conf” not found -…

Read More Read More

FFMpeg motion detection

FFMpeg motion detection

FFMpeg motion detection offers a way to create videos that are smaller and shorter becuase it only captures changed scenes. This post discussed the topic, https://superuser.com/questions/984841/ffmpeg-remove-parts-without-motion. Here is the command I used based off of this conversation. ffmpeg -i “http://viewr1:viewr1@192.168.6.184/mjpeg/stream.cgi?chn=0” -vf “select=gt(scene\,0.004),setpts=N/(25*TB)” IPCam4_Motion.mp4 The one thing I noticed was the timestamp in the video is being detected as a scene change, this introduces a higher noise floor. I found that my lowest scene value to be .004. This site, http://www.bogotobogo.com/FFMpeg/ffmpeg_thumbnails_select_scene_iframe.php…

Read More Read More