Text this: The optimization of gesture recognition techniques for resource-constrained devices