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?
- Takes a video and extact frames from it.
- Transform each frame to grey scale.
- sum up all the pixels and divide by the number of pixels.
- 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:
git clone https://github.com/neerajnangireddy/video-intensity-graph
cd video-intensity-graph
uv run viplot video.mkv
Method 2(using venv and pip)
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file video_intensity_plot-0.0.3.tar.gz.
File metadata
- Download URL: video_intensity_plot-0.0.3.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e45d6de3f7a3174c1f8c70980e62703319febfe562dc012ddb48261641060c81
|
|
| MD5 |
60d5376c709ef57b6ea97d494bc180c9
|
|
| BLAKE2b-256 |
2169253987ff89a454968b9a1689cb9029f88ea9c7b0a631908bb6e8e8ca0059
|
File details
Details for the file video_intensity_plot-0.0.3-py3-none-any.whl.
File metadata
- Download URL: video_intensity_plot-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
130e624149e4302d97a9de08cc68b0523a1f81e13bc631f40acc7b9cb3941a92
|
|
| MD5 |
118cd89af4501230a53c4e1f22ceb2c3
|
|
| BLAKE2b-256 |
af5cd5439ec92fd69c11f7a0e90fc4d9a5871fb15bcb284b48f950afea5dc8dc
|