Computer vision for ambient intelligence