ktch.io.read_tps#

ktch.io.read_tps(file_path, as_frame=False)[source]#

Read TPS file.

Parameters:
file_pathstr

Path to the TPS file.

as_framebool, default=False

If True, return pandas.DataFrame. Otherwise, return numpy.ndarray.

Returns:
landmarksndarray

Landmarks.

semilandmarks: list[ndarray] or ndarray, optional

Semilandmarks.