1. Correcting the Rotation and Flip of the Images
While the algorithm extracted the Right Ascension, Declination, and Field of View from the FITS file, it did not provide the rotation angle of the images or if they were flipped. As images rotated by different degrees or flipped around, the horizontal and vertical axis would have the same values, the algorithm must be configured on these variations for each telescope.
2. Recently Discovered Asteroids may not Fully Match the Images
While my algorithm picked the most recently discovered asteroids, their celestial coordinates did not match the pixel coordinates of my image. This is because the orbital path of these asteroids was not certain, and hence their actual position was different from the expected position.
3. Selecting the Best Telescope (Aperture vs Field of View)
I used robotic telescopes with aperture sizes of up to 2 meters and a field of view from 10 to 180 arcminutes. While the aperture determined the dimmest (highest Magnitude) asteroid, I would detect, the field of view determined how much sky I could image. As dimmer asteroids are more likely to be undiscovered so far, bigger aperture telescope such as Faulkes Telescope South and Pan STARRS 2 was advantageous.
I strengthened planetary defense by using robotic telescopes, open data and my coding and math skills to create an open-source algorithm to detect possible asteroid candidates.