Git Product home page Git Product logo

pyevm's Issues

RGB转YIQ

你好,我看到你的代码里有RGB转YIQ的模块,但是实际上并没有使用这一模块,另外处理后的视频长度缩减一半,这是什么原因

The operation is neither 'array op array'

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

me.mp4.zip

Few questions

Hi
I had a few questions, i couldn't find your email on your github profile.Can we please speak?

Thanks

need help

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

I am not getting the output

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

How to operate on a different-sized video?

When I run the code on a custom video of the size 440x220, I get the following error using color magnification.

image

When I run the same video on motion magnification, I also get an error.
image

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.

MemoryError

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.