<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Camera on Arshad Siddiqui</title><link>https://arshadhs.github.io/tags/camera/</link><description>Recent content in Camera on Arshad Siddiqui</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 16 Dec 2013 22:45:00 +0000</lastBuildDate><atom:link href="https://arshadhs.github.io/tags/camera/index.xml" rel="self" type="application/rss+xml"/><item><title>Surveillance</title><link>https://arshadhs.github.io/docs/technology/surveillanceraspberrypi/</link><pubDate>Mon, 16 Dec 2013 22:45:00 +0000</pubDate><guid>https://arshadhs.github.io/docs/technology/surveillanceraspberrypi/</guid><description>&lt;h1 id="raspberry-pi-surveillance">
 Raspberry Pi Surveillance
 
 &lt;a class="anchor" href="#raspberry-pi-surveillance">#&lt;/a>
 
&lt;/h1>
&lt;p>One of the hobby projects:&lt;/p>
&lt;ul>
&lt;li>Keep on capturing pictures in a loop, compare current picture with last picture, if the difference in pixel is more than threshold, capture a high resolution image, save it to RAM disk (so that memory card is safe from frequent read write operations), rename the image using date and time; e-mail it with date in subject field.&lt;/li>
&lt;li>Run a cron job to delete temporary files older than 20 minutes.&lt;/li>
&lt;li>Run the script as service and use another to monitor the service, on failure restart the service.&lt;/li>
&lt;/ul>
&lt;h3 id="python-script-to-detect-motion">
 Python script to detect motion
 
 &lt;a class="anchor" href="#python-script-to-detect-motion">#&lt;/a>
 
&lt;/h3>
&lt;p>(To Do: add git link for the code here))&lt;/p></description></item></channel></rss>