A model training method and apparatus, a
body posture detection method and apparatus, and a device and a medium. The model training method comprises: inputting an image training sample corresponding to the current iteration into the current posture detection
network model, and according to a data form of the image training sample, obtaining a first
loss function corresponding to the current iteration; according to obtained camera parameters, performing re-projection
processing on the current output result of the posture detection
network model, and on the basis of a re-projection
processing result, obtaining a second
loss function corresponding to the current iteration; and on the basis of a fitting
loss function formed by the first loss function and the second loss function, performing
backpropagation on the posture detection
network model to obtain a posture detection network model for the next iteration.