With embedded deep learning based algorithms, the camera is able to give the best shot of a target face through detecting, tracking, capturing, grading and selecting. The camera captures the face and outputs the features, such as gender, age, and expression. The camera uses face exposure function to dynamically adjust face area exposure of captures and ensures high face picture quality. With embedded deep learning based target detection and classification algorithms, the camera carries out the duty of perimeter protection, monitoring the actions of line crossing, intrusion, region entrance, and region exiting. The algorithms greatly filter out the mistaken alarm caused by the interference of leafs, lights, animal, flag, etc. Multi-Target-Type Recognition.