Added background detection sample