The invention discloses a camera module, electronic equipment, an optical element and a preparation method of the camera module. The camera module comprises a lens group, the optical element, an imagesensor and a processor, wherein the optical element is arranged in a Fourier transform plane between two lenses; the image sensor receives the diffracted image light reduced by the optical element and converts the image light into a first image signal, and the first image signal is used for being transmitted to a convolution filter in the processor to be subjected to deconvolution filtering processing so as to compensate blurring to obtain a second image signal. Optical elements are arranged in Fourier transformation planes of the two lenses, so that diffraction of light passing through the camera module is reduced. The diffracted image light is received by the image sensor and is converted into a first image signal by the image sensor, so that deconvolution filtering processing is carried out on the first image signal to further compensate blurring to obtain a second image signal, and the diffraction of the light passing through the camera module can be reduced.