get camera projection matrix for computer vision community

Hello,
I am from the CG ignorant community of computer vision. I am interested in generating an animation and be able to get the prespective camera projection matrix at each frame which allows me to convert any world coordinates into corresponding image coordinates in each frame.

I have been looking around on scripts and GameLogic module etc. But I haven’t yet found a neat script which doesn’t run only in game mode which lets you save that matrix for each frame. Any help would be greatly appreciated.

Alikin

dig through the opengl api manual, you might find something in there.

Just checking what you want… You want to program a real-life motion control system to mimic the movements of a CG camera? Is that correct?

Or do you want to make a CG Camera mimic the camera of real footage already shot?