registerSensor sends frameHeight and frameWidth as well