MATLAB: How to segment the hand part in the image using K-means clustering

hand gesture recognitionStatistics and Machine Learning Toolbox

Best Answer

See my attached kmeans demos. Adapt as needed. You'd be wise to do background masking first though, to set the unchanging background to black.
Related Question