Text this: Cascaded algorithm for background modeling using pixel-based and block-based methods