endpoints detection
gesture segmentation