Automatic Tuning of Interactive Perception Applications