A very clever chap over at SolderChips is currently designing and 3D-printing a scale replica of a Half Life 2 sentry gun/turret. A Raspberry Pi will be used to do facial image recognition and then tell an Arduino to control some servos to move the turret. Well worth keeping an eye on this project. Read more here.