Now records video and use threshold to erase shadow