Skip to content

Commit

Permalink
Also resize first image
Browse files Browse the repository at this point in the history
  • Loading branch information
Migushthe2nd committed Apr 12, 2020
1 parent 1a9c071 commit 5c52a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faceit_live.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def main():

cv2.namedWindow('DeepFake', cv2.WINDOW_GUI_NORMAL) # face transformation
cv2.moveWindow('DeepFake', int(screen_width/2)+150, 100)
cv2.resizeWindow('DeepFake', 256,256)
cv2.resizeWindow('DeepFake', int(img_shape[1] / img_shape[0] * 256), 256)


cv2.namedWindow('Stream', cv2.WINDOW_GUI_NORMAL) # rendered to fake webcam
Expand Down

0 comments on commit 5c52a7f

Please sign in to comment.