brycedrennan / eulerian-magnification

A tool to discover hidden variation in video.
MIT License
491 stars 121 forks source link

Issue about invoking parameter #20

Closed hek14 closed 7 years ago

hek14 commented 7 years ago

When I try to call the top function just like the usage following: em.eulerian_magnification('media/face.mp4', image_processing='gaussian', pyramid_levels=3, freq_min=50.0 / 60.0, freq_max=1.0, amplification=50); I find that the first parameter doesn't make sense because it's a string, not a video object. And in the eulerian_magnification function, there is no preprocess about the first parameter which should obtain an object like a video. So I get a error when the program comes to 'for frame_number, frame in enumerate(video)' in the pyramid.py(line 37) because the first parameter isn't an iterable object. What should I do solve this question?

brycedrennan commented 7 years ago

Great point. I'll update the docs

brycedrennan commented 7 years ago

Updated the docs.