Skip to content

Commit

Permalink
close all windows
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenwudi committed Aug 17, 2018
1 parent ca5c0e6 commit 57ce099
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions car_instance/render_car_no_mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def render_car(self, pose, car_name, image):
imgpts, jac = cv2.projectPoints(np.float32(car['vertices']), pose[:3], pose[3:], self.intrinsic, distCoeffs=np.asarray([]))

# We will get the projection from the canvas
plt.close('all')
im_shape = image.shape
fig = Figure(figsize=(im_shape[1]/100, im_shape[0]/100), frameon=False)
canvas = FigureCanvas(fig)
Expand Down

0 comments on commit 57ce099

Please sign in to comment.