Set up for Pyplot display
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user