SkillAgentSearch skills...

Npybvh

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

Install / Use

/learn @dabeschte/Npybvh
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.parse_file('example.bvh')
# get position at frame 11
positions, rotations = anim.frame_pose(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 :-))

View on GitHub
GitHub Stars60
CategoryDevelopment
Updated1mo ago
Forks8

Languages

Python

Security Score

95/100

Audited on Feb 20, 2026

No findings