Text this: Optimization of particle filter tracking algorithm based on weakly supervised attribute learning