{"id":62,"date":"2007-03-12T14:19:33","date_gmt":"2007-03-12T12:19:33","guid":{"rendered":"https:\/\/raphael.slinckx.net\/blog\/2007-03-12\/lets-take-pictures"},"modified":"2007-03-12T14:21:51","modified_gmt":"2007-03-12T12:21:51","slug":"lets-take-pictures","status":"publish","type":"post","link":"https:\/\/raphael.slinckx.net\/blog\/2007-03-12\/lets-take-pictures","title":{"rendered":"Let&#8217;s take pictures!"},"content":{"rendered":"<p>This wednesday our <a href=\"http:\/\/www.louvainlinux.org\">local louvain-la-neuve LUG (louvain-li-nux)<\/a> will participate to a student fair showcasing all activity groups present in the university. We had the idea of creating a photo booth stand where people can stop by take a picture by pressing a button and then send that picture on a dynamic website or on a big projector live. All this using free software of course. It&#8217;s a good way to engage conversation with people!<\/p>\n<p>I searched the internet for something existing but unfortunately couldn&#8217;t find anything except this <a href=\"http:\/\/maemo.org\/platform\/docs\/howtos\/howto_camera_api_bora.html\">little snippet of code<\/a> for the <a href=\"http:\/\/www.nseries.com\/index.html#l=products,n800\">Nokia 880<\/a> device. I took the code, embraced and extended it resulting in:<\/p>\n<p class=\"screenshot\"> <a href=\"https:\/\/raphael.slinckx.net\/images\/photobooth.png\"><img decoding=\"async\" src=\"https:\/\/raphael.slinckx.net\/images\/photobooth.png\" alt=\"Screenshot\" \/>Photobooth Screenshot<\/a><\/p>\n<p>Basically it uses gstreamer to grab frames from the webcam then it feeds a double pipeline, one displaying the image on screen on the gtk widget, and the other allowing to take a buffer when the user clicks the button and encode it to whatever image format is needed.<\/p>\n<p>There is of course the little countdown from 3 to &#8216;Smile&#8217; when clicking the button, and i plan to add the white screen thingy when the shot is made.. I think apple can sue me right away<\/p>\n<p>The code will be released next week after the application has been proved in the field to be stable enough \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This wednesday our local louvain-la-neuve LUG (louvain-li-nux) will participate to a student fair showcasing all activity groups present in the university. We had the idea of creating a photo booth stand where people can stop by take a picture by pressing a button and then send that picture on a dynamic website or on a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,2],"tags":[],"class_list":["post-62","post","type-post","status-publish","format-standard","hentry","category-planet-gnome","category-planet-gnome-fr","category-software"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/raphael.slinckx.net\/blog\/wp-json\/wp\/v2\/posts\/62","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raphael.slinckx.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raphael.slinckx.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raphael.slinckx.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raphael.slinckx.net\/blog\/wp-json\/wp\/v2\/comments?post=62"}],"version-history":[{"count":0,"href":"https:\/\/raphael.slinckx.net\/blog\/wp-json\/wp\/v2\/posts\/62\/revisions"}],"wp:attachment":[{"href":"https:\/\/raphael.slinckx.net\/blog\/wp-json\/wp\/v2\/media?parent=62"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raphael.slinckx.net\/blog\/wp-json\/wp\/v2\/categories?post=62"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raphael.slinckx.net\/blog\/wp-json\/wp\/v2\/tags?post=62"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}