Giter Club home page Giter Club logo

video-summarization-with-superframe-segmentation's Introduction

Video Summarization with Superframe Segmentation

Hi, I'm Hunter Thompson, and welcome to my github!

Here I will going off the basis of using my undergrad thesis project based in video-summarization with superframe segmentation

Setup

First obviously, your going to need to clone the githubs current master branch.

Once that is done make sure you have a few key things to run my code

  • Python 2.7
  • opencv (cv2)
  • numpy
  • h5py (used for feature and interest data)

If you wish to run my demo, you will need my static folder.

Simply download from here, and place in flask/app so that its flask/app/static. You will also need an additional python library.

  • flask

Creating your own Demo

  • create static folder within flask/app
  • Move current interest.hdf5 and features.py inside
  • create a folder for each video (name will need to be added as an option inside of index.html)
  • Place the video, and summarization inside of the folder
  • Summarization can be generated using "create-vid.py" inside utility
  • using "get-frames.py" (also in utility) extract the frames of the entire video to the folder

You will also need jquery inside of the static folder, just confirm the version number matches mine inside of index.html

What to run

In order to generate feature data, you will need the video dataset for SumMe, you can find everything about them on their website

Any other videos you would like to test just need to be placed inside the videos folder.

  • "process_vid.py"

Generates feature data for just one selected video

  • "get_dataset.py"

Generates feature data for every video inside the videos folder

  • "get_int.py"

Generates interest ratings at a per frame level, than decides if a frame is selected or not, and saves 1 for yes or 0 for no to "interest.hdf5".

  • "demo.py"

Runs a wrapper I build with for SumMes evaluation demo, generates an image displaying F-Measure over every video and comparing it to the human average.

Other files are simply contain helper functions.

video-summarization-with-superframe-segmentation's People

Contributors

gunter1994 avatar

Watchers

 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.