The invention discloses a camera system for locking an object in an image based on an IPC, and relates to the field of monitoring, the camera system comprises a lens, a processing board and a support, the processing board comprises a sensing module, an identification module, a tracking module, a taking module and a decision module, the sensing module is used for sensing a moving target and detecting vehicles within 200 meters, pedestrians within 100 meters and faces within 100 meters; the recognition module is used for detecting an object, and a matching object is any one of a vehicle, a face and a behavior; the tracking module is used for locking specific personnel, vehicles and non-motor vehicles, triggering tracking, tripping lines, area invasion, article leaving, article taking, wandering, area entering, area leaving and rapid movement; the decision module is used for locking a risk target and predicting a target behavior, and the selected face is used as the input of the risk target.