Install the Photo Recovery Software for your Mac System and launch it in your system.
Now in the left panel, double click on the drive name.
Select the photo recovery option from the given two options and than choose the file type from the given list and than click OK.
In left panel, a list of recoverable files will be shown.
Click on any file to see the preview and than choose the files that you want to recover and then click on recover all button to recover all the files.