Basic script for blob detection and background substraction