Updated people detection to deal with sampleFps