Scattering in medium is a serious problem that limits the imaging depth or imaging distance. According to the absorption and scattering of light in biological tissues, it is difficult for both excited light and signal light to penetrate biological tissues, and the scattering effect in biological tissues will destroy the phase information of signal light, so it is difficult to directly carry out high resolution imaging in deep biological tissues. In the recent studies it is surprisingly found that two-dimensional image information of an object can be directly recovered from the disordered speckle pattern with pseudothermal light sources based on the optical memory effect (ME) and autocorrelation (AC) method. In this paper, we study a speckle imaging method based on pseudothermal illumination, where the Gerchberg-Saxton algorithm is used to perform the phase recovery of the object. Here, the advantages and disadvantages of HIO&ER algorithm and ping-pang (PP) algorithm based on the ME and AC method for imaging through random scattering medium are compared by using numerical simulation. By comparing the recovery effects and the numbers of iterations between HIO&ER algorithm and PP algorithm, it is found that PP algorithm has a fast running speed when a higher recovery quality is maintained. In addition, a continuous He-Ne laser and rotating ground glass are used to produce a pseudothermal light source. And a single frame imaging of different shape objects, which are a few millimeters away from random scattering medium, is carried out by objective lens. Then PP algorithm is adopted to recover the actual image of micron object. Furthermore, we experimentally find that the magnification, resolution and image intensity, which are qualitatively studied, are seriously affected by the distance between the focal plane of the object lens and scattering medium. We find that with the increase of the distance, the obtained autocorrelation graph and retrieval graph have corresponding amplification and the object sampling point information collected on sCOMS increases, which improves its resolution. However, the scattered light intensity collected by objective lens decreases after passing through the scattering medium, making the intensity of recovered image weaken. The results of this study will further promote the application of ME and AC method in the study of deep tissue medical imaging.