Skip to main content

A Cli Tool to plot video intensity graph over timeline.

Project description

Video Intensity Plot (viplot)

This tools plot the intensity of the pxiels over the timeline of a video.

How does it work?

  1. Takes a video and extact frames from it.
  2. Transform each frame to grey scale.
  3. sum up all the pixels and divide by the number of pixels.
  4. plot the resulting value againt the coresponding frame timestamp.

Installation and running

Method 1(using uv)

The easy and recommended way of installing and running. If you don't have uv already install it from here:

cd video-intensity-graph
uv run video-intensity-plot video.mkv

Method 2(using uv install from source)

If you don't have uv already install it from here:

git clone https://github.com/neerajnangireddy/video-intensity-graph
cd video-intensity-graph
uv run viplot video.mkv

Method 3(using venv and pip install from source)

git clone https://github.com/neerajnangireddy/video-intensity-graph
cd video-intensity-graph
python3 -m venv .venv
source .venv/bin/activate
pip3 install opencv-python plotly tqdm
python3 viplot.py video.mkv

Demo

watch here

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

video_intensity_plot-0.0.6.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

video_intensity_plot-0.0.6-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file video_intensity_plot-0.0.6.tar.gz.

File metadata

File hashes

Hashes for video_intensity_plot-0.0.6.tar.gz
Algorithm Hash digest
SHA256 0ff559412db915a406cad5fc4c3b598d9a1399013d1bdc517fc1a202899b09bc
MD5 2b5fa5bba77a94c89a2f9ebfd7b38410
BLAKE2b-256 57ea5453d21932581d9123b52f4ba25891552f75833f8a3b74f6d8a55a4931d0

See more details on using hashes here.

File details

Details for the file video_intensity_plot-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for video_intensity_plot-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 20fe6215472cad5dd2fce427a5ac797e21265f4e274357ccbf4efd54ce412476
MD5 c99bf915838d09fa539dcc65ef73a9cb
BLAKE2b-256 4409a4933e91ec8a3896c3a75b3bf9e19c46aea2e1799bfe84b84eb67d2a68ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page