Real-time Optimization for Visual Feature Identification