A motion capture framework for table tennis using optimized SVM and AdaBoost algorithms