A Framework For Optimal In-Air Gesture Recognition In Collaborative Environments