Giter VIP home page Giter VIP logo

encoder-decoder-based-video-captioning's Introduction

Encoder-Decoder-based Video Captioning

This repository provides an Encoder-Decoder model to generate captions for input videos.

The ability to be applied for numerous applications mark Video Captioning's importance. For example, it can be applied to help search videos across web pages in an efficient manner and it can also cluster the videos having a large degree of similarity in terms of their respective generated captions.

Requirements

  • Tensorflow
  • Keras
  • OpenCV
  • NumPy
  • FuncTools

Usage

Data

  • The MSVD dataset developed by Microsoft can be downloaded from here.
  • This data set contains 1450 short YouTube clips that have been manually labeled for training and 100 videos for testing.
  • Each video has been assigned a unique ID and each ID has about 15โ€“20 captions.

Training and Testing

  • To extract features for frames of every single input videos using pre-Trained VGG model, run Extract_Features_Using_VGG.py.
  • To train the developed model, run training_model.py.
  • To use the trained Video Captioning model for inference, run predict_model.py.
  • To use the trained model for real-time Video-Caption generation, run Video_Captioning.py.

Results

Following are a few results of the developed Video Captioning approach on test videos:-

Test Video Generated Caption
alt text a woman is mixing some food
alt text a man is performing on a stage
alt text a man is mixing ingredients in a bowl
alt text a man is spreading a tortilla
alt text a woman is seasoning some food
alt text a cat is playing the piano

encoder-decoder-based-video-captioning's People

Contributors

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