Example #1
0
def display_array(iar):
    left  = ut.ros2cv(iar.images[0])
    right = ut.ros2cv(iar.images[1])

    hg.cvShowImage('channel 1', left)
    hg.cvShowImage('channel 2', right)
    hg.cvWaitKey(5)
Example #2
0
 def set_image(self, image):
     if self.lock.acquire(blocking=False):
         self.image = ut.ros2cv(image)
         self.lock.release()
     hg.cvShowImage('image', self.image)
     hg.cvWaitKey(5)
Example #3
0
def display_single(im):
    imcv = ut.ros2cv(im)
    hg.cvShowImage('channel 1', imcv)
    hg.cvWaitKey(5)