A case of the motion sensor is attached to a side frame of eyeglasses (the case may have a slit or groove fit for the side frame).  A rubber band or Velcro tape may be used to further immobilize the sensor.

MPU9250