Created
May 11, 2020 11:10
-
-
Save prateekjoshi565/df2b3f9d82047c1ec91373ba246cad37 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# write the video | |
out = cv2.VideoWriter(pathOut,cv2.VideoWriter_fourcc(*'DIVX'), fps, size) | |
for i in range(len(frame_array)): | |
# writing to a image array | |
out.write(frame_array[i]) | |
out.release() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment