A display panel for a terminal, comprising: an image display panel (1011, 1111) comprising an array substrate (110, 330), the array substrate (110, 330) comprises m ∗ n subpixel units, and the subpixel units comprise respective transparent electrode areas and Thin Film Transistor areas; an optical sensor array (130, 370, 410), for use as a camera in the terminal, in the image display panel (1011, 1111), wherein the optical sensor array (130, 370, 410) comprises a plurality of a ∗ b optical sensors arranged in an array, and each optical sensor is disposed in the TFT area of a corresponding subpixel unit, wherein, a≤m, b≤n; and a grating panel (420, 610, 710, 1112) above the optical sensor array (130, 370, 410), characterised in that the grating panel (420, 610, 710, 1112) comprises a lower polaroid (910, 950), a liquid crystal grating layer above the lower polaroid (910, 950), and a upper polaroid above the liquid crystal grating layer, the liquid crystal grating layer comprises a liquid crystal area and an optically transparent area, and the liquid crystal area is overlapped with the transparent electrode areas but is not overlapped with an optical sensing area of the optical sensors, the liquid crystal area added to the optical sensing area of the optical sensors equals a display area of the image display panel, the liquid crystal area of the grating panel (420, 610, 710, 1112) is configured to reduce light incident on the optical sensors that is not perpendicular to the optical sensors, and the display panel further comprises a liquid crystal grating control circuitry connected with the liquid crystal grating layer. an image display panel (1011, 1111) comprising an array substrate (110, 330), the array substrate (110, 330) comprises m ∗ n subpixel units, and the subpixel units comprise respective transparent electrode areas and Thin Film Transistor areas; an optical sensor array (130, 370, 410), for use as a camera in the terminal, in the image display panel (1011, 1111), wherein the optical sensor array (130, 370, 410) comprises a plurality of a ∗ b optical sensors arranged in an array, and each optical sensor is disposed in the TFT area of a corresponding subpixel unit, wherein, a≤m, b≤n; and a grating panel (420, 610, 710, 1112) above the optical sensor array (130, 370, 410), characterised in that the grating panel (420, 610, 710, 1112) comprises a lower polaroid (910, 950), a liquid crystal grating layer above the lower polaroid (910, 950), and a upper polaroid above the liquid crystal grating layer, the liquid crystal grating layer comprises a liquid crystal area and an optically transparent area, and the liquid crystal area is overlapped with the transparent electrode areas but is not overlapped with an optical sensing area of the optical sensors, the liquid crystal area added to the optical sensing area of the optical sensors equals a display area of the image display panel, the liquid crystal area of the grating panel (420, 610, 710, 1112) is configured to reduce light incident on the optical sensors that is not perpendicular to the optical sensors, and the display panel further comprises a liquid crystal grating control circuitry connected with the liquid crystal grating layer.