diff --git a/facemap/gui/ops_user.npy b/facemap/gui/ops_user.npy index 6f5ab13..aa07728 100755 Binary files a/facemap/gui/ops_user.npy and b/facemap/gui/ops_user.npy differ diff --git a/facemap/mouse.png b/facemap/mouse.png old mode 100755 new mode 100644 index c50c361..fcf1e2e Binary files a/facemap/mouse.png and b/facemap/mouse.png differ diff --git a/facemap/pose/pose_gui.py b/facemap/pose/pose_gui.py index 514dfaf..8f57229 100755 --- a/facemap/pose/pose_gui.py +++ b/facemap/pose/pose_gui.py @@ -112,7 +112,7 @@ def __init__(self, frame, video_id, gui, pose, last_video): int(np.floor(window_max_size.height() * fraction * aspect_ratio)), ) self.gui = gui - self.frame = frame + self.frame = frame.squeeze() self.pose = pose self.last_video = last_video self.setWindowTitle("Select face ROI for video: " + str(video_id)) diff --git a/facemap/pose/refine_pose.py b/facemap/pose/refine_pose.py index 5690f2f..81ba65f 100644 --- a/facemap/pose/refine_pose.py +++ b/facemap/pose/refine_pose.py @@ -999,7 +999,7 @@ def get_frames_from_indices(self, indices): for i, index in enumerate(indices): frame = utils.get_frame( index, self.gui.nframes, self.gui.cumframes, self.gui.video - )[0] + )[0].squeeze() # Convert to grayscale imall[i] = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) # Convert to int diff --git a/figs/mouse.png b/figs/mouse.png index 6bbc559..ba9bee2 100644 Binary files a/figs/mouse.png and b/figs/mouse.png differ diff --git a/figs/mouse_old.png b/figs/mouse_old.png new file mode 100644 index 0000000..6bbc559 Binary files /dev/null and b/figs/mouse_old.png differ