Video Security for Ambient Intelligence