The present invention adopts a method for detecting abnormal behavior of infants based on meanshift algorithm and SVM, firstly, the acquired infant video is preprocessed, and then the meanshift algorithm is used to track the target motion trajectory of the infant's limbs and whole body respectively in the video, and the obtained The motion trajectory information is saved, and then the motion trajectory information is extracted by the wavelet transform, a sample set is established for the extracted wavelet approximate waveform, and the set SVM support vector machine is used to train it, and the wavelet is used to obtain the power spectrum of the motion trajectory information. , the obtained features establish a sample set, which is also trained by the set SVM support vector machine, and the two trained models are tested. According to the difference in the accuracy of the two models, the data weighted fusion algorithm is used to set different weights The parameters are weighted and judged to obtain the best training results.