ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
What you want is:
for (x,y) in currFeatures:
for (px,py) in self.prev_draw_features:
cv.line(new_image, (px,py),(x,y),cv.RGB(125, 20,200),5)
2 | No.2 Revision |
What you probably want is:
for (x,y) ((x,y), (px,py)) in currFeatures:
for (px,py) in self.prev_draw_features:
zip(currFeatures, self.prev_draw_features):
cv.line(new_image, (px,py),(x,y),cv.RGB(125, 20,200),5)