You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
300 B
Matlab
10 lines
300 B
Matlab
function plot_bounding_box(coords,scales)
|
|
%plot bounding box for UIUC car image
|
|
[coords,widths,heights]=convert_car_coordinates(coords,scales);
|
|
|
|
for i=1:size(coords,2)
|
|
x=coords(2,i);
|
|
y=coords(1,i);
|
|
plot([x,x,x+widths(i),x+widths(i),x],[y,y+heights(i),y+heights(i),y,y],'y-','LineWidth',2);
|
|
end
|