To provide an optical sensor capable of performing highly accurate
optical sensing of a scene.SOLUTION: The optical sensor includes a unit D1 including x blocks 11, for example, three (x = 3) blocks a, b, and c, each having a plurality of pixels 12 arranged in a first direction 11A in a plan view. The pixels 12 are arranged at a pixel
pitch D1 in the first direction P1. The three blocks a, b, and c are arranged side by side in a second direction D1 orthogonal to the first direction D2, and are arranged to be shifted from each other by P1 / 3 in the first direction D1. For example, the light receiving elements 11A and 10b each including the units 10a corresponding to the number of stages of the TDI are arranged so as to partially overlap each other in the D1 in the first direction, and the
optical sensing is performed using the blocks a and b in which the positional deviation of the pixels 12 is minimized. In addition, by increasing the size of each of the light receiving elements 10a and 10b in the second direction D2, inclination at the time of mounting, poor connection, and the like are suppressed.SELECTED DRAWING: Figure 10