The position sensor uses a motion detection mechanism to determine whether humans or other objects are within a specific region. Examples of position sensors are rotary encoders and hall effect sensors. This type of sensor is used in typical hospital surveillance systems that track patients, nurses, and doctors