Merging RFID, visual and gesture recognition technologies to generate and manage smart environments