Skip to content

Instantly share code, notes, and snippets.

View Aspirinkb's full-sized avatar
🎯
Focusing

Frank Aspirinkb

🎯
Focusing
View GitHub Profile
@Aspirinkb
Aspirinkb / processVideo.py
Created April 3, 2022 12:20 — forked from 3dsf/processVideo.py
ffmpeg-python tensorflow implementation --- go to processFrame()
#!/usr/bin/python3
#modified ffmpeg-python tensorflow implentation from https://github.com/kkroening/ffmpeg-python/blob/master/examples/tensorflow_stream.py
### pip install ffmpeg-python numpy
import os
import subprocess # required for ffmpeg-python
import logging as logger # you could clean out the logger if you like
import ffmpeg # ffmpeg-python
import numpy as np # required for ffmpeg-python