vdbalbom / bvhsmooth Goto Github PK
View Code? Open in Web Editor NEWApply smoothening filters to an animation in BVH format.
License: MIT License
Apply smoothening filters to an animation in BVH format.
License: MIT License
When I try the first command shown in the README, I get:
Traceback (most recent call last):
File "code/smooth_rotation.py", line 31, in
f = freqfilter.fft(p,BORDER)
File "/Volumes/Homeland/Users/jwwalker/Documents/bvh tools/BVHsmooth-master/code/freqfilter.py", line 7, in fft
return np.fft.fft(pad(V,pad_number))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/fft/fftpack.py", line 166, in fft
return _raw_fft(a, n, axis, fftpack.cffti, fftpack.cfftf, _fft_cache)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/fft/fftpack.py", line 77, in _raw_fft
r = work_function(a, wsave)
TypeError: Cannot cast array data from dtype('O') to dtype('complex128') according to the rule 'safe'
MOTION
Frames: 1387
Frame Time: 0.033333
27.810038 90.481071 -21.556257 -0.925997 -3.815887 66.333519 7.442179 -10.396519 1.942125 -14.260178 6.803701 1.272282 5.563667 24.389225 -8.459655 4.940089 2.836131 -7.561871 15.372090 -7.826027 -10.655095 -32.438267 13.280233 6.446896 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -6.304809 -1.596485 -3.882447 20.768238 -4.478813 10.285224 22.274513 55.906403 17.530508 0.976389 53.797405 -21.465090 3.337712 -6.970016 -5.515881 -0.315286 21.381342 4.719754 -0.581968 -16.304613 -2.724395 0.000000 0.000000 0.000000 -5.476444 -8.416644 3.157135 5.579120 24.622818 -9.108010 8.313244 -11.868555 -5.388983 0.000000 0.000000 0.000000
27.727932 90.490616 -21.618736 -0.940107 -3.745274 65.471313 7.552085 -10.439719 2.163346 -14.340120 6.482860 1.305994 5.397289 24.609346 -8.244043 5.146150 2.922094 -7.421996 15.611189 -6.467429 -10.511299 -32.251205 12.605811 5.712740 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -6.248518 -1.523008 -3.879325 20.932291 -5.522953 9.760324 21.821754 56.624344 18.279266 1.954750 54.396271 -22.061808 3.262238 -6.887629 -5.445786 -0.397478 21.294767 5.766340 -0.733823 -16.238300 -3.021408 0.000000 0.000000 0.000000 -5.745084 -7.517141 3.961584 7.134361 24.245152 -12.931611 7.763399 -12.279239 -5.897187 0.000000 0.000000 0.000000
causes
File "/Users/privat/git/vdbalbom/BVHsmooth/code/bvh.py", line 43, in read_file
fn = int(data[i+1].split(' ')[1]) # FRAME NUMBER - number of frames
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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.