Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.
/ kaleidoscope Public archive

Python module for kaleidoscope video creation from videos and images

License

Notifications You must be signed in to change notification settings

iheredia/kaleidoscope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kaleidoscope

from Video import Video
from Pattern import Pattern

# open the input video file
video = Video('video.mp4') 
# export frames
video.toFrames() 

# open the frames as an image pattern
pattern = Pattern('video_frames/video%d.jpg')
# apply several filters (the images will be overwritten)
pattern.apply([
	'makeSquare', 
	'mirrorTopRight', 
	'kaleidoscope',
	'duplicateMirrorV'
])
# export the images as a video
pattern.toVideo(outputPath="output.mpg")

For reference: video.mp4, output.mpg

About

Python module for kaleidoscope video creation from videos and images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages