How to detect hand?
Show older comments
INPUT IMAGE:

MATLAB CODE (also attached):
clear all; close all; clc image=imread('a_ASL3.jpg'); BW=binary_image(image); BW = ~BW; st = regionprops(BW, 'BoundingBox' ); for k = 1 : length(st) thisBB = st(k).BoundingBox; rectangle('Position', [thisBB(1),thisBB(2),thisBB(3),thisBB(4)],... 'EdgeColor','r','LineWidth',2 ) end
OUTPUT IMAGE:

PROBLEM I want bounding box just around hand so that I can crop it and do further operations but I am getting image as output in which there are bounding box around every object.
1 Comment
Poornima Gokhale
on 14 Dec 2015
I tried this code for my image.But its not working properly. How to modify?? And i want an enlarged image of individual letter to save that letter. Please help me

Accepted Answer
More Answers (1)
Ranjitha
on 7 Sep 2015
0 votes
How to find the length and width for the given code.?? please do help with this.. Can you please let me know what all changes has to be made for the existing code to find length and width of the hand image.
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
