Set up for Pyplot display

This commit is contained in:
Dr. Simon Levy
2016-08-10 13:31:08 -04:00
parent 0f8d598b8d
commit 4f7123f956
3 changed files with 202 additions and 7 deletions

View File

@@ -44,7 +44,6 @@ SENSOR_NEGATIVE_COLOR_BGR = (0,0,255)
TRAJECTORY_COLOR_BGR = (255, 0, 0)
import cv
import cv2
# Arbitrary font for OpenCV
FONT_FACE = cv.CV_FONT_HERSHEY_COMPLEX
@@ -132,11 +131,6 @@ class SlamShow(object):
def refresh(self):
# Rotate image 270 degrees
#wid,hgt = cv.GetSize(self.image)
#mapMatrix = cv2.getRotationMatrix2D((wid/2,hgt/2), 270, 1.0)
#cv.WarpAffine(self.image, self.image, cv.fromarray(mapMatrix))
# Display image
cv.ShowImage(self.window_name, self.image)