Abstract We implemented an experiment to reveal hidden drawings on papyrus, utilizing an optical technique based on the speckle phenomenon. The goal is to optimize the detection of hidden objects. Our approach proposes using multiple wavelengths for illumination and tuneable algorithms to process the dynamic speckle images. By implementing the suggested method, we generated various results with varying quality, contingent upon the tuneable algorithm parameters. It's feasible to identify the optimal parameter combination to achieve the most effective visualization of the recovered image. To streamline the selection of tuneable algorithms and mitigate reliance on subjective visual judgment, we employed unsupervised machine learning techniques to determine the conditions necessary to achieve optimal results. This approach simplifies the selection procedure and offers an objective and non-invasive method. Furthermore, the proposed procedure holds promise for extending its application to uncover hidden paintings, subsurface archaeological artefacts, and other dynamic speckle experiments.