This paper presents the implementation of an embedded camera system applied for shooting training, where the sensor on the gun system is adopted. A CMUcam4 is attached on the gun to detect the laser spot emitted by the shooter. In addition, the camera is used to detect the coordinates of marker on the target, which are sent to a computer for calculating the homography transform. A simple color thressholding is employed on the camera for such detection. Experiment results show that the errors of marker and laser spot detection are 2.33% and 2.15% respectively. The computer system helps to calculate the homography transform properly. Therefore the shooting point could be determined accurately, regardless of the position and viewing angle of the camera.