Functions | |
def | getCameraId () |
Variables | |
capture = cv2.VideoCapture(index) | |
cv_bridge = CvBridge() | |
frame = cv2.flip(frame,1) | |
index = getCameraId() | |
msg = cv_bridge.cv2_to_imgmsg(frame,"bgr8") | |
pub = rospy.Publisher('/xbot/camera/image', Image, queue_size=5) | |
ret | |
def camera_image.getCameraId | ( | ) |
Definition at line 10 of file camera_image.py.
camera_image.capture = cv2.VideoCapture(index) |
Definition at line 41 of file camera_image.py.
camera_image.cv_bridge = CvBridge() |
Definition at line 42 of file camera_image.py.
camera_image.frame = cv2.flip(frame,1) |
Definition at line 45 of file camera_image.py.
camera_image.index = getCameraId() |
Definition at line 37 of file camera_image.py.
camera_image.msg = cv_bridge.cv2_to_imgmsg(frame,"bgr8") |
Definition at line 47 of file camera_image.py.
camera_image.pub = rospy.Publisher('/xbot/camera/image', Image, queue_size=5) |
Definition at line 36 of file camera_image.py.
camera_image.ret |
Definition at line 45 of file camera_image.py.