Please help me with this code. Annotations.text contains the positions for five rectangles. How can I extract the values from text file and use it as position for rectangles.
I=imread('avengers.png');Data = dlmread('Annotations.txt');[rows, columns] = size(Data);imshow(I);rectangle('Position', 'Curvature',[0,0], 'LineWidth', 2, 'EdgeColor','r');
Best Answer