Giter VIP home page Giter VIP logo

de_kfe's Introduction

DE_KFE

Key Frame Extraction using Differential Evolution

Python scripts that implement DE for extraction of key frames from a video stream.

NOTE: This repository is intended as a backup for my final year project files.

Requirements:

  • Python 2.7
  • Additional Python libraries:
    • cv2
    • skimage
    • imageio

This repository contains five python scripts:

  1. DE_SSIM.py

    This script uses Average SSIM as the fitness function.
    Input: JPEG images (frames from a video)
    Output: GIF image containing all the extracted key frames.

  2. DE_Entropy.py

    This script uses Average Entropy Difference as the fitness function.
    Input: JPEG images (frames from a video)
    Output: GIF image containing all the extracted key frames.

  3. DE_Euclidean.py

    This script uses Average Euclidean Distance as the fitness function.
    Input: JPEG images (frames from a video)
    Output: GIF image containing all the extracted key frames.

  4. DE_LIVE.py

    This script uses Average Euclidean Distance as the fitness function. It extracts key frames from a live video, it will output a GIF image containing the extracted key frames periodically (depending on how many frames to read and number of key frames required).
    Input: JPEG images (output from capture_xframes)
    Output: GIF image containing all the extracted key frames.

  5. capture_xframes.py

    This script captures webcam stream and saves the frames as JPEG files.

de_kfe's People

Contributors

kevintab95 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.