Captioning images on the web is a manual process. Choosing what the background is and what part of the image a caption overlays are two of the important decisions. These are either made en masse with complete disregard to the underlying content by prolific content providers or painstakingly manually by the more curated lot.
Texposition is an image analysis based approach to creating smart image captions.