Just as with recovering deleted pictures on your computer it is possible to
How to Recover Deleted Pictures on Android. Time is of the essence though. When users delete pictures from their pictures folders they aren't immediately deleted. They are retained until the disk space they occupy is needed for something else. It is best to search through trash and cloud backups first. Check photo sharing apps or synced albums. If the lost pictures can't be found then it is best to shut the device down immediately and begin the recovery operation. Flashing and partition size of the device will affect the success of any recovery process but the quicker it is done after deletion the better.