nandurijv / Youtube-Ambient-Effect

Parallel and Distributed Processing Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Youtube-Ambient-Effect

Parallel and Distributed Processing Project: Recreating Youtube's Ambient Effect

The Process Involved

  • Read Frames of the video using OpenCV
  • Read the pixel values of each frame
  • Designate values to the position and spread of the box-shadow according to luminance
  • Designate values to the color of box-shadow according to chroma sampling
  • Create the equivalent css

How to Use the script

  • Clone the project

  • Run

    python -m venv venv
  • Install all the requirements using

    pip install -r requirements.txt
  • Upload your video in the TestData folder

  • Include the video in index.html in a video or a div element with id "video"

  • Run

    python3 main.py

About

Parallel and Distributed Processing Project


Languages

Language:CSS 54.6%Language:Python 41.2%Language:HTML 4.2%