Text this: Block Matching-Based Background Generation and Non-Rigid Shape Tracking for Video Surveillance