Computer Vision for smart homes