I have thousands of photos of homework from when I was in school stored in Google photos. I always took pictures as a backup but the stuff I submitted I always scanned using a real scanner because it was hard to get a perfectly parallel photo with good lighting.