1. A method for controlling a plurality of devices, comprising: capturing an image of a scene including one or more objects using a camera on a controller; identifying the one or more objects in the image, by the controller; storing images for each of the identified one or more objects to an object database; comparing a common property of each of the one or more objects with one another, the common property being detectable by the controller, to select an object image corresponding to one of the one or more objects in which the common property is the most dominant relative to the others of the one or more objects in accordance with a prioritization criteria, by the controller; extracting the selected object image from the object database, by the controller; comparing the selected object image to a database of images for preconfigured devices, by the controller; determining whether the selected object image matches a preconfigured device image in the database of images for preconfigured devices, by the controller; and when the selected object image matches a preconfigured device image, loading a key map for a preconfigured device corresponding to the preconfigured device image matching the selected object image on the controller.