Applications of computer vision in advertising