%Testing Code
clc;
close all;
clear all
warning off
cao=webcam;
load myNet1;
x=0;
y=0;
height=200;
width=200;
bboxes=[x y height width];
while true
    e=cao.snapshot;
    IHand = insertObjectAnnotation(e,'rectangle',bboxes,'Processing Area');
es=imcrop(e,bboxes);
    es=imresize(es,[227 227]);
    label=classify(myNet1,es);
    imshow(IHand);
    title(char(label));
    drawnow;
end
