The paper proposes using a two-zone different level Fresnel lens to increase the depth of field. On the one hand, such a diffractive optical element can reduce the weight of the device compared to, for example, cubic phase and binary axicon apodization. On the other hand, such an element has a simpler structure compared to a harmonic lens or free-form DOE. A neural network is used to restore the image. Optimization of the surface relief of the proposed two-zone lens is performed.