def to_keypoints(self):
<EOL>from imgaug.augmentables.kps import Keypoint<EOL>return [Keypoint(x=x, y=y) for (x, y) in self.coords]<EOL>
Convert the line string points to keypoints.

Returns
-------
list of imgaug.augmentables.kps.Keypoint
    Points of the line string as keypoints.