{"id":345,"date":"2005-02-06T14:16:37","date_gmt":"2005-02-06T19:16:37","guid":{"rendered":"https:\/\/iamtheweather.com\/weather\/?p=21"},"modified":"2005-02-06T14:16:37","modified_gmt":"2005-02-06T19:16:37","slug":"random-color-motion-tracking","status":"publish","type":"post","link":"https:\/\/iamtheweather.com\/?p=345","title":{"rendered":"random color motion tracking"},"content":{"rendered":"<p><img decoding=\"async\" src=\"http:\/\/www.seanaes.com\/blah\/wp-content\/netex0107.jpg\" width = \"300\"  alt=\"stripy background 01\" \/><br \/>\nfirst attempt at creating something from live video using java. using dano&#8217;s pixel grabbing class as a starting point i set out to get some stripyness going on and seperate the foreground from the background. it uses a referance frame and then checks every pixel againsnt that referance frame and tests to see if it is different (in color particularly). if it is different it either gets painted the color of that stripe, or not painted, depending on which version you are looking at.<br \/>\nthe discussion that followed me telling my original idea that i wasn&#8217;t able to code was extremly helpful and im working on it now. im hoping to seperate the the foreground from the background and modify the resolution based on the amount of change from the pervious frame. a still scene would show low res (large pixels) and moving objects would &#8216;shine through&#8217; by becoming more &#8216;focused&#8217; (smaller pixels)&#8230;well see how that goes.<br \/>\nmore images after the jump<br \/>\n<!--more--><br \/>\n<img decoding=\"async\" src=\"http:\/\/www.seanaes.com\/blah\/wp-content\/netex0104.jpg\" width=\"300\" alt=\"\" \/><br \/>\nonly drawing the chages in the frame as random stripes<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.seanaes.com\/blah\/wp-content\/netex0102.jpg\" alt=\"\" \/><br \/>\ndrawing the background as stripes and the movement ie pixels that are changing as clear video<\/p>\n","protected":false},"excerpt":{"rendered":"<p>first attempt at creating something from live video using java. using dano&#8217;s pixel grabbing class as a starting point i set out to get some stripyness going on and seperate the foreground from the background. it uses a referance frame and then checks every pixel againsnt that referance frame and tests to see if it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-345","post","type-post","status-publish","format-standard","hentry","category-orphan"],"_links":{"self":[{"href":"https:\/\/iamtheweather.com\/index.php?rest_route=\/wp\/v2\/posts\/345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iamtheweather.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iamtheweather.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iamtheweather.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iamtheweather.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=345"}],"version-history":[{"count":0,"href":"https:\/\/iamtheweather.com\/index.php?rest_route=\/wp\/v2\/posts\/345\/revisions"}],"wp:attachment":[{"href":"https:\/\/iamtheweather.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iamtheweather.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iamtheweather.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}