1461095838-3624ffeb-03c6-4de5-8204-8be5ea6692c4

A face mask for a patient undergoing a sedated endoscopic procedure. Embodiments of the present invention utilizing a feature called Local Difference Pattern, which is more discriminative for modeling local background image features. At least one sensing beam connects the mass to the frame, the sensing beam being distorted by pivoting movement of the mass.