Wednesday, May 23, 2007

Progress: Face Recognition

My motion tracking patch now recognizes faces. I've programmed it so that it feeds the coordinates of the face into cv.jit.track and plays notes based on the movement of the face. I also threw in a quick fix so that there wouldn't be silence when the face is lost, but I'll be taking it out and replacing it with something more elegant. Everything has been tested within SL and so far, so good.

Though I've had mostly success with this patch so far, I believe I'll be grinding to a halt before too much longer. I've been having CPU usage issues lately, and the patch doesn't even contain all the elements it needs to yet. I know my two main issues are jit.desktop and cv.jit.faces, which the help file states contains a very CPU-intensive algorithm. The patch certainly needs a lot of cleanup, both for CPU reasons and for aesthetic reasons, so I that will be one of my focuses for today. I'd also like to see if I can figure out how to incorporate the LSL script that allows communication with Silo into the chat logger, despite the fact that Silo still isn't up on the apache server. Between those two, I think I'll have plenty to do today.

- M

No comments: