This document proposes a bandit-based learning framework to optimize video-based face recognition over wireless networks and cloud computing. It introduces two multi-armed bandit algorithms that use contextual information to adapt transmission parameters and maximize recognition rates. The algorithms are shown to outperform reinforcement learning methods, reducing video frames processed by 17-44% and network traffic by 12-37%.