Git Product home page Git Product logo

cinembers's Introduction

cinembers

Generating numbers from movies, one movie at a time.

Usage

As of now, cinembers.py script plots the differences between consecutive frames of a given video. Spikes in this plot indicate a possible change in shot.

The method used to score the difference can be set by the --score flag. Available options are

  • SAD. Sum of Absolute Differences.
  • HD. Histogram Differences.
  • ECR. Edge Change Ratio.

More about these methods can be found here.

sumit@HAL9000:~/cinembers$ python3 cinembers.py -h
usage: cinembers.py [-h] -v VIDEO -s {SAD,HD,ECR}

Generating numbers from movies, one movie at a time.

optional arguments:
  -h, --help            show this help message and exit
  -v VIDEO, --video VIDEO
                        Filename of video.
  -s {SAD,HD,ECR}, --score {SAD,HD,ECR}
                        Scoring method.

Example Usage

Plotting the SAD between consecutive frames of this Britain's Got Talent clip.

sumit@HAL9000:~/cinembers$ python3 cinembers.py -v WSinMOs5eGw.mkv -s SAD

Plot of SAD between of consecutive frames of WSinMOs5eGw

cinembers's People

Contributors

skulltech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.