Functions | |
def | timer_cb (event) |
Variables | |
bridge = cv_bridge.CvBridge() | |
img = face()[:, :, ::-1] | |
imgmsg = bridge.cv2_to_imgmsg(img, encoding='bgr8') | |
pub_img = rospy.Publisher('~output', Image, queue_size=1) | |
def static_image_publisher.timer_cb | ( | event | ) |
Definition at line 17 of file static_image_publisher.py.
static_image_publisher.bridge = cv_bridge.CvBridge() |
Definition at line 27 of file static_image_publisher.py.
static_image_publisher.img = face()[:, :, ::-1] |
Definition at line 6 of file static_image_publisher.py.
static_image_publisher.imgmsg = bridge.cv2_to_imgmsg(img, encoding='bgr8') |
Definition at line 28 of file static_image_publisher.py.
static_image_publisher.pub_img = rospy.Publisher('~output', Image, queue_size=1) |
Definition at line 25 of file static_image_publisher.py.