- I set up a Twitter account
- I made a web page that gives a small skeletal sample of the aesthetic I'm hoping to go for with the final program
- I set up a Subversion-based version control solution
In bigger events, I mostly finished with a gut-and-rewrite of the SkeletalViewer into original (or at least mostly original code). The best thing that came from that process is a better understanding of how that program went about its tracking. With that knowledge, I've also re-written my tracking code with the intent to allow for a higher level program-awareness of which hand is active as well as smoothing the transition between active hands.
I've also implemented a rough attempt of an animation smoothing solution for the cursor. What I do is create an array of X and Y values that holds the last 15 of each. Then instead of using the hand's current X/Y position, it uses the average of the arrays. It has, at the very least, allowed a 'still' hand to appear more still. Unfortunately, my means of outputting the array values (stepping through the array in a loop and output each i value) wreaks havoc on the program performance, so I'm unsure if the outputs of all identical values was due to an error in my code or due to the video feeds not being read at the 30 FPS it's supposed to.
Also, with C# being the first strict (or even strict-ish) I've written in, it was interesting to find out how static Arrays are in C# versus PHP, Javascript, or Actionscript.
No comments:
Post a Comment