get a microsoft kinect. there is a huge open source community that handles all of the kinect-based 3D vision stuff. find the human. track the human. Hopefully not kill the human :-P
what's the turret for? the kinect won't work at extremely long ranges, though. say only 15 feet. Is that good enough? Otherwise use openCV and some good cameras, but that's harder.
MIKE