Multiple object tracking by incorporating a particle filter into the min-cost flow model