Video Browser
This application can be used to browse the frames of video files and apply basic transformations on them.
Installation
pip install video-browser
The application requires OpenCV and in case you have already installed it, please make sure you have a compatible version (see here for more information).
Usage
The application can be started from the command-line by providing the path to the directory containing the relevant video files:
python -m video_browser <video-dir>
It contains various control elements at the top, from left to right:
Bash-style globbing filter – specify a globbing pattern to filter the videos in the video-dir, e.g. favorite_*.ts.
Drop-down list containing all available video file names (optionally filtered) – change the selection to load a new video.
Three elements for frame selection:
< button selects the previous frame,
Frame counter spin box indicates the current frame and selects a new one when changed,
> button selects the next frame.
Four elements for transforming the current frame; these transformations are temporary in a sense that if the same frame number is loaded again (e.g. by pressing < followed by >) then the original frame without previous transformations is displayed. That is the transformations only change how a frame is displayed, not how it is stored.
Median Filter (3) – apply a median filter with kernel size 3,
Median Filter (5) – apply a median filter with kernel size 5,
Denoising – apply non-local means denoising,
Grayscale – change from color to grayscale; if already in grayscale, do nothing.
One button for displaying the current Region Of Interest (the axes boundaries of the image canvas).
In addition to these control elements, the canvas’ toolbar at the top of it can be used to zoom or otherwise modify the displayed image (this is the standard matplotlib Qt-style toolbar).
Customization
The application can be customized via command line arguments, for example changing the figure size:
python -m video_browser <video-dir> --canvas-figsize-inches 8 6
A complete overview of all available parameters can be obtained by using --help:
python -m video_browser --help
Example Screenshot
The UI window:
Metadata
Release files for video-browser 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| video-browser-1.0.tar.gz | 5.8 kB | Without provenance | Details for video-browser-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| video_browser-1.0-py3-none-any.whl | Python 3 | none | any | Details for video_browser-1.0-py3-none-any.whl |
Total release size: 25.2 kB
Release files / video-browser-1.0.tar.gz
| Download URL | video-browser-1.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71f0d2d3e346bd628225e4db2612351e03aac36ba97b7c360652b9a889569f72
|
|
BLAKE2b-256 checksum How to use checksums |
61ffd82a22fdb2d1f4f57969ceb0793d92fb65e4f2730b38844fbdfd1289ebe7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/34.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.5.2
|
Release files / video_browser-1.0-py3-none-any.whl
| Download URL | video_browser-1.0-py3-none-any.whl |
|---|---|
| Size | 19.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac99ae74d2e8a39cbe89ebde1468ba60fa5825036227c0f7bfa42267423ef100
|
|
BLAKE2b-256 checksum How to use checksums |
6c9761022fa2812322e1a4b2cfe23070e555010e6b5d31914a0f1e1fe2427dad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/34.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.5.2
|
Security for video-browser 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.