flyingzhao / pyevm Goto Github PK
View Code? Open in Web Editor NEWPython implementation of EVM(Eulerian Video Magnification)
Python implementation of EVM(Eulerian Video Magnification)
你好,我看到你的代码里有RGB转YIQ的模块,但是实际上并没有使用这一模块,另外处理后的视频长度缩减一半,这是什么原因
the line is
filter_tensor=butter_bandpass_filter(lap_video_list[i],low,high,f)
Hi! I used magnify_motion("me.mp4", 0.4, 3)
and got
Traceback (most recent call last):
File "./EVM.py", line 167, in <module>
magnify_motion("me.mp4",3,5, 3, 22)
File "./EVM.py", line 155, in magnify_motion
lap_video_list=laplacian_video(t,levels=levels)
File "./EVM.py", line 125, in laplacian_video
pyr=build_laplacian_pyramid(frame,levels=levels)
File "./EVM.py", line 43, in build_laplacian_pyramid
L=cv2.subtract(gaussianPyramid[i-1],GE)
cv2.error: OpenCV(3.4.1) /io/opencv/modules/core/src/arithm.cpp:659: error: (-209) The operation is neither 'array op array' (where arrays have the same size and the same number of channels), nor 'array op scalar', nor 'scalar op array' in function arithm_op
Hi
I had a few questions, i couldn't find your email on your github profile.Can we please speak?
Thanks
Good morning,
I'm a student at L'école des pupilles de l'air.
I would like to know if it is posible to have any contact with you. I'm working on the subject ''Eulerian magnification of video'' and I would be enjoyed to discuss with you about your project to better understand it and to better code it again in my way
Thanks for your time
ZUANON Betty
If i run this code with baby.mp4, my system got hanged
if i run with the low quality it is working,but i am not getting the correct output.
pls help me to solve the issue
out.zip
this is my output
When I run the code on a custom video of the size 440x220, I get the following error using color magnification.
When I run the same video on motion magnification, I also get an error.
It seems as though the code only works with videos of certain sizes? Is there a way for me to make the code size-independent so I can run my custom video through it? Thanks.
Traceback (most recent call last):
File "EVM.py", line 166, in
magnify_motion("baby.mp4",0.4,3)
File "EVM.py", line 157, in magnify_motion
filter_tensor=butter_bandpass_filter(lap_video_list[i],low,high,f)
File "EVM.py", line 138, in butter_bandpass_filter
y = signal.lfilter(b, a, data, axis=0)
File "/home/mhefny/TDisk/anaconda3/envs/tf3_cv2_k2/lib/python3.6/site-packages/scipy/signal/signaltools.py", line 1380, in lfilter
return sigtools._linear_filter(b, a, x, axis)
MemoryError
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.