Patent attributes
Disclosed in the present disclosure are a method and an apparatus for security inspection. The method comprises: acquiring identity related information of a person being inspected, the identity related information comprising a certificate photo; acquiring a real-time facial image of the person being inspected; by comparing the real-time facial image and the certificate photo, acquiring a facial comparison similarity; dynamically determining the threshold of the facial comparison similarity; and performing a human-certificate verification on the person being inspected according to the facial comparison similarity and the threshold. The method for security inspection of the present disclosure enables the fast and accurate facial comparison of the person being inspected during security inspection.