Skip to content

Takes an input video and calculates average color of every frame. Calculated colors are presented in single pixel lines, then the image gets resized to given arguments.

Notifications You must be signed in to change notification settings

rtacr/Average_Color_Of_Frames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Average Color Of Frames

Takes an input video and calculates average color of every frame. Calculated colors are presented in single pixel lines, then the image gets resized to given arguments.

Getting Started

  • Install packages with pip
    pip install -r requirements.txt
  • Run the program on the video "input.mp4".
    python .\main.py --input "./input.mp4 --output './resources'"
  • Using multiproccesing.
    python .\main.py --input "./input.mp4" --output './resources' --threads enabled

    An episode of The Office fed into the program: Random Episode from The Office

About

Takes an input video and calculates average color of every frame. Calculated colors are presented in single pixel lines, then the image gets resized to given arguments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages