Dynamic Resource Allocation by Ranking SVM for Particle Filter Tracking