This script creates an ambience light rig from any polymesh (one light per vertex). It can read still images or image sequences, and supports hdri. The polymesh uv is used to read its texture, and retrieve pixel color at each vertex, then the rgb information is passed to the lights. You can tweak some parameters like: object/light associations, light intensity, light icons colors/size, plot/unplot lights, curve smothing and fitting for plotted lights, etc.
(download link: area.autodesk.com/downloads/scripts/ambient_light_rig)