def METHOD_NAME(self):
    # Rotate the image by increments of 90
    if self.rotate % 2:
        self.frame = cv2.transpose(self.frame)
    if self.rotate > 0:
        self.frame = cv2.flip(self.frame, [1, -1, 0][self.rotate - 1])
    # If a selection is happening
    if self.mouse.get('start'):
        # Draw a rectangle indicating the region of interest
        cv2.rectangle(self.frame, self.mouse['start'], self.mouse['now'], (0, 255, 0), 2)
    if self.scale != 1:
        h, w = self.frame.shape[:2]
        self.frame = cv2.resize(self.frame, (int(self.scale * w), int(self.scale * h)))
    # Show the image in a window
    cv2.imshow('rtp', self.frame)