Sunday, 24 July 2011

Lasers fixed !

I finally managed to get a proper solution for fixing the lasers... I used a method I've seen on nuigroup.com, from AdrianH, which is very clever and also simple. As he says, "Basically, it is a piece of metal resting on 4 screw-nuts, so that it is possible to adjust height/roll easily and precisely" I couldn't explain it myself better :).




 I'll try to calibrate and make some resistance tests later, but the result feels pretty strong right now.

Sunday, 17 July 2011

Design = OK

Since the beginning of this project, I wanted to create a stylish table, not an ugly massive wooden box like 1m*1m*1m with all the fans letting people see through it and all the lasers & wires poping out randomly. This is to be a real coffee table, on which you can put your glasses (I'll talk about that later), plates, dishes, but still be able at the top of your finger to change the music, or to launch a movie on the videoprojector.

I just finished the design part, and I think the result is quite nice :



On plain daylight, you can't almost see that there's a screen in it.





I still need to add some aluminium foil to even the lighting in it (I had to remove two of these panels to be able to plug all the wires in it : I'll put them back when I have the last cables I need, i.e. the Mini-DVI -> HDMI adaptator for MacBook).

That's pretty it ! I now going to find a way to have a steadier camera display, as it causes the blobs to be falsly detected...

Saturday, 16 July 2011

A bit of calibration...

Since my previous tests, I've been able to work on the blob detection a bit, and try to begin a calibration. That's quite hard actually, I litteraly spent hours on all the blob detection.

My first calibration was ok, but not as good as you'd want it to be : it detects blobs but it's not always accurate, and the blobs on the sides easily break, meaning that the computer doesn't detect one blob (with a particular blob ID) and keep with it until my finger leaves the table, but it will detect several following blobs. This would result as, for example, the computer thinking I've spammed the mouse click on a file or a folder, instead of a hold click.

Here's the result :



However, I almost finished the table design, and I just need to hide the white / ugly frame around the LCD matrix. I'll use some black glossy thick paper and that'll do the trick.

Here are some pictures of the modified Ramvik table so far :



First & Second test !

Let's go for the first test !

I wanted to make sure that the camera could correctly see the whole display, so I used for that test only one laser, and didn't add the LCD Matrix.

Of course, as I only have one active laser, we can easily see some occlusion (middle finger not showing at the beginning), and the very bright window at the bottom left corner is obviously polluting the display with a massive IR lighting.

But overall, the test is a success as we can see everything properly. The Ikea Ramvik table seems to be the way to go !



For the second, test, I added the LCD matrix + the backlight. The blobs are obviously very less accurate, but I only used one laser for that test. It works nice, but I still need to find a way to have more accurate blobs.


Here's the result :


I'll try to work a bit on the laser calibration and on the camera aswell.

Lowering the camera

Ok, now that everything's in place and that the lasers can be correctly used, I had a bit of an issue : with its only 20cm high, the 32" screen couldn't be entirely seen by the camera, even with a fish eye lense...

I thought about adding another camera, but I'm getting short on money, and another camera would mean : the actual camera + IR filter + lense mount + lense.

As the Ikea Ramvik coffee table is roughly 40cm high, which is actually enough for my camera. I then cut a hole inside the table and placed the camera on the ground plank, like this :


To fix the camera, I used an empty DVD box, in which I've cut a hole for the lense : it works quite well !
I can now see the whole display, and can get started for the real stuff...

How to hide the lasers?

I've been searching for quite a long time how to hide the lasers ontop the table, and - of course - how to make them look nice.

I can't remember where, but I saw some months ago a table with some kind of silver knobs, one in each corner, and I thought that it looked amazing. I then starting to look for some empty silver knobs, thin enough to be able to cut a hole in it (for the lasers).

By chance, at work, we received as a gift from some Advertising Network some very fine French tea from Mariage Frères, a famous tea house. And the tops were exactly what I needed....


After gathering four of them, I needed to find a way to place them into the table, so "through" the tempered glass pane. As tempered glass can't be cut, I had to order another pane, just 20cm less long than the original, and I ordered two black glossy acrylic straps, 10cm wide, 5mm thick.

By that time I didn't know that cutting acrylic was a bit complicated, because it actually melts a lot, creating a lot of plastic threads all over.

I then used two wood planks, one on each side of the acrylic, then used a special saw I bought (can't find the English name, a "Bell saw" ?).

Here are some pictures I took of the whole procedure :




Some polishing and cleaning later, here's the result :

I've go to say that the result is very smart : I wouldn't have thought it would be that clean and nice looking. I just added a hole in each silver knob and that's it !

Some fans to make my table even cooler.

An issue I've been struggling with since the beginning of this project was - of course - the heat. But some fans can be very :
  1. Ugly
  2. Noisy
  3. Unhandy
I've been looking for some nice quiet fans and I just got 2 of some random computer fans from an old PC. They were exactly what I needed. A few shopping hours later, I've bought some stuff to make them nice looking...


 Everything seems ok, the two pieces have exactly the same size.



A couple of cutting later....

 Painted in black it's even nicer


I've bought a noname universal power adaptator which I used with the 9V out, the 12V being too noisy with the two fans.


Here's the powered result on one side.

Friday, 8 July 2011

Multimedia & Wires

Ok, the tempered glass pane is ready, I got it earlier yesterday. That's definitely a good thing : I went to a little glass-house near Paris a friend of mine told me about, and it was 40€ cheaper than everything I had found on the internet, and the guy could have it done in 3-4 days. Definitely a nice place to go ! Bringing it back home on my bike was quite a pain in the bum though ('should have taken a picture)... !


Anyway, I've been thinking a lot about "how is the table going to interract with all the stuff I've got in my living room" and I've managed to find (after like litteraly hours of reflexion) a good setup for using the projector + the home theater, all from the table only.


Here's a chart I've done to illustrate the set up : it's the simplest way I've could have done it (the macbook 2008 doesn't have the sound going through the miniDVI port, and thus I couldn't just plug the HDMI cable from the Macbook to the Home Theater... Too bad) :



Everything is ordered (mainly on Amazon.co.uk & Amazon.fr) and I've already received almost all of the cables & devices. The HDMI splitters & Switch are active devices, I've checked a lot of forums before buying ;)

With that set up, I'll be able to control all the music from the table (and then with my actual computer switched off), but also play movies & TV Shows directly from the table too, using my NAS as storage (the projector being over the table, in front of the sofa).


I'll be posting this very weekend with the some pictures & movies... If everything goes well !

Thursday, 16 June 2011

A couple of sketches

I've been working on my table this weekend and the results are beyond expectations : I was finally able to find what was causing the blobs to be that blurry and almost undetectable. I'll post the explanations later with some videos and pictures.

 Now that the electronic part is complete, and that I can get proper blobs even in plain daylight, I began to think about aesthetics.


After a couple of reflexions, I now know the final design of my table. I've drawn these couple of sketches in order to get a proper idea of the final render (that's not as accurate as a photoshop creation but it's more artistic imo :)


 Main view of the final render.



A cut off view of the table.



All I need now is to find a not-too-expensive tempered glass pane !

Tuesday, 31 May 2011

First test running

Ok, now everything's in place, with no - or almost - IR light pollution from the backlight. I've placed only one laser at a corner, the backlight on, and after a short calibration, I've been able to start the first test... And here's the result :



I've got to say that was really neat and accurate : there are 3 difusers + a 4mm thick acrylic sheet + a 4mm tempered glass pane between the fingers and the PS3 Eye camera.


After having put the LCD matrix ontop that set up, I started another test, but the result was really far from the first one... I almost couldn't see the blobs. I'm afraid the LCD matrix is blocking IR light around 780nm... !!

If this is correct, I'll have to switch for some 850nm as I'm sure they'll be ok from another post on nuigroup.com, using the same Samsung LCD TV.

We have this 4-day-long weekend in France this week, I'll try to give it a shot and see if I can manage to improve the lighting, in order to keep this lasers : four 850nm 10mw lasers are worth ~100€ + 20€ for the 850nm IR filter...!

A couple of modifications

Since my last post, I've encountered quite a lot of issues, and I'm afraid my project has been a bit delayed...

The acrylic I've ordered is fine, and everything is properly set up. But I still can't really see any blobs when I add the LCD display ontop of the set up. As I thought this was due to IR light pollution from the Samsung TV backlight (as said on several posts), I've removed it and replaced it with one taken from 17" LG screen I knew suitable. As it's far less birght, I've add with a friend some reflective panels in order to maximize the defused light.

Here are some pictures of the set up :



And here's the set up :




With the difusers the result isn't perfectly even, but i'll see that issue later : I frist need to get everything working properly !

Tuesday, 3 May 2011

Acrylic ordered...!

I've been a bit quiet this last month, as I was waiting for the acrylic.

A colleague from work was supposed to help me with some "great friend who works as a machining technician" . I've been asking him every week for a month and a half, after having given him all the sizes and specs, "so when will I have my two acrylic sheets :D ?" but the only answers I had were "I'm on it, don't worry", "My friend's quite busy but I'll have'em by the end of the week"...

As we say in French, "on n'est jamais mieux servi que par soi même" ("if you want something doing, do it yourself"). I eventually ordered from Evonik Acrylics my two sheets : one to support the LCD screen and the difusers, the other one for the main display.

I can't properly test right now as because as the difusers aren't supported, they are dangling down and the blobs are like massively blurry.

The other issue I have is that the backlight is emiting two much IR : I'll try using the backlight from the 17" LCD screen with a lot of reflective areas in order not to loose too much lighting power !


I'll post some pictures of the project soon enough !

Thursday, 31 March 2011

Lense delivered ! At last !

I just received from dealextreme.com my 2.1mm lense for m12...! Almost 20 days after having placed the order... As I need a second PS3 Eye camera (because my table is only 20cm high), I'll order it with a DIY lense kit from Peauproduction.




It looks pretty neat, I'll be testing that tomorrow night ! As it won't cover the whole display (32" is too big to be seen from only 20cm), I'll set the resolution to like 800*600 in native (in order to reduce the display size).


I've read in this post that some people had a some issue with the backlight (and especially with the 32LG3000 tv I've bought). It seems to be emiting quite a lot of IR arround 780nm, leaving some massive light pollution... As I don't have the same setup (he has a pane of glass directly under the LCD screen that - of course - reflects a LOT, as I only have a couple of diffusers (with the reflective side up). I hope that'll do the trick, but I'm still thinking about switching to 850nm in case that something's wrong.


I'll be posting the results during this weekend...

Thursday, 24 March 2011

Installing the LCD

Okay, now, I need to make everything go inside... Quite complicated actually ! The table is very small and the screen quite massive in comparison.

I've taken as main computer for my table my girlfriend's old laptop (not that old actually) that has its screen smashed up, and the battery dead : perfect for what I need !

It's a MacBook, Core Duo 1.83GHz with 2GB Ram and 60Gb HD. The GPU is rubbish, but that should do the job.



Using a laptop is handy, as it takes a lot less space and gives off less heat (and has a remote control in my  case :D).

Now trying to fit everything in the table :



Hum, that'll do it, but it's tight... A few screwing / cutting later :






And that's it ! With a couple of modifications, it'll be amazing. The tempered glass over it makes the table very solid, and I just need to add some silicon to make it waterproof (that's still a coffee table, isn't it?).

Next steps : placing the fans to make it even cooler (no pun intented) and test the lasers. And I'm still waiting for my lense...

For the second cam, I'll order at PeauProduction with everything already modified... !

Preparing the Coffee table

Ok, here we are. That's my coffee table inside my little Parisian flat, a Ramvik from Ikea. It's quite nice, with some tempered glass over it. Actually, the main part is thinner than I expected, I'm pretty sure I'll need 2 cameras to be able to track de whole display.



And here we go !

 





Placing the LCD plastic frame


And here we are ! The main case is only 20cm high, so, yeah, I'm sure I'll need to go for 2 cameras with some distortion lenses...

The 32" TV screen

I've ordered on eBay a 32" LG LCD TV from a very nice guy from Auvergne in France, a 32LG3000. That model was used by a guy on nuigroup.com and I knew it hadn't any FFC issue.

Except the fact that I had to take a day off a friday to wait for the delivery and that the bloody f****g ars****le that was supposed to drop it pretended I wasn't there (typical), I've got to say I'm very pleased with that order.




The 32LG3000 is only 2 years old, has a quite nice contrast ratio and is HD Ready (and not Full HD). For MT purpose, HD ready can be better, as it has more spaces between the pixels and the IR light seems to go easier through it (apparently). Anyway, a HD ready is often cheaper and will use less CPU usage for native resolution display, so that's still good news :)



The disassembly is quite straight forward too, nothing really annoying with it.





A good thing to do is to take a picture of every component before unplugging it to be sure to know how to replug everything. Here are some of those pictures I've taken. 










And here is the LCD matrix. Actually, I've got to say it's bigger than I expected ! I can't wait to test it....

First test !

 Ok, now that I have everything I need to test the solution, let's go for it :


The components used here are just here for testing purpose. Here's what I'm missing :
  • PS3 Eye modified camera (still waiting for my Lense !)
  • the 32" (82cm) LCD screen
  • the acrylic for the table


I'll then use my 17" screen, the Philips modified camera (@15 FPS yiipii !), a piece of glass, and... A upside-down wooden stool  :/



 The amazing stool


As I don't have the lense, and the Philips webcam is zooming a LOT, I can't put it under the setup, as it would need arround 1m depth to be able to see the whole frame. I had to put it on the side and it's then even less accurate. But anyway, this is for testing purpose !





 With the LCD matrix over it


First display test (I forgot to put the diffuser...)




 
What a lovely finger ! (didn't do it on purpose :x)

And it works ! I only used 1 laser (at the top left) and we can see a liiiittle white spot on the upper right black image... That might sound weird for people that don't know MT technologies, and quite dumb for people that are familiar with it, but, c'mon, the first blob is always kinda amazing !

Well... Let's go for the real stuff then !