to poroba
to komaxx
» komaxx » projects » hAiR
LAYOUT: default
_« shout »_


iuiyitow (2018-06-14):

wurwroop (2018-06-07):
Wow, wonderful blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your web site is excellent, as well as the content! aafbgcfddadd

Chris (2010-07-26):
Alles Gute Zum Geburtstag!!

Michael (2010-06-21):
*ping* What's going? Long time no see!

epreueue (2010-01-29):
Very nice site!

KoMaXX (2009-10-22):
ahhh, damn, stop spamming! I really do not want to build any captchas in here!

your mum und dad (2009-02-28):
We've tried to stop the prime numbers shitting bear. Not possible!

Your mum (2008-11-25):
Gratulation for Dream-Diplom! 1,0 is very acceptable. I'm proud of you!

KoMaXX (2008-11-25):
Thnx! Indeed, the "look" was with me ;)

Michael (2008-11-21):
Good look with your exam on Monday!

Serena (2008-08-24):
You're welcome

KoMaXX (2008-08-21):
I just feel like shouting.


That's it. Thanks for listening.

Serena (2008-04-24):
Haha, yeah, was a fun game while it lasted

No 10 was a bitch though

your mum (2008-04-07):
Ich wünsche dir einen schönen letzen Tag in USA und einen angenehmen Heimflug! Ich warte dann auf deine sms vom Münchner airport.Vielleicht gibts ja auch vorher noch einen neuen Bericht. kisses

KoMaXX (2008-04-02):
... versucht hab' ichs ;)
Which misunderstanding? Just really large trees :D

your mum (2008-04-02):
Hallo, ich warte schon auf deine nächsten Ergüsse auf englisch! Bist Du eigentlich auch schon mal zu deiner Diplomarbeit gekommen? Du hast ja schließlich von einem Arbeitsurlaub gesprochen. Bussi

Flo (2008-04-02):
trees having 3000 meters in height ... and bigger ... awesome ;)
sorry for misunderstanding you ...

KoMaXX (2008-03-27):
Sorry, too lazy for translations ;)

No, not first class, just first row in economy!

Petra (your mum) (2008-03-27):
I've read your news about San Francisco. Aber es wäre nett, wenns gleich immer eine translation gäbe!Du bist also tatsächlich in die first class geswitched?!What a "dusselbauer"!

KoMaXX (2008-03-17):
thnx :)

Serena Fate (2008-03-16):
Oi, figured out the car in CeBit Pictures ... it's an Artega ( ... apparently has some "innovative" electronic gadgets or whatever ...

taromda (2008-02-15):
Dude, I'm playing Basketball for years now and never got injured. You're doing it wrong :-D

Phil (2007-12-12):
haha, that puctuation guide is great - and I knwo exactly what you mean ;)

KoMaXX (2007-08-30):
;) Yes, English is obligatory. It makes the whole world understand (hopfeully ;)) and keeps my skills in shape.

Anni (2007-08-14):
Ist toll Deine Homepage, aber musst Du denn alles auf Englisch schreiben??? :))

Flo (2007-07-18):
Matz schnallts net 5 > 3 --> :(

Flo (2007-07-18):
not even top three ... damn YOU sir!

KoMaXX (2007-07-18):
Hey andi, thanks for the feedback. The safari-incompatibility should be fixed (I hope)!

andi (2007-07-14):
SHOUT! Love your layout and the hair-flic, but my safari messes up the footer?

marc (2007-07-02):
Ja, gar net verkehrt, dein Layout! Aber füll mal die blinden links auf!

KoMaXX (2007-07-01):
First post ;) In your faces *loser*!

Valid XHTML 1.0 Transitional
last update: 2008-10-30


hAiR screenshot

What is it?

This was my very first contact with anything done in 3D. hAiR (capital A and R for Augmented Reality) is an awesome little program that let's you try on different hair-styles in real-time! It was written during the summer course Augmented Reality in 2005 (here is the link there (German)).
I did not write it on my own, but had two cool guys besides me: Marc Breisinger and Raphael Wimmer. We came up together with idea and code - and it was a lot of fun (you guys rock!). The original project page is here, but it was thought mainly for intern use :/

hAiR mockupHow does it work?

The computer tracks your head via a webcam on top of the screen ... well not really, it tracks the helmet you have to wear on your head. This helmet has special optical markers in a certain arrangement attached to it, which are easy to find and track for the program. Also, hAiR has stored a set of virtual hairstyles. These hairstyles are then projected on top of your head in the video-stream from the web-cam. The final, augmented video-stream is displayed ont the monitor in front of you. hAiR mirrors the videostream horizontally to create the illusion of a real mirror. Besides the helmet, there are also three 'brushes', sticks with bigger cylinders with optical markers, to change the color or size of the hair style or to draw new strands out of your hair. Also, there is a journal that holds a set of optical markers that are associated with a certain hairstyle. See the video below to see all that in action.

Development status

Closed. The final status was a prototype version (so pre-alpha) that works without any known bugs. We stopped developing after the course was finished, since we deem the concept proven.

Give me the technicals!

hAiR was written completely in plain ANSI-C. The tracking and controlling of the camera, including the obtaining of the video-stream, is done by the AR-Toolkit, a great piece of software. We also use the AR-Toolkit-Plus to utilize special, coded optical markers instead of the default-stuff. Another fundamental library is OpenGL, prepared by GLUT. OpenGL is niiiice. If you don't know, what you want to learn today, OpenGL is definitely a good bet ;) Oh, the actual hair-styles are VRML-models imported by the AR-toolkit. Since all this stuff is compilable for most major Systems, hAiR runs on Windows and Linux alike. We haven't tested it with MacOS, though :/


So, you read all that and saw one or two screenshots, that might well be faked and think this program was as likely written as Martians built the pyramids. So, here is the proof, a video of me interacting with the system (notice especially the last few seconds of the video!): (13 MB)

Or watch it right here (with somewhat messed up video - thnx YouTube!)

NOTE: The binaries are not downloadable here. They would be of little use, anyway: You need the markers and to see anything (If you really want to see hAiR for yourself, take the markers from the original project page). If you want the source, please ask me through eMail - perhaps there will be a scientific paper someday about hAiR, so I can't just publish the source here.