Framehopper: Selective processing of video frames in detection-driven real-time video analytics