initstate = [x y w h];%-----------------------------------------Show the tracking resultimshow(uint8(img1));rectangle('Position',initstate,'LineWidth',4,'EdgeColor','r');text(5, 18, strcat('#',num2str(i)), 'Color','y', 'FontWeight','bold', 'FontSize'