Deep learning based optical curvature sensor through specklegram detection of multimode fiber