I loaded my own video but I didnt see the bounding box. But I think it is what I need, thanks. Can i fill the rbounding box with the respective color for better color-detection?
I try to use a similar code for live tracking to control my robot arm. How i can implement this in my own code?
if true
.....
.....
n=length(Daten)
for i = 1: length(Daten)
drive_x = RobotArm_Koordinate_x(i)/1000
drive_y = RobotArm_Koordinate_y(i)/1000
drive_z = RobotArm_Koordinate_z(i)/1000
% NULL Position
R_DriveCoordinate(handles, x, y, z, theta);
% Drive to ...
R_DriveCoordinate(handles, drive_x, drive_y, drive_z, drive_theta(i));
....
end
At the Moment I can select a color and make a snapshot. After that I can click on "OK" button and drive to the coordinates.