First try wipe cache partition and reset camera app settings. Also try with a different camera app. Factory defaults is the last resort because it requires you to take backups and then go through settings, wifi, email, and then for the long wait to update every app.