<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Joaquim Rocha&#039;s Web Page</title>
	<atom:link href="http://www.joaquimrocha.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joaquimrocha.com</link>
	<description>Linux, technology and art</description>
	<lastBuildDate>Sun, 13 May 2012 14:17:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>A Couple of Weeks in Turkey, The End: Istambul (again)</title>
		<link>http://www.joaquimrocha.com/2012/05/13/a-couple-of-weeks-in-turkey-the-end-istambul-again/</link>
		<comments>http://www.joaquimrocha.com/2012/05/13/a-couple-of-weeks-in-turkey-the-end-istambul-again/#comments</comments>
		<pubDate>Sun, 13 May 2012 14:15:35 +0000</pubDate>
		<dc:creator>Joaquim Rocha</dc:creator>
				<category><![CDATA[travel]]></category>
		<category><![CDATA[trip]]></category>
		<category><![CDATA[turkey]]></category>

		<guid isPermaLink="false">http://www.joaquimrocha.com/?p=1511</guid>
		<description><![CDATA[This article finishes the &#8220;A Couple of Weeks in Turkey&#8221; series and follows A Couple of Weeks in Turkey, Part 4: Cappadocia. As I said in this series&#8217; previous post, the Ankara visit didn&#8217;t go as planned. Our plan was to visit the city during the day and take the night train to Istanbul. I [...]]]></description>
			<content:encoded><![CDATA[<p>This article finishes the &#8220;A Couple of Weeks in Turkey&#8221; series and follows <a href="http://www.joaquimrocha.com/2012/02/01/a-couple-of-weeks-in-turkey-part-4-cappadocia/" title="A Couple of Weeks in Turkey, Part 4: Cappadocia">A Couple of Weeks in Turkey, Part 4: Cappadocia</a>.</p>
<p>As I said in this series&#8217; previous post, the Ankara visit didn&#8217;t go as planned. Our plan was to visit the city during the day and take the night train to Istanbul. I had read that the night train was really something to try so as soon as we arrived at Ankara we headed for the train station to buy the night train&#8217;s tickets and guess what&#8230; the wonderful night train was full!<br />
Those were bad news, so after talking with Helena, we came to the conclusion that the best plan was to go to Istanbul on the next train. Of course, we didn&#8217;t have a place to stay at Istanbul and we would arrive there late that same night.</p>
<p><a href="http://www.flickr.com/photos/joaquimrocha/5907495773/" title="217 km/s by Joaquim Rocha, on Flickr"><img src="http://farm6.staticflickr.com/5232/5907495773_3e3efeea7f.jpg" width="400" alt="217 km/s"></a><br />
(217 Km per second!? Actually the s stands for saat: hour)</p>
<p>Fortunately I had written down the phone number of the hotel I had booked for the day after that one. I bought a public phone card, called them and, to our relief, they had a free room for that night. Now all we had to do was to wait a few hours for our train to Istanbul and we stayed at the station during that time because we couldn&#8217;t risk missing the train (and Ankara doesn&#8217;t really seem to have much to see, I was pretty much only interested in visiting the Atatürk Mausoleum).<br />
Finally the train came, it would be another long trip and we would arrive late (at 11pm supposedly) but Helena and I had our first dinner ever at a train (at the train&#8217;s restaurant, that is), so it wasn&#8217;t all bad.</p>
<p><strong>Late night adventures</strong></p>
<p>What&#8217;s the worst you can do when you already know you&#8217;ll arrive late at the wrong side of the city (wrong continent, actually) and you&#8217;re pretty much confident of your travelling Turkish language skills? Hop off on the wrong station, of course!<br />
The problem was that I was worried that we arrived too late to get the last ferry boat from the Asian shore to the European one (where our hotel was, in Sultanahmet) and I thought I heard the train announcement saying we had just arrived at <a href="http://en.wikipedia.org/wiki/%C4%B0stanbul_Haydarpa%C5%9Fa_Terminal" target="_blank">Haydarpaşa</a> (our destination)&#8230;<br />
So we hopped off and it took us some long 5 minutes to realize I was wrong. Now I was getting nervous, I didn&#8217;t know how far from Istanbul we were, nobody seemed to speak English enough to understand me and the pride I had in having learned some Turkish was gone, leaving a trail of shame. After being told there was still a train to Istanbul that night, we bought new tickets and went to the platform.<br />
When the train came, it resembled a subway one, with open space but dark, we also realized it was more than 10 stops until Haydarpaşa&#8230;</p>
<p><a href="http://www.flickr.com/photos/joaquimrocha/5903277164/" title="Haydarpaşa Train station by Joaquim Rocha, on Flickr"><img src="http://farm7.staticflickr.com/6031/5903277164_8928d334c4.jpg" width="400" alt="Haydarpaşa Train station"></a><br />
(Haydarpaşa train station)</p>
<p>Finally we arrived safely at the train station and now there was another challenge for us to face: how to get the other shore.<br />
It was almost midnight and we didn&#8217;t know when the last ferry to the other shore departed so we asked one of the passengers that was leaving the train station like us and he told us we needed to rush because we had perhaps 10 minutes or so to catch the ferry. We were so tired that we gave up on that idea and instead decided to take a cab. The designated cab driver didn&#8217;t speak much English so another driver helped us with the negotiation. The price was 40 TRL (~20 €) to take us to our hotel in Sultanahmet, I still had energy to bargain but the driver was inflexible, &#8220;40 lira it is!&#8221; I said.<br />
The drive took about 40 minutes to get to Sultanahmet (the area) but as soon as we got there, he stopped and said &#8220;Okay, here. Sultanahmet!&#8221;. I told him that our hotel was still too far for us to walk with two big backpacks and reminded him that I had explicitly negotiated the price to get to the hotel, not the area. He said &#8220;okay&#8221; and drove around a little more, stopping every once in a while asking other taxi drivers for the hotel&#8217;s street (I kept telling him where it was and I had a map but he wouldn&#8217;t look at it). This lasted for 20 minutes or so until he found our hotel. When I reached my wallet to pay him, I said &#8220;40 lira, thank you!&#8221; and he said &#8220;thank you, but 40 lira Sultanahmet, please 10 lira more&#8221;, I said no-way, it wasn&#8217;t my fault he decided to take us to a destination he didn&#8217;t know and I tried to explain this to him. He said he had driven around so much that the 40 lira would not make it; &#8220;5 lira more!&#8221; he said with a lost puppy face and I gave in, took out a 5 lira bill thinking &#8220;it is just 2.5 € anyway&#8230;&#8221; and gave it to him; he said &#8220;okay, now 10 lira more&#8221;, &#8220;WHAT!?&#8221;, &#8220;10 lira more&#8221; he said. I wouldn&#8217;t take it, I felt bad that I was fighting over a couple of euros but the fact is that it was indeed his fault, he didn&#8217;t know where the hotel was, he didn&#8217;t use the taximeter and this sort of extortion was even advertised in our guide book so I took back the 5 lira from his hand, repeated my point a couple of times and headed to the hotel leaving him entering the cab while giving me a look not so much of a lost puppy but rather of an angered pitbull&#8230;</p>
<p><strong>Grand shopping at the Grand Bazaar</strong></p>
<p>The next morning we had breakfast at the terrace of our hotel, Hotel Deniz. The breakfast was nothing special but the view over the sea was great. That day, June 24th, we went to the <a href="http://en.wikipedia.org/wiki/Grand_Bazaar,_Istanbul" target="_blank">Grand Bazaar</a> to do some real shopping this time. We got there early and it was really funny because every time we discussed or asked about the price of something, we were told &#8220;because you&#8217;re my first customer today, I have a special price for you&#8221;. Of course this was bullshit and we still had to bargain everything <img src='http://www.joaquimrocha.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Bargaining is funny, there were a couple of unsuccessful deals (as in, the salesmen would not give in) but we always got a good enough price. Helena was astonished by all the materials, both in quantity and in variety, she could find for making her crafts.<br />
Among other things, we bought:<br />
- A Turkish coffee can;<br />
- Several &#8220;evil eye&#8221; key-chains;<br />
- Handkerchiefs;<br />
- Leather &#8220;Hugo Boss&#8221; shoes (the ones I&#8217;m wearing right now <img src='http://www.joaquimrocha.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  );<br />
- A purse for my mother;<br />
- A lamp made of tiny glass tiles;<br />
- A traditional, hand-made flute for my brother;<br />
- Turkish delight boxes (lokum);<br />
- A traditional dagger replica;<br />
- Purple &#8220;Converse All Star&#8221; shoes for Helena;<br />
&#8230;</p>
<p>Helena bought these All Star shoes for 30 TRL (~15 €) and in purple, the color she loves and couldn&#8217;t find before. However, when we arrived at the hotel, we realized that one of the shoes didn&#8217;t have the Converse logo&#8230; Helena really loved the shoes so we headed back to the bazaar and found the salesman (just a boy, actually) who looked very embarrassed and swore he hadn&#8217;t sold those one purpose (I believed him). He made a phone call and soon after somebody came with a new, perfect pair.</p>
<p><strong>Sightseeing and relaxing again</strong></p>
<p>The Grand Bazaar is an amazing and hypnotizing place but we also did more than shopping for these last days. We went on trip up the Bosphorus where I took some nice photos despite the rainy day and when it finished, we ate a <em>balık ekmek</em> (fish sandwich) at a place under the <a href="http://en.wikipedia.org/wiki/Galata_Bridge" target="_blank">Galata bridge</a>. After that, we crossed the bridge by foot to visit <a href="http://en.wikipedia.org/wiki/Galata" target="_blank">Galata</a>. This district seemed more urban (as in &#8220;European urban&#8221;) than the other two shores we had been at. We also passed by a jazz café that our Brazilian friends had told us about back in Cappadocia but we didn&#8217;t enter which was a pity because later that night, while at the Marmara Café, we found the Americans we also met at Capadocia and they told us they were there, at the jazz place, together with the Brazilians&#8230;</p>
<p><a href="http://www.flickr.com/photos/joaquimrocha/5907519437/" title="Istanbul by Joaquim Rocha, on Flickr"><img src="http://farm7.staticflickr.com/6054/5907519437_7f5f318619.jpg" width="375" alt="Istanbul"></a></p>
<p>These last days we also found a really good restaurant in Sultanhamet. It is called <a href="http://www.doydoy-restaurant.com/" target="_blank">Doy-Doy</a> and we loved it so much we went there twice. The restaurant is in fact a building with several stories and we had dinner at the terrace. What is also incredible is that the kitchen is at the ground floor and there&#8217;s no elevator (not even a food elevator) so one of the waiters goes up and down all night. The price is good, the food is marvelous and the views of the Blue Mosque make it only more awesome. Go there if you have a chance.</p>
<p>We also passed by a famous calligraphist close to the <a href="http://en.wikipedia.org/wiki/%C3%87emberlita%C5%9F_Hamam%C4%B1" target="_blank">Çemberlitaş Hamamı</a> where I bought a plate with &#8220;Família Rocha&#8221; written on it for my mom. I know the calligraphist had a webpage that I once visited but I cannot remember what the shop&#8217;s name was, my attempts to find it on Google were unsuccessful as well but you can see his picture below. Still, it is easy to find if you pass by the Hamamı and is worth to go there instead of a street calligraphist as this guy is much better.</p>
<p><a href="http://www.flickr.com/photos/joaquimrocha/5907746071/" title="The best caligraphist in town by Joaquim Rocha, on Flickr"><img src="http://farm6.staticflickr.com/5077/5907746071_86ffa89278.jpg" width="400" alt="The best caligraphist in town"></a></p>
<p><strong>Hoşça kal</strong></p>
<p>On the June 27th 2011 we boarded on a plane back to Spain. We loved Turkey, its people, its food and its beautiful landscapes and culture. I hope we go back at some point and I totally recommend it if you want a mixture of European and Middle-east cultures.</p>
<p><a href="http://www.flickr.com/photos/joaquimrocha/5908293342/" title="Lua de Mel na Turquia by Joaquim Rocha, on Flickr"><img src="http://farm7.staticflickr.com/6027/5908293342_278d431719.jpg" width="400" alt="Lua de Mel na Turquia"></a></p>
<p><em>This finishes the series of articles about our Two Weeks in Turkey in the summer of 2011. Just like the <a href="http://www.joaquimrocha.com/category/interrail/">Interrail series</a>, it took me almost a year to wrap it up but hopefully I covered most of our little adventures in this amazing country.</em></p>
<p>Until the next trip!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joaquimrocha.com/2012/05/13/a-couple-of-weeks-in-turkey-the-end-istambul-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First presentation of Skeltrack</title>
		<link>http://www.joaquimrocha.com/2012/04/20/first-presentation-of-skeltrack/</link>
		<comments>http://www.joaquimrocha.com/2012/04/20/first-presentation-of-skeltrack/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 21:40:47 +0000</pubDate>
		<dc:creator>Joaquim Rocha</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[igalia]]></category>
		<category><![CDATA[interactivity]]></category>
		<category><![CDATA[planet]]></category>
		<category><![CDATA[portugal]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[skeltrack]]></category>

		<guid isPermaLink="false">http://www.joaquimrocha.com/?p=1502</guid>
		<description><![CDATA[I spent the first half of this week in the beautiful city of Évora, where I was born. The occasion was the Semana da Ciência e Técnologia (Science and Technology Week) of the University of Évora to which I was invited. I also ended up giving the organization a hand by asking Thomas Perl (the [...]]]></description>
			<content:encoded><![CDATA[<p>I spent the first half of this week in the beautiful city of <a href="http://en.wikipedia.org/wiki/%C3%89vora" target="_blank">Évora</a>, where I was born. The occasion was the <a href="http://sct.aaue.pt/" target="_blank">Semana da Ciência e Técnologia</a> (Science and Technology Week) of the <a href="http://www.uevora.pt/" target="_blank">University of Évora</a> to which I was invited.<br />
I also ended up giving the organization a hand by asking <a href="http://thp.io/" target="_blank">Thomas Perl</a> (the restless mind behind <a href="http://gpodder.org/" target="_blank">gPodder</a>) and <a href="http://lucasr.org/" target="_blank">Lucas Rocha</a> (well known GNOME developer now using his powers in Mozilla) who kindly accepted.</p>
<p>Having participated in the organization of events during the University, I&#8217;m always happy to see these initiatives taking place.<br />
It was also great to spend a couple of days with the folks at my University and meet with old friends.</p>
<p>About the talks, Thomas gave an overview of gPodder and the infrastructure used to manage the project. Lucas gave a really nice talk about what Mozilla is, what it does and why you should care; because of it, I ended up installing <a href="http://nightly.mozilla.org/" target="_blank">Firefox Mobile nightly build</a> for Android and it has improved a LOT.<br />
My friend Luís Rodrigues (no blog because he&#8217;s a badass) talked about <a href="http://www.cern.ch" target="_blank">CERN</a>, where he works. What an amazing place! He talked about how much CERN uses <a href="http://www.python.org" target="_blank">Python</a> and <a href="http://www.djangoproject.com" target="_blank">Django</a> to manage their data. As a Python lover, this makes me really happy.</p>
<p>This was also the first time I presented <a href="http://www.joaquimrocha.com/category/skeltrack/">Skeltrack</a>, my latest creation inside <a href="http://www.igalia.com" target="_blank">Igalia</a>. Presenting such an algorithm is not an easy job so I took mental notes about what to improve the next time (which will be at <a href="http://www.linuxtag.org" target="_blank">LinuxTag</a>) but I was happy that people made good questions about it.</p>
<p>I&#8217;d like to thank to the <a href="http://www.aaue.pt" target="_blank">AAUE</a> (Students Association) for the great time we all spent in there.</p>
<p><a href="http://speakerdeck.com/u/jrocha/p/skeltrack-open-source-skeleton-tracking" target="_blank">Presentation slides</a> :<br />
<script async class="speakerdeck-embed" data-id="4f8f0b6a37aff9001f022735" data-ratio="1.4143646408839778" src="//speakerdeck.com/assets/embed.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joaquimrocha.com/2012/04/20/first-presentation-of-skeltrack/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>OCRFeeder 0.7.9 released</title>
		<link>http://www.joaquimrocha.com/2012/04/12/ocrfeeder-0-7-9-released/</link>
		<comments>http://www.joaquimrocha.com/2012/04/12/ocrfeeder-0-7-9-released/#comments</comments>
		<pubDate>Thu, 12 Apr 2012 08:09:30 +0000</pubDate>
		<dc:creator>Joaquim Rocha</dc:creator>
				<category><![CDATA[gnome]]></category>
		<category><![CDATA[gtk]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[igalia]]></category>
		<category><![CDATA[ocr]]></category>
		<category><![CDATA[ocrfeeder]]></category>
		<category><![CDATA[planet]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.joaquimrocha.com/?p=1494</guid>
		<description><![CDATA[Last OCRFeeder&#8216;s release had an important new feature which was the detection of changes in the configuration of OCR engines. However, I was very busy the last couple of months developing other cool stuff for Igalia, so, I ended up not testing this feature thoroughly (and I even warned users about that in my last [...]]]></description>
			<content:encoded><![CDATA[<p>Last <a href="http://live.gnome.org/OCRFeeder" target="_blank">OCRFeeder</a>&#8216;s <a href="http://www.joaquimrocha.com/2012/03/18/ocrfeeder-0-7-8/" title="OCRFeeder 0.7.8">release</a> had an important new feature which was the detection of changes in the configuration of OCR engines. However, I was very busy the last couple of months <a href="http://www.joaquimrocha.com/2012/04/03/controlling-gnome-3-with-your-hands/" title="Controlling GNOME 3 with your hands">developing other cool stuff</a> for <a href="http://www.igalia.com" target="_blank">Igalia</a>, so, I ended up not testing this feature thoroughly (and I even warned users about that in my last post).</p>
<p>Fortunately, OCRFeeder has some users and contributors who did test it and <a href="https://bugzilla.gnome.org/show_bug.cgi?id=670953" target="_blank">warned me about some issues</a>, which should be solved in this release.</p>
<p>Take a look at the <a href="http://ftp.gnome.org/pub/GNOME/sources/ocrfeeder/0.7/ocrfeeder-0.7.9.news" target="_blank">short list of changes</a> if you wanna see what&#8217;s solved and enjoy OCRFeeder.</p>
<p><a href="http://ftp.gnome.org/pub/GNOME/sources/ocrfeeder/0.7/ocrfeeder-0.7.9.tar.xz" target="_blank">Source Tarball</a><br />
<a href="http://git.gnome.org/browse/ocrfeeder" target="_blank">Git</a><br />
<a href="https://bugzilla.gnome.org/enter_bug.cgi?product=ocrfeeder" target="_blank">Bugzilla</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joaquimrocha.com/2012/04/12/ocrfeeder-0-7-9-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Controlling GNOME 3 with your hands</title>
		<link>http://www.joaquimrocha.com/2012/04/03/controlling-gnome-3-with-your-hands/</link>
		<comments>http://www.joaquimrocha.com/2012/04/03/controlling-gnome-3-with-your-hands/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 13:00:35 +0000</pubDate>
		<dc:creator>Joaquim Rocha</dc:creator>
				<category><![CDATA[augmented reality]]></category>
		<category><![CDATA[computer vision]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[igalia]]></category>
		<category><![CDATA[interactivity]]></category>
		<category><![CDATA[planet]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[skeltrack]]></category>

		<guid isPermaLink="false">http://www.joaquimrocha.com/?p=1482</guid>
		<description><![CDATA[Last week Igalia released an important piece of software called Skeltrack which, to put it simple, allows to retrieve the human skeleton joints from depth images. It had a good coverage from many important news websites and blogs and I received good feedback with kind words and even use cases I hadn&#8217;t thought of. Still, [...]]]></description>
			<content:encoded><![CDATA[<p>Last week <a href="http://www.igalia.com" target="_blank">Igalia</a> <a href="http://www.joaquimrocha.com/2012/03/21/announcing-skeltrack/" title="Announcing Skeltrack" target="_blank">released</a> an important piece of software called <a href="https://github.com/joaquimrocha/Skeltrack" target="_blank">Skeltrack</a> which, to put it simple, allows to retrieve the human skeleton joints from depth images. It had a good coverage from many important news websites and blogs and I received good feedback with kind words and even use cases I hadn&#8217;t thought of.</p>
<p>Still, one thing is to have the simple demo of drawing a sort of stick man from one&#8217;s joints like shown in the <a href="http://vimeo.com/user1454556/skeltrack" target="_blank">Skeltrack&#8217;s example video</a>, another is to actually do something more useful with it. This is the way to check how reliable the library is, so Igalia has built a prototype that consists of controlling the <a href="http://www.gnome.org" target="_blank">GNOME</a> 3 desktop or even playing some racing games using gestures that are interpreted from the positions of the joints that Skeltrack gives.</p>
<p>It uses one or both hands to control the mouse pointer, perform clicks, drag things around and it even simulates a pinch gesture which adjusts the zoom level. Hands can be also interpreted as if holding a steering wheel, making racing games so much fun.</p>
<p>The results are shown in the following video:</p>
<p><iframe src="http://player.vimeo.com/video/39660879" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p>(<a href="http://vimeo.com/user1454556/skeltrackdesktopcontrol" target="_blank">direct link to video in Vimeo</a>)</p>
<p>Just like pretty much everything we do at Igalia, this demo is also Free Software, so you can get its code from <a href="https://github.com/joaquimrocha/Skeltrack-Desktop-Control" target="_blank">GitHub</a> (check the <a href="https://github.com/joaquimrocha/Skeltrack-Desktop-Control/blob/master/README" target="_blank">README</a> to see what the gestures are and what they do), tweak it to your needs or, if you need specialized help, you can always hire us.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joaquimrocha.com/2012/04/03/controlling-gnome-3-with-your-hands/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Announcing Skeltrack</title>
		<link>http://www.joaquimrocha.com/2012/03/21/announcing-skeltrack/</link>
		<comments>http://www.joaquimrocha.com/2012/03/21/announcing-skeltrack/#comments</comments>
		<pubDate>Tue, 20 Mar 2012 22:36:45 +0000</pubDate>
		<dc:creator>Joaquim Rocha</dc:creator>
				<category><![CDATA[computer vision]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[igalia]]></category>
		<category><![CDATA[interactivity]]></category>
		<category><![CDATA[planet]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[skeltrack]]></category>

		<guid isPermaLink="false">http://www.joaquimrocha.com/?p=1461</guid>
		<description><![CDATA[After being able to control the basic features of a Kinect device (or any time-of-flight camera), the next thing many users look for is skeleton tracking. Skeleton tracking means to easily retrieve different joints of the human skeleton from depth images. The most famous solutions (or the only ones) to do so are the Microsoft [...]]]></description>
			<content:encoded><![CDATA[<p>After being able to control the basic features of a Kinect device (or any time-of-flight camera), the next thing many users look for is skeleton tracking. Skeleton tracking means to easily retrieve different joints of the human skeleton from depth images.</p>
<p>The most famous solutions (or the only ones) to do so are the Microsoft Kinect SDK or the OpenNI framework. If you are looking for a Free software solution though, you are out of luck. Microsoft&#8217;s SDK, apart from obviously being close, does not even allow a commercial use of it which is something the OpenNI framework does but this is as far as the meaning of the word &#8220;open&#8221; in OpenNI goes&#8230; You cannot adapt/improve their code nor learn from it. To solve this problem, <a href="http://www.igalia.com" target="_blank">Igalia</a> has just created Skeltrack.</p>
<p><strong>Free Software Skeleton Tracking</strong></p>
<p>Skeltrack is a Free and Open Source Software library whose goal is to provide easy to use human skeleton tracking.<br />
Skeltrack&#8217;s implementation was based on a <a href="http://www.mpi-inf.mpg.de/~abaak/download/2011_BaakMuBhSeTh_DataDrivenDepthTracking_ICCV.pdf" target="_blank">paper</a> by <a href="http://www.mpi-inf.mpg.de/~abaak/" target="_blank">Andreas Baak</a> but, apart from other internal differences, it doesn&#8217;t use a pose database. This means that the skeleton joints extraction is based on mathematics and heuristics, no calibration pose nor pose database is needed.</p>
<p>It provides an asynchronous API written in GLib, supports single user tracking (one skeleton only) and tracks up to 7 joints currently: head, shoulders, elbows and hands.</p>
<p>Take a look at the video below to get an idea of what it can do:</p>
<p><iframe src="http://player.vimeo.com/video/38875885" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe><br />
(<a href="https://vimeo.com/38875885" target="_blank">watch it in Vimeo</a>)</p>
<p><strong>How to use it</strong></p>
<p>We took a more modular approach than the two projects mentioned above. This means that Skeltrack expects to be given a depth buffer (i.e. depth image from the Kinect) with nothing but the user on it as opposed to connecting directly to a Kinect device.<br />
Still, three easy steps should be all that is needed for Skeltrack to be ready to use:<br />
1) Use the <a href="https://github.com/elima/GFreenect" target="_blank">GFreenect</a> library we <a href="http://www.joaquimrocha.com/2012/01/20/announcing-gfreenect/" title="Announcing GFreenect">released a couple of months ago</a>, connect to the depth stream signal and get the depth buffer;<br />
2) If there are other objects (chairs, tables, walls, etc.) apart from the user, then these should be removed by performing background subtraction or by excluding everything that is out of a threshold;<br />
2) Skeltrack performs some calculations that might be heavy depending on the machine and the buffer size so users should reduce the size of the buffer that is given to Skeltrack by using its dimension-reduction property as the reduction factor.</p>
<p>Take a look at the test-kinect example (shown in the video) shipped with Skeltrack where the steps above are implemented.<br />
The documentation for the project is available <a href="http://people.igalia.com/jrocha/skeltrack/doc/latest" target="_blank">here</a>.</p>
<p>Skeltrack is in its early beginnings and we want to detect more skeleton joints and work on stabilizing the results so, its features and API might change in the future.</p>
<p>Feel free to get the code, file bugs and send patches at its <a href="https://github.com/joaquimrocha/Skeltrack" target="_blank">GitHub repository</a>.<br />
Hopefully more people will contribute to it until we finally have a rock solid, easy to use, Free Software skeleton tracking library.</p>
<p>I need to thank <a href="http://image.diku.dk/hauberg/" target="_blank">Søren Hauberg</a> who was kind enough to point me in the right direction when I needed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joaquimrocha.com/2012/03/21/announcing-skeltrack/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>

