Motion analysis (target hit or not) with K-means segmentation