With increase of inbound and outbound passengers, tailgating has become a common security problem. Therefore, anti-tailgating detection is now an important part in the security work in frontier inspections. The video anti-tailgating detection system launched by us supports frontier inspections technically for less security staffs and security hazards and better control in ports.It can be used with a passenger self-service inspection system, intelligent verification counter system, a restricted area staff control passage system, and a security inspection passage system for efficient monitoring for tailgating.