{"id":8128,"date":"2015-05-05T04:36:14","date_gmt":"2015-05-05T02:36:14","guid":{"rendered":"http:\/\/lukse.lt\/uzrasai\/?p=8128"},"modified":"2015-05-05T08:09:21","modified_gmt":"2015-05-05T06:09:21","slug":"12-million-pictures-a-year-a-recipe-to-ruin-your-dslr","status":"publish","type":"post","link":"https:\/\/lukse.lt\/uzrasai\/2015-05-12-million-pictures-a-year-a-recipe-to-ruin-your-dslr\/","title":{"rendered":"1\/2 million pictures a year &#8211; a recipe to ruin your DSLR"},"content":{"rendered":"<p style=\"text-align: justify;\"><a href=\"http:\/\/lukse.lt\/uzrasai\/2015-05-12-million-pictures-a-year-a-recipe-to-ruin-your-dslr\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-8129 size-full\" src=\"http:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2015\/04\/mosaic_04-00-00_t.jpg\" alt=\"mosaic_04-00-00_t\" width=\"200\" height=\"134\" \/><\/a>To be short I will be talking about long term tethered time-lapse photography (it is also a good platform for construction camera). While final movie can be very short this kind of photography involves lots of planning and technical skills. During long time time lapse project a lot of things can go wrong. Also prepare to ruin your DSLR if you are using one.<\/p>\n<div align=\"center\"><!--more--><\/div>\n<p style=\"text-align: justify;\">Today I will talk about one of my long term time-lapse setups. It was a Nikon D80 installed in office taking pictures of building construction, so it had pretty good operating conditions and died after almost 500000 pictures, which is much more than rated by manufacturer and I am pretty pleased by results. Today I have several experimental setups and they are all different:<\/p>\n<ul>\n<li style=\"text-align: justify;\">Nikon DSLR indoors (Camera died after 500k pictures taken)<\/li>\n<li style=\"text-align: justify;\">Canon DSLR outdoors (online, 100k and counting)<\/li>\n<li style=\"text-align: justify;\">IP-cam indoors (picture count is not relevant, almost a year online)<\/li>\n<li style=\"text-align: justify;\">IP-cam outdoors (picture count is not relevant, almost a year online)<\/li>\n<li style=\"text-align: justify;\"><a href=\"http:\/\/lukse.lt\/uzrasai\/2013-07-ilgo-laikotarpio-time-lapse-fotografavimas\/\">Hacked Canon G7 Point\/Shoot camera outdoors<\/a> (More than 2 years online, relocated 2 times, still operating, more than 1000000 pictures taken)<\/li>\n<li style=\"text-align: justify;\">GoPro 3 black hero (unreliable camera, was online for 2 months then died)<\/li>\n<li style=\"text-align: justify;\"><a href=\"http:\/\/lukse.lt\/uzrasai\/2013-08-nauja-kamera-ventes-rage\/\">ActionCam outdoors @ Ventes Ragas<\/a> (was online for a 9 months, relocated, needs to be fixed)<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>Preparation<\/h2>\n<ul>\n<li style=\"text-align: justify;\"><strong>Dirty windows<\/strong>. Outside window will always get dirty. It is a good thing to install your camera near a window you can open. Watch and clean it constantly.<\/li>\n<li style=\"text-align: justify;\"><strong>Reflections<\/strong>. Unless you install camera in black room, in certain conditions there will be reflections from objects in a room. Mount shade around lens. Window facing side should be painted black non-reflective color.<\/li>\n<li style=\"text-align: justify;\"><strong>Eye piece<\/strong>. Unless room will be black during dark times, you must cover DSLR eye piece (see blue masking tape in a picture above). If you shine some light into it &#8211; exposure will be off and nocturnal shoots will be ruined.<\/li>\n<li style=\"text-align: justify;\"><strong>Remote location<\/strong>. Consider locating your camera in place where it will not be disturbed. You don&#8217;t want your camera to be touched during long time.<\/li>\n<\/ul>\n<div id=\"attachment_8151\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a onclick=\"javascript:pageTracker._trackPageview('\/downloads\/uzrasai\/wp-content\/uploads\/2015\/04\/2014-04-04-13.35_r.jpg');\"  href=\"http:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2015\/04\/2014-04-04-13.35_r.jpg\" rel=\"lightbox[8128]\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8151\" class=\"wp-image-8151 size-medium\" src=\"http:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2015\/04\/2014-04-04-13.35_r-300x400.jpg\" alt=\"2014-04-04 13.35_r\" width=\"300\" height=\"400\" srcset=\"https:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2015\/04\/2014-04-04-13.35_r-300x400.jpg 300w, https:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2015\/04\/2014-04-04-13.35_r.jpg 750w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-8151\" class=\"wp-caption-text\">Setup<\/p><\/div>\n<p style=\"text-align: justify;\">\n<h2>How it&#8217;s made<\/h2>\n<p>Office installation in <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.sunrisevalley.lt\/');\"  href=\"http:\/\/www.sunrisevalley.lt\/\">sunrisevalley<\/a> was pretty straight forward. Camera is facing <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.vgtu.lt\/');\"  href=\"http:\/\/www.vgtu.lt\/\">VGTU<\/a> new building.<\/p>\n<ul>\n<li>Nikon D80 camera (thank you Juozas for donating one!)<\/li>\n<li><a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.8devices.com\/carambola-2');\"  href=\"http:\/\/www.8devices.com\/carambola-2\">Carambola2<\/a> (with plexiglass case to protect against dust)<\/li>\n<li>Some trivial harness (Tripod, AC power supply for camera and Carambola, cables, UPS if available, temporary offline local storage is also good choice)<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">Carambola runs OpenWrt with installed gphoto. Nothing special for indoor installation. Unfortunately this setup hangs from time to time. Seems like it is Nikon USB issue &#8211; it is not designed for this kind of application. To reset &#8211; camera has to be rebooted. For completely unattended setup there should be installed relay for powering camera off and on.<\/p>\n<h2><\/h2>\n<h2>How it works<\/h2>\n<p style=\"text-align: justify;\">Crond script running on Carambola2 fires script every minute &#8211; it takes a picture and uploads to server via FTPS (FTP with SSL security). Write only FTP server is also specially written Python script, which executes set of scripts after receiving a file. File is being resized, post-processed and archived. Also movie is being created every hour starting 00:00 hour. Resized and post-processed photo and video is pushed for public consumers using websockets.<\/p>\n<div id=\"attachment_8157\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a onclick=\"javascript:pageTracker._trackPageview('\/downloads\/uzrasai\/wp-content\/uploads\/2015\/04\/web_.png');\"  href=\"http:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2015\/04\/web_.png\" rel=\"lightbox[8128]\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8157\" class=\"wp-image-8157 size-medium\" src=\"http:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2015\/04\/web_-400x203.png\" alt=\"web_\" width=\"400\" height=\"203\" srcset=\"https:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2015\/04\/web_-400x203.png 400w, https:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2015\/04\/web_.png 1000w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-8157\" class=\"wp-caption-text\">Public live web preview (+few other cameras)<\/p><\/div>\n<p style=\"text-align: justify;\">This machinery is being hosted on commercial server to maintain performance and achieve maximum up-time. Unfortunately storage space is very expensive there, so another party involved &#8211; all archived pictures are downloaded and archived to RAID disk array server every night. That&#8217;s a very rough description of what&#8217;s going under the hood. Though it is possible to view live pictures live without any restrictions, server (which is also based on Python) has no load handling implemented and can&#8217;t be published for mass display at the time.<\/p>\n<p>&nbsp;<\/p>\n<h2>What&#8217;s next<\/h2>\n<p class=\"wp-image-8148 size-medium\" style=\"text-align: justify;\">After collecting many many pictures you face a problem what to do with terabytes of data. Of course you can join them in a sequence, this is first idea that comes to mind. Second idea that comes to mind is how to find out what&#8217;s the quality of taken pictures. So another set of scripts comes into help &#8211; collect all taken pictures into one list (SQLite3 comes handy in this task) and analyze. Various data being put into one place &#8211; filename, date, EXIF information, temperature if available and so on. Now we can analyze this data and get visual representation of various parameters: temperature chart, cloudiness, movement, traffic intensity, calculate sunny days, etc. All this can be achieved with OpenCV library (some combining tasks might take a week, so prepare undisturbed computer). For time being I just wanted to combine all days each next to other and display parallel days at the same time. So here is a result &#8211; short movie of this hypnotizing view. View in 8K-UHD or\u00a04K-UHD resolution if you can.<\/p>\n<p>&nbsp;<\/p>\n<div align=\"center\">\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/mIquHpg6i0k\" width=\"640\" height=\"360\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p style=\"text-align: justify;\">Here is one more extra video from Vent\u0117 Cape. This project is ended and, but might be renewed some day.<\/p>\n<\/div>\n<div align=\"center\">\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/1ZvEOaaQMHU\" width=\"640\" height=\"360\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<\/div>\n<h2>Future plans<\/h2>\n<p style=\"text-align: justify;\">While I develop this project alone, I have no fixed goals and no deadlines set. It is just an way to experiment with technology. From time to time I have ideas to increase camera count, write or adapt software for distributed file storage so anyone could contribute not only with hosting camera but sharing some disk space. Also I have skills to build USB camera based high quality sensor (let&#8217;s say Sony IMX117,\u00a0IMX135 or even IMX220), bit it requires an investment. If you need some prof that I am capable of making things &#8211; take a look at my recent projects (some of them are described in details in older blog entries).<\/p>\n<div id=\"attachment_8191\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a onclick=\"javascript:pageTracker._trackPageview('\/downloads\/uzrasai\/wp-content\/uploads\/2015\/05\/Untitled-1.jpg');\"  href=\"http:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2015\/05\/Untitled-1.jpg\" rel=\"lightbox[8128]\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8191\" class=\"wp-image-8191 size-medium\" src=\"http:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2015\/05\/Untitled-1-400x340.jpg\" alt=\"Untitled-1\" width=\"400\" height=\"340\" srcset=\"https:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2015\/05\/Untitled-1-400x340.jpg 400w, https:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2015\/05\/Untitled-1.jpg 717w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-8191\" class=\"wp-caption-text\">1. Industrial USB camera 2. Reworked Logitech camera to be used with C\/CS lenses 3. Anti-vandal \u2013 outdoor camera with USB camera inside protected by sapphire window with Anti-Reflex (AR) coating 4. Outdoor camera case for DSLR (unfortunately 3D computer illustration, was made only 1pcs for client and did not took any pictures)<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>To be short I will be talking about long term tethered time-lapse photography (it is also a good platform for construction camera). While final movie can be very short this kind of photography involves lots of planning and technical skills. During long time time lapse project a lot of things can go wrong. Also prepare [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[38,4,21,19,5,15],"tags":[],"class_list":["post-8128","post","type-post","status-publish","format-standard","hentry","category-in-english","category-nuotraukos","category-projektai","category-time-lapse","category-uzrasai","category-video"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2rU5c-276","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/posts\/8128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/comments?post=8128"}],"version-history":[{"count":70,"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/posts\/8128\/revisions"}],"predecessor-version":[{"id":8219,"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/posts\/8128\/revisions\/8219"}],"wp:attachment":[{"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/media?parent=8128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/categories?post=8128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/tags?post=8128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}