Patch-based pedestrian tracking using monocular cameras