Example #1
0
def doDisplayImages(loc):
    im = Mi.combineImages(curImage, curImage2)
    for g in range(len(loc)):
        cv.Line(
            im,
            (loc[g][0][0], loc[g][0][1]),
            (loc[g][1][0], loc[g][1][1] + curImage.height),
            (0, 0, 255),
            thickness=1,
            lineType=8,
            shift=0,
        )
    return im
Example #2
0
 def doDisplayImages(self,loc):
     rospy.loginfo("displaying results...")
     img = Mi.combineImages( cv_image_1,  cv_image_2)
     for g in range(len(loc)):
         cv.Line(img, (loc[g][0][0],loc[g][0][1]), (loc[g][1][0],loc[g][1][1]+ cv_image_1.height), (255,255,255), thickness=5, lineType=8, shift=0) 
     return img