A camera module, comprising a lens, a driving member, and a photosensitive chip, wherein the photosensitive chip is a Bayer array sensor, the photosensitive chip comprises a plurality of pixel areas that are arranged in rows and columns, and each pixel area comprises four sub pixel areas, wherein
- the lens is connected to the driving member, and the driving member can drive the lens to switch between a first position, a second position, a third position, and a fourth position relative to the photosensitive chip;
- and
- in a case that the lens is at the first position, light incident from the lens forms a first image in a first sub pixel area of the photosensitive chip;
- in a case that the lens is at the second position, the light incident from the lens forms a second image in a second sub pixel area of the photosensitive chip;
- in a case that the lens is at the third position, the light incident from the lens forms a third image in a third sub pixel area of the photosensitive chip;
- in a case that the lens is at the fourth position, the light incident from the lens forms a fourth image in a fourth sub pixel area of the photosensitive chip;
- contents of the first image, second image, the third image and the fourth image are the same;
- and equivalent sub pixel areas of the first sub pixel area, the second sub pixel area, the third sub pixel area, and the fourth sub pixel area in the same pixel area are the four sub pixel areas in the same pixel area;
- wherein the camera module further comprises a limiting member, the lens is in movable fit with the photosensitive chip by using the limiting member, the limiting member comprises a limiting base and a connecting part, and the limiting base or the connecting part is connected to the driving member;
- and
- the limiting base is provided with a first limiting groove, a second limiting groove, a third limiting groove, and a fourth limiting groove that communicate with each other;
- wherein in a distribution direction of the first limiting groove and the second limiting groove, and in a distribution direction of the second limiting groove and the third limiting groove, a size of the connecting part is equal to a side length of the sub pixel area.