Skip to content

Instantly share code, notes, and snippets.

@osbyrne
osbyrne / turboflow.py
Created January 6, 2024 13:58
used to compose a specific video; this script produces a very fast slideshow of all pages in all .pdf files in your folder as .mp4
import os
import cv2
from PyPDF2 import PdfReader
from pdf2image import convert_from_path
# usage notice:
# 1. Install python3, pip3, and the following packages:
# - PyPDF2
# - pdf2image