If you have a iCloud backup before the photos were deleted.
Press and hold the Sleep/Wake button until the Apple logo appears to reset your iPad to factory default.
How content is restored to a new device
When you go through Setup Assistant on a new device using iOS 5 or later, choose "Restore from iCloud Backup" and enter your iCloud account and password. You will see the three most recent backups for each of the devices on which you enabled Backup. Choose which backup to restore from.
After your device restarts, your settings and accounts are restored and Backup starts downloading your purchased music, movies, TV shows, apps, books, Camera Roll, and other content.