The invention discloses a real-time fitness
posture recognition method based on local and global
feature fusion. The method comprises the following steps: firstly, extracting preliminary features of an input image through a CSPNeXt
backbone network; afterwards, by utilizing an improved AFT-RPB reasoning module, by introducing relative
position bias and fusing a Sigmoid weighting mechanism, the modeling capability of the model for a complex dependency relationship between key points is enhanced, and local details and global context information are effectively balanced; further, probability
graph model optimization is carried out on the
spatial relation between the key points through an NCRFs reasoning module, and the consistency of attitude
estimation is improved; meanwhile, a lightweight depth block formed by depth separable
convolution is adopted to replace traditional large kernel
convolution, so that the complexity and parameter quantity of the model are reduced; finally, key point coordinate prediction is converted into a classification task based on a SimCC
algorithm, quantization errors are reduced, and high-precision and real-time fitness
posture recognition is achieved. The reasoning speed and the lightweight level of the model are remarkably improved, and the method is suitable for real-time application scenes with
limited resources.