If you see some spots in the picture or video you take with your iPad, it means that there is some foreign body (dust particles) that has settled on the image sensor. The only way to fix the problem is to replace the complete camera module.