That depends on how the factory restore was done. If it just overwrote things and created a new user account, you can poke around in C:\Users to see if you can find anything. If it formatted the drive, then you're looking at needing recovery software. That can probably recover SOME of the photos, but to recover ALL of them you'll probably need professional recovery services which start at about 500USD for them to even LOOK at the drive. You can expect to pay probably 2000USD or more.
So, let this be a lesson in the value of having backups.
I have today restores my computer to factory default and have lost all my pictures, files etc any idea how I can retrieve them at all I have pictures I have had for years all installed on there any help much appreciated