GithubHelp home page GithubHelp logo

slide_extractor's Introduction

slide_extractor

A python script to extract slides from a presentation video. This script was originally written to extract slides from the videos of a course, whose instructor refused to share the slides and had very long videos, which I was so lazy to watch. Notes were allowed in exams. So, had to come up with this script to make a pdf of the slides from the video. It's best used with a video scraping script.

Usage

Install Requirements pip3 install -r requirements.txt Run script for a video file python3 main.py video.mp4

Implementation details

This script uses OpenCV to parse videos. Each frame is compared with the previous frame using a simmilarity score (from sklearn). If the two consecutive frames are similar, skip this frame, otherwise save the frame as an image. Next compare each saved frame with every other frame and remove furthur duplicates. Finally from the ramaining frames, make a pdf and remove the jpg files.

slide_extractor's People

Contributors

spazewalker avatar

Stargazers

Mohit Kulkarni avatar Bhuvan Singla avatar Harshit Raj avatar Shiven Tripathi avatar

Watchers

 avatar

Forkers

rjsheperd

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.