Skip to content

Commit

Permalink
- clean some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JjmWeber committed Mar 25, 2019
1 parent 740daeb commit ca4f7bf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/videowarping.py
Expand Up @@ -10,7 +10,6 @@ def videowarping(originalvideo_1_path, originalvideo_2_path, frameduration_video
original_video_2 = cv2.VideoCapture(originalvideo_2_path)

fourcc = cv2.VideoWriter_fourcc(*'XVID')
#warpedvideo = cv2.VideoWriter(warpedvideopath, fourcc, original_video_1.get(cv2.CAP_PROP_FPS), (int(original_video_1.get(cv2.CAP_PROP_FRAME_WIDTH)*2), int(original_video_1.get(cv2.CAP_PROP_FRAME_HEIGHT))))
warpedvideo = cv2.VideoWriter(warpedvideopath, fourcc, original_video_1.get(cv2.CAP_PROP_FPS), (1280, 480))

#computer frames number of final video
Expand Down Expand Up @@ -60,7 +59,6 @@ def videowarping(originalvideo_1_path, originalvideo_2_path, frameduration_video
original_video_1.release()
original_video_2.release()
warpedvideo.release()
#cv2.destroyAllWindows() #bug on my computer (JW)

return

Expand Down Expand Up @@ -202,7 +200,6 @@ def multiplevideowarping(rootpath, surgerytype, surgeries, videowarpingvectors,
for surgery in range(len(surgeries)):
originalvideos[surgery].release()
warpedvideo.release()
#cv2.destroyAllWindows() #bug on my computer (JW)

return

Expand Down

0 comments on commit ca4f7bf

Please sign in to comment.