Skip to content

Instantly share code, notes, and snippets.

View phillies's full-sized avatar

Philipp phillies

View GitHub Profile
@phillies
phillies / tqdm_log.py
Created April 30, 2019 07:00
Using tqdm for status logging
'''This is a toy example on how to use tqdm progress bars to log status messages
in a compact way.
This example reads all .mp4 files from the folder, then iterates through the files
and stores all frames as .png file to another folder.
'''
import os
import imageio
import tqdm