A comprehensive approach for recognition and localization of electrical devices | Synapse