Patent attributes
A window can be used to detect objects located within an opening. A structure can define the opening. The window can be operatively positioned within the opening. The window can be movable to selectively open and close the opening. The window can include an optical grating operatively positioned near a closing edge of the window. A light source configured to emit light toward the optical grating. A detector operatively positioned to acquire spectroscopic data of the light emitted from the light source after the light has interacted with the optical grating. A processor can be operatively connected to the detector. The processor can be configured to: determine a temperature based on the spectroscopic data; determine, based on the temperature, whether an object is located in the opening; and responsive to determining that an object is located in the opening, control a movement of window.