ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

tryan's comment was correct, and I could manage to fix it by adding the following lines:

In the _____init_____ func:

cv2.namedWindow('Image RBG', cv2.WINDOW_NORMAL)
cv2.moveWindow('Image RBG', 25, 350)

And in the callback func:

cv2.imshow('Image RBG', frame)

tryan's comment was correct, and actually the answer. I could manage to fix it by adding the following lines:

In the _____init_____ func:

cv2.namedWindow('Image RBG', cv2.WINDOW_NORMAL)
cv2.moveWindow('Image RBG', 25, 350)

And in the callback func:

cv2.imshow('Image RBG', frame)