MATLAB: How to get a border/boundary around the hand as shown in the figure

hand gesture recognition

Best Answer

You can use the below command with properties as 'BoundingBox'
stats = regionprops(BW,properties)
Related Question