Skip to content

Commit

Permalink
Add logo and fix ROI img reading
Browse files Browse the repository at this point in the history
  • Loading branch information
Atika-Syeda committed Feb 22, 2023
1 parent ffa9845 commit c525841
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
Binary file modified facemap/gui/ops_user.npy
Binary file not shown.
Binary file modified facemap/mouse.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion facemap/pose/pose_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion facemap/pose/refine_pose.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file modified figs/mouse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figs/mouse_old.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c525841

Please sign in to comment.