Source

hakanardo / video / sobel.py

Full commit
1
2
3
4
5
6
7
8
import sys
from video import *

fn = sys.argv[1] if len(sys.argv)>1 else 'tv://'

for img in mplayer(fn):
    view(Sqrt(SobelMagnitude(img)), scale=True)
    #view(SobelDy(img), scale=True)