With the development of artificial intelligence, fiber Bragg grating (FBG) sensing technology has garnered increasing attention. This paper first proposes a surface reconstruction algorithm based on curvature information, which is applicable to two different sensor structures: implanted FBG sensors and whisker array sensors. The design and analysis of these sensors are based on a pure bending model, where the corresponding bending curvature is obtained by measuring the wavelength shift of the fiber Bragg grating at the measurement points. Next, the paper elaborates on the surface reconstruction algorithm for the implanted FBG sensor. This sensor contains FBG sensing points that are evenly distributed. Curvature information corresponding to the position can be obtained based on the direction and magnitude of the wavelength shift. The fiber bending is considered as a connection of multiple arc segments, and the coordinates of the sensing points are calculated in the Cartesian coordinate system using the properties of the tangents. The fiber bending curve is then reconstructed by connecting the arc segments in MATLAB. Finally, the paper provides a detailed introduction to the surface reconstruction algorithm for the whisker array sensor. When the whiskers bend, the FBGs fixed on them act as curvature sensors. The curvature is determined by the FBG wavelength shift, and the three-dimensional coordinates of the whisker tip relative to the base are calculated based on a geometric model. MATLAB is then used to connect the whisker tip coordinates, completing the construction of the surface.