A new multiclass SVM algorithm and its application to crowd density analysis using LBP features