Skip to content
/ npybvh Public
forked from dabeschte/npybvh

Biovision Hierarchy (BVH) reader for python with numpy pose output

License

Notifications You must be signed in to change notification settings

Tomiha/npybvh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npybvh

Python 3 module for reading Biovision Hierarchy (BVH) files and convert keyframes to poses.

Features

  • Read Biovision Hierarchy files
  • Extract skeleton information (joint hierarchy)
  • Calculate full pose for all keyframes in numpy format
  • Display skeleton
  • Display pose at any keyframe
  • Display full animation

Skeleton Pose animation

How to use

anim = Bvh()
anim.load('example.bvh')
# get position at frame 11
positions, rotations = anim.frame_pos(11)

# get name of joints in order of appearance in array
joint_names = anim.joint_names()

# plot frame 11
anim.plot_frame(11)

Acknowledgements

Thanks to Carnegie Mellon University for their free motion capture database which is also available in bvh format.

Contribute

If you find bugs or miss features, please contribute! (or use issues tab :-))

About

Biovision Hierarchy (BVH) reader for python with numpy pose output

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%