Using a photo recovery software is the most effective way in my view. Of course, there are free programs for recovering deleted photos, but they all have limitations. Most free photo recovery software is limited in function or bundles some other annoying software/advertisement, even does not work at all without a continuous update for years. I advise you to try the free version of the Stellar Phoenix Photo Recovery software: [https://www.stellarinfo.com/digital-media-recovery.php|https://www.stellarinfo.com/digital-media-recovery.php]
It gives free preview of photos before recovering so you can be sure you have the photos that you want to recover. It is one of the most powerful and user-friendly Photo Recovery software.