Sports action detection and counting algorithm based on pose estimation and its application in physical education teaching