Documenting the construction and development of spatial interfaces using the Trackmate system.
After a bit of a break due to other commitments, I'm jump-starting my TrackMate project again. Quite a bit has happened since then; most notably a huge amount of progress on the Windows PS3Eye driver by Alex Popovich.
Having switched my OS to Windows 7 since the last time I worked on this, I downloaded and installed the latest driver this morning, and it functioned perfectly with no issues (see Trackmate screen shot above).
So, a good re-start then; watch this space for more progress.
P.S: I am aware that the post archive isn't functioning correctly, hopefully I'll get some time to fix it this week.
Just a quick update: I have had a huge workload lately, but the project is still underway!
I've been experimenting with different lighting techniques. I'm currently looking into LED strips and some kind of diffuser, but it's largely just a process of trial and error.
Anyway, I will post more pics soon, and hopefully some video too.
After some more research and advice, I have managed to get the system working much more smoothly and consistently.
The first issue was the focusing: after some good advice from Adam (comment here) I flipped the frosted glass table top over so that the frosting was closer to the tag patterns. The difference was instantly noticeable: no more blurry tags!
The other mistake I had been making was assuming that the green dots marking the tag centres in debug view were a good thing, so I was adjusting the threshold control until all these dots turned green. It turns out that the brighter the green, the less certain the software is of the tag's position - once I realised this and adjusted the threshold the other way (until all the centres were dark), the tracking accuracy improved dramatically.
I am also running the table without its internal lighting at the moment; just boosting the gain on the webcam slightly and relying on the room lighting coming through the table top. This seems to work well, and the tracking works much better over the whole surface, which I think is due to the lighting being much more even. I can now experiment with some different ways of diffusing the internal lighting, or perhaps use a number of LEDs, to make sure the surface is receiving roughly the same amount of light all over.
I will try and get some video up as soon I can get hold of a video camera!
One thing I've noticed is that in the screenshots in the walkthrough, the tags appear much, much sharper than in my setup. Here's a screenshot from the walkthrough:
And here's mine:
As you can see, the tags in my screenshot are quite blurred and dull, and I think this is harming the software's ability to track them.
There are a few possible causes for this: it could be that I have the camera at the wrong distance from the glass and so it can't focus properly, or the frosted glass I have used to make the table top might be too thick for this purpose. A bit more tweaking lies ahead!
Well, I managed to turn off the auto-exposure on the PS3Eye, with help from Adam Kumpf, the author of the Trackmate software; there's a useful thread relating to inconsistent tracking on the Trackmate discussion forum.
After this, I discovered that the PS3EyeTest application is not the best app to use for setting up the camera - when you change settings (exposure, gain etc) they aren't immediately reflected in the preview window; you have to start and stop capture. Also the app is a tad flaky, so sometimes when you restart capturing you just get a black screen. All of this makes it near impossible to get the settings right.
However, using AMCap (which is also actually bundled with Alex P's Windows driver), you can adjust the settings with a real-time preview, then apply them once you're happy. So that's the way to go in future.
After a bit of tweaking, all the tags on the layout guide sheet are being recognised well. Here's a screen grab from Trackmate:
All those green circles with larger green dots in the middle indicate that the tag info is being picked up across the surface. And here's one with just a few tags placed on the table, which also seems to be working fine:
One small issue, though: the Trackmate software is only reporting a 5fps capture rate, whereas the camera is capable of 60. I will need to find out what's happening here and try to get it running at full speed.