The software, which could be used to target ads, would even analyse images posted to Facebook or Instagram.