When the Hough circle transform fails to detect the ball, DigiPyRo tries to calculate derivatives with the empty arrays, causing it to crash.