{"id":8,"date":"2010-10-25T15:29:23","date_gmt":"2010-10-25T15:29:23","guid":{"rendered":"https:\/\/misharabinovich.com\/blog\/?p=8"},"modified":"2021-04-11T12:34:16","modified_gmt":"2021-04-11T12:34:16","slug":"stare-wars-using-the-force-of-surveillance","status":"publish","type":"post","link":"https:\/\/misharabinovich.com\/blog\/?p=8","title":{"rendered":"Stare Wars: Using the Force (of Surveillance)"},"content":{"rendered":"<p>Last week I wrote about using software to scan the original Star Wars trilogy and construct a summary using 16 most surprising, or most telling, frames from the movie. This week, I generated other summaries of different sizes for comparison.<\/p>\n<p>I wanted to make sure I had the best descriptor picked out for this content. I decided to compare the original setting of using SURF (Bag of Words) against SURF2.  Both of these techniques use a &#8216;vocabulary&#8217; file (with &#8216;words&#8217; describing the images). For SURF, each chosen summary candidate image is compared against a vocabulary made <b>only from the images picked out so far<\/b>. For SURF2, each picked image is compared to a vocabulary file generated in advanced from <strong>all picked candiate images<\/strong>. In other words, SURF is like watching the films for the first time and making a summary as you go. SURF2 is like building a summary after a repeated viewing. Here are the two summaries side by side for comparison:<\/p>\n<div id=\"attachment_11\" style=\"width: 711px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/surf.vs_.surf2_.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11\" src=\"https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/surf.vs_.surf2_.jpg\" title=\"Star Wars Summary of 16 Images done with SURF and compared to SURF2\" alt=\"Star Wars Summary of 16 Images done with SURF and compared to SURF2\" width=\"701\" height=\"306\" class=\"size-full wp-image-11\" \/><\/a><p id=\"caption-attachment-11\" class=\"wp-caption-text\">16 Frame Star Wars Summaries. The first one uses SURF, the second SURF2.<\/p><\/div>\n<p>SURF did a better job summarizing the trilogy. See larger versions of the images <a title=\"16 Frame Summary of Star Wars using SURF\" href=\"https:\/\/misharabinovich.com\/projects\/starewars\/summaries\/summary.default.16Frames.jpg\" target=\"new\" rel=\"noopener\">here<\/a> and <a title=\"16 Frame Summary of Star Wars using SURF\" href=\"https:\/\/misharabinovich.com\/projects\/starewars\/summaries\/summary.surf2.hue.16Frames.jpg\" target=\"new\" rel=\"noopener\">here<\/a> and judge for yourself.<\/p>\n<p><\/p>\n<p>Using SURF, I created summaries of other sizes, such as the 3 image summary:<\/p>\n<div id=\"attachment_12\" style=\"width: 712px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.3Frames.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-12\" class=\"size-full wp-image-12\" title=\"Three Image Summary of the original Star Wars Trilogy\" alt=\"Three Image Summary of the original Star Wars Trilogy\" src=\"https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.3Frames.jpg\" width=\"702\" height=\"179\" srcset=\"https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.3Frames.jpg 702w, https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.3Frames-300x76.jpg 300w\" sizes=\"auto, (max-width: 702px) 100vw, 702px\" \/><\/a><p id=\"caption-attachment-12\" class=\"wp-caption-text\">The 3 image summary is not a subset of the 16. However, the 3 image and 4 image summaries share most of their content.<\/p><\/div>\n<p><\/p>\n<p>The 4 image summary incorporates most of the content of the 3 image set, but replaces the happy droid couple with the familiar purple door explosion and Luke Skywalker. Note the fact that it grabbed the other yellow text scroll, this time from Episode VI.<\/p>\n<div id=\"attachment_13\" style=\"width: 712px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.4Frames.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-13\" src=\"https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.4Frames.jpg\" title=\"Four Image Summary of Star Wars\" alt=\"Four Image Summary of Star Wars\" width=\"702\" height=\"542\" class=\"size-full wp-image-13\" srcset=\"https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.4Frames.jpg 702w, https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.4Frames-300x231.jpg 300w\" sizes=\"auto, (max-width: 702px) 100vw, 702px\" \/><\/a><p id=\"caption-attachment-13\" class=\"wp-caption-text\">4 Image Summary of Star Wars has most of the content from the 3 image summary, plus Luke and the purple door explosion that precedes Darth Vader's appearance.<\/p><\/div>\n<p><\/p>\n<p>The 9 image summary is very rosy. Even though the galaxy-wide party montage was only shown for a few minutes of the final film, these senes take up two frames here (the last ones).<\/p>\n<div id=\"attachment_14\" style=\"width: 712px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.9Frames.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-14\" src=\"https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.9Frames.jpg\" title=\"Nine Frame Summary of Star Wars\" alt=\"Nine Frame Summary of Star Wars\" width=\"702\" height=\"542\" class=\"size-full wp-image-14\" srcset=\"https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.9Frames.jpg 702w, https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.9Frames-300x231.jpg 300w\" sizes=\"auto, (max-width: 702px) 100vw, 702px\" \/><\/a><p id=\"caption-attachment-14\" class=\"wp-caption-text\">9 Frame Summary of Star Wars shows a pretty rosy story, filled with partying (well, at least for the last two frames!)<\/p><\/div>\n<p><\/p>\n<p>The 20 image summary is compositionally interesting but very dark. We see no characters but fire and explosions.<\/p>\n<div id=\"attachment_15\" style=\"width: 712px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.20Frames.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-15\" class=\"size-full wp-image-15\" title=\"Twenty Frame Summary of Star Wars\" alt=\"Twenty Frame Summary of Star Wars\" src=\"https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.20Frames.jpg\" width=\"702\" height=\"672\" srcset=\"https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.20Frames.jpg 702w, https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.20Frames-300x287.jpg 300w\" sizes=\"auto, (max-width: 702px) 100vw, 702px\" \/><\/a><p id=\"caption-attachment-15\" class=\"wp-caption-text\">20 Image Summary of Star Wars. A very dark take on Star Wars. Notice the presistent, purple, exploding door. We see no human characters, an explosion, and a fire.<\/p><\/div>\n<p><\/p>\n<p>The 40 image summary shows the limitations of this technique. There are way to many (seven!) frames of blue text credits. However, Darth Vader finally makes the cut!<\/p>\n<div id=\"attachment_16\" style=\"width: 711px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.40Frames.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-16\" class=\"size-full wp-image-16\" title=\"Forty Frame Summary of Star Wars\" alt=\"Forty Frame Summary of Star Wars\" src=\"https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.40Frames.jpg\" width=\"701\" height=\"1383\" srcset=\"https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.40Frames.jpg 701w, https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.40Frames-152x300.jpg 152w, https:\/\/misharabinovich.com\/blog\/wp-content\/uploads\/2010\/10\/summary.default.40Frames-519x1024.jpg 519w\" sizes=\"auto, (max-width: 701px) 100vw, 701px\" \/><\/a><p id=\"caption-attachment-16\" class=\"wp-caption-text\">40 Image Summary of Star Wars. Darth Vader finally makes an appearance! We can see the limitations of the summarization technique due in part to the prevalence of blue credit text frames.<\/p><\/div>\n<p><\/p>\n<p>A friend pointed out the connection of this work to the work of <a href=\"http:\/\/salavon.com\/TGFAT\/Titanic.shtml\">Jason Savalon<\/a>. I&#8217;m very intrigued by his choies of subjects and by the fine, <a href=\"http:\/\/salavon.com\/PlayboyDecades\/PlayboyDecades.shtml\">painterly quality of the processed results<\/a>.  One difference is that my project is rooted in surveillance and augmented decision making, while Mr. Savalon&#8217;s projects seem to be geared towards human perception and memory.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week I wrote about using software to scan the original Star Wars trilogy and construct a summary using 16 most surprising, or most telling, frames from the movie. This week, I generated other summaries of different sizes for comparison. I wanted to make sure I had the best descriptor picked out for this content. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,13],"tags":[11,10,5,4,6,7,9,8],"class_list":["post-8","post","type-post","status-publish","format-standard","hentry","category-projects","category-soyummy","tag-ai","tag-artificial-intelligence","tag-computer-vision","tag-cv","tag-star-wars","tag-summarizer","tag-surveillance","tag-video"],"_links":{"self":[{"href":"https:\/\/misharabinovich.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/misharabinovich.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/misharabinovich.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/misharabinovich.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/misharabinovich.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8"}],"version-history":[{"count":0,"href":"https:\/\/misharabinovich.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8\/revisions"}],"wp:attachment":[{"href":"https:\/\/misharabinovich.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/misharabinovich.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/misharabinovich.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}