Autonomous discovery, localization and recognition of smart objects through WSN and image features