How to detect hand?
显示 更早的评论
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 个评论
Poornima Gokhale
2015-12-14
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

采纳的回答
更多回答(1 个)
Ranjitha
2015-9-7
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Blue 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

