If you are on OSX you can also try AR toolkit, there is a version for quartz. You have to mark your target with a fiducial (can be done with IR reflective material (you can train your own fiducials). The advantage of this is that is gives a homography matrix back that allows you to easily get a 3D rotation of the target on which to re-project. I have used this a few times and it works well.