def rotation_complete(self):
rospy.loginfo("Hey a rotation is done.")
self.completed_image = deepcopy(self.img)
cv2.imwrite("lidar.png", self.completed_image)
cv2.imshow("My image", self.completed_image)
pictures = self.zarj.eyes.get_images()
rgb = cv2.flip(pictures[0], -1)
cv2.imwrite("lefteye.png", rgb)
cv2.imshow("Left eye", rgb)
cv2.waitKey(0)
#for y in range(0, 99):
# sys.stdout.write(str(y) + ": ")
# for x in range(0, 99):
# sys.stdout.write(str(self.img[x, y]) + ' ')
# sys.stdout.write(str(y) + "\n")
self.blank_image()
self.start_rotation = self.rotation
评论列表
文章目录