Skip to content

cervoliu/youtube-slide-extracter

Repository files navigation

Requirements

System tools:

ffmpeg, yt-dlp

Python packages:

numpy, opencv-python, scikit-image

Usage

  1. Download video
python3 download_video.py [video_url]
  1. Extract frames
python3 frame_extraction.py [video_path]

It is highly recommended to manually remove unnecessary frames. Those frames often appear at the beginning and end of the video.

You may use the gadget script removes_frames.py to do this.

  1. Detect slides
python3 slide_detection.py
  1. Merge slides to pdf
python3 pdf_merge.py <output_file>

About

Pipeline to extract lecture slides from YouTube videos. Mainly for personal use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages