Text this: AI and RIoT for rehabilitation: advancing hand gesture recognition and voice assistance