Skip to main content

Katna is a tool that automates video key/best frames extraction.

Project description

Katna: Tool for automating video keyframe extraction

Resources

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:

  1. Frame extraction from a input video which are sufficiently different using absolute differences in LUV colorspace
  2. Brightness score filtering of extracted frames
  3. Entropy/contrast score filtering of extracted frames
  4. K-Means clustering of frames using image histogram
  5. 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

  1. Install Python 3
  2. pip install --extra-index-url https://testpypi.python.org/pypi katna

Install from source

  1. Install git

  2. Install Anaconda or Miniconda Python

  3. Open terminal

  4. Clone repo from here https://github.com/keplerlab/Katna.git

  5. Change the directory to the directory where you have cloned your repo

    $cd path_to_the_folder_repo_cloned
    
  6. Create a new anaconda environment if you are using anaconda python distribution

    conda create --name katna python=3
    source activate katna
    
  7. Run the setup:

    python setup.py install 
    

How to use Library

  1. Refer to quickstart section in Katna Reference from https://keplervaani.com/katna/tutorials.html

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

katna-0.2.0.0.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

katna-0.2.0.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file katna-0.2.0.0.tar.gz.

File metadata

  • Download URL: katna-0.2.0.0.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

Hashes for katna-0.2.0.0.tar.gz
Algorithm Hash digest
SHA256 bdb4abcc54eac62558ca5c83b3410208754ecdde966fe65226753a7486cb0df6
MD5 d0652b1522e35b4c82395f1674cad40f
BLAKE2b-256 8d6be8fc9f597a83386de4f0e11bb3b975193e1cb46fbc358c420d29cc8377be

See more details on using hashes here.

File details

Details for the file katna-0.2.0.0-py3-none-any.whl.

File metadata

  • Download URL: katna-0.2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 13.3 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

Hashes for katna-0.2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 546c9b6d3c94e685a416a464208fda0b4b06ebdd146a898d455b1b3940e6a103
MD5 6f8cf104c68f98b2623a1bd19fb51c18
BLAKE2b-256 e1b30b6e14b69ba96c257a56e74e1f0314eb006e4c89171b04842c7d84002644

See more details on using hashes here.

Supported by

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