This application relates to the field of
computer vision technology and discloses an anomaly event detection method, apparatus, device, storage medium, and product. The method includes: based on a deep neural network
encoder, mapping video event samples to a feature space to obtain video features and initial clusters; based on the expectation-maximization
algorithm, obtaining optimized clusters, an updated deep neural network
encoder, and a prior distribution based on the video features and initial clusters; and detecting anomaly events in the
video based on the optimized clusters, the updated deep neural network
encoder, and the prior distribution. This application, through the expectation-maximization
algorithm, can iteratively optimize the initial clusters and deep neural network encoder based on video features and initial clusters, and learn the prior distribution, improving cluster accuracy and better adapting to data characteristics. This results in more accurate extraction of video features, better differentiation between normal and abnormal events during
anomaly detection, and improved detection accuracy.