Katna is a tool that automates video key/best frames extraction.
Project description
Katna: Tool for automating video keyframe extraction
Resources
- Homepage and Reference: https://keplervaani.com/katna/
Description
Katna automates the boring, error prone task of videos key/best frames extraction. Key-frames are defined as the representative frames of a video stream, the frames that provide the most accurate and compact summary of the video content.
Video module takes following frame extraction and selection method into consideration:
- Frame extraction from a input video which are sufficiently different using absolute differences in LUV colorspace
- Brightness score filtering of extracted frames
- Entropy/contrast score filtering of extracted frames
- K-Means clustering of frames using image histogram
- Selection of best frame from each cluster based on variance of laplacian feature (image blur detection)
More selection features are in developement pipeline
How to install
Using pypi
- Install Python 3
- pip install katna
Install from source
-
Install git
-
Install Anaconda or Miniconda Python
-
Open terminal
-
Clone repo from here https://github.com/keplerlab/Katna.git
-
Change the directory to the directory where you have cloned your repo
$cd path_to_the_folder_repo_cloned
-
Create a new anaconda environment if you are using anaconda python distribution
conda create --name katna python=3 source activate katna
-
Run the setup:
python setup.py install
How to use Library
- Refer to quickstart section in Katna Reference from https://keplervaani.com/katna/tutorials.html
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file katna-0.2.0.1.tar.gz
.
File metadata
- Download URL: katna-0.2.0.1.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82abaec1a59ebfb4c5cb1b361cd8856159c1b8df0f2f4d74eb684843b5df30a9 |
|
MD5 | 4a3e4c9d2963f1d3a1f80ece96dc4670 |
|
BLAKE2b-256 | 2e1a2f835913c399722d3e6213f5e9d98edb1240f00ee0f6a3a2b1703ce29481 |
File details
Details for the file katna-0.2.0.1-py3-none-any.whl
.
File metadata
- Download URL: katna-0.2.0.1-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c488f72ff231233750932e129084ab9bedbec31042d65a0ca626672e875df267 |
|
MD5 | 3cda5c0a7480ac005acc3ae8922162c7 |
|
BLAKE2b-256 | 20e3ea363afa6f5b1911ee860da3f0c1fb824bd9b46b2812991369f8aefc44ba |