A tiny C++11 library for reading BVH motion capture data

Overview

bvh11

macOS Ubuntu GitHub

A tiny C++11 library for reading (and writing) BVH motion capture data.

Dependencies

Additional Dependencies for Demos (Optional)

Usage

Build and Install

git clone https://github.com/yuki-koyama/bvh11.git --recursive
mkdir build
cd build
cmake ../bvh11
make
make install

Import (and Export) BVH Data

#include <bvh11.hpp>

int main()
{
  // Import data
  auto bvh_object = bvh11::BvhObject("/path/to/bvh/data.bvh");

  // Do something (e.g., render the motion data, apply some processing, etc.)
  
  // Export data (if necessary)
  bvh_object.WriteBvhFile("/path/to/bvh/new_data.bvh");

  return 0;
}

License

MIT License.

Contributing

Contributions are welcome.

You might also like...
Tiny library for C++ enum introspection and more!

#smart_enum Tiny library for C++ enum introspection... and more! (Sorry for this readme being incomplete, I'm working on updating it. For now, please

Tiny OpenEXR image loader/saver library
Tiny OpenEXR image loader/saver library

Tiny OpenEXR image library. tinyexr is a small, single header-only library to load and save OpenEXR (.exr) images. tinyexr is written in portable C++

Pipy is a tiny, high performance, highly stable, programmable proxy.

Pipy Pipy is a tiny, high performance, highly stable, programmable proxy. Written in C++, built on top of Asio asynchronous I/O library, Pipy is extre

Training and fine-tuning YOLOv4 Tiny on custom object detection dataset for Taiwanese traffic
Training and fine-tuning YOLOv4 Tiny on custom object detection dataset for Taiwanese traffic

Object Detection on Taiwanese Traffic using YOLOv4 Tiny Exploration of YOLOv4 Tiny on custom Taiwanese traffic dataset Trained and tested AlexeyAB's D

YOLOV4 tiny + lane detection on Android with 8 FPS!
YOLOV4 tiny + lane detection on Android with 8 FPS!

YOLOV4 Tiny + Ultra fast lane detection on Android with 8 FPS! Tested with HONOR 20PRO Kirin 980

In this tutorial, we will use machine learning to build a gesture recognition system that runs on a tiny microcontroller, the RP2040.
In this tutorial, we will use machine learning to build a gesture recognition system that runs on a tiny microcontroller, the RP2040.

Pico-Motion-Recognition This Repository has the code used on the 2 parts tutorial TinyML - Motion Recognition Using Raspberry Pi Pico The first part i

 Tiny CUDA Neural Networks
Tiny CUDA Neural Networks

This is a small, self-contained framework for training and querying neural networks. Most notably, it contains a lightning fast "fully fused" multi-layer perceptron as well as support for various advanced input encodings, losses, and optimizers.

Minctest - tiny unit testing framework for ANSI C

Minctest Minctest is a very minimal unit-testing "framework" written in ANSI C and implemented in a single header file. It's handy when you want some

oneAPI Data Analytics Library (oneDAL)
oneAPI Data Analytics Library (oneDAL)

IntelĀ® oneAPI Data Analytics Library Installation | Documentation | Support | Examples | Samples | How to Contribute IntelĀ® oneAPI Data Analytics Libr

Comments
  • New feature:

    New feature: "pose2vec"?

    Considering machine learning applications, it would be useful to have something like pose2vec, i.e., given a BVH file and user-specified frame, it returns a corresponding vector.

    The vector definition should be invariant to XZ translation and Y rotation.

    Many approaches can be come up with. For example, a concatenation of distances between all the joint pairs would work as a feature vector.

    opened by yuki-koyama 0
Releases(v2.1)
  • v2.1(Aug 10, 2019)

    This release produces the following changes:

    • Add support of scaling when importing BVH data
    • Improve build settings to avoid potential build errors
    Source code(tar.gz)
    Source code(zip)
  • v2.0(Mar 19, 2019)

    This release produces minor API changes, adds visual demos, and sets CI building tests.

    More specifically,

    • bvh11 is now NOT a header-only library.
    • The path to the main header file is changed from bvh11/bvh11.hpp to bvh11.hpp.
    • A visual demo is created by using an external library, three-dim-util.
    • Some sample motions are added from CMU motion capture dataset.
    • Travis CI is set.
    Source code(tar.gz)
    Source code(zip)
  • v1.0(Aug 22, 2018)

Owner
Yuki Koyama
Researcher
Yuki Koyama
General broad-phase collision detection framework using BVH and BVTT front tracking.

This is the collision detection package by littlemine (Xinlei Wang). Configuration Instructions This project is developed using Visual Studio 2015 and

Xinlei Wang 47 Sep 9, 2022
Extracts high-precision mouse/pointer motion data on Windows. Good for drawing software!

window_mouse_queue This is a wrapper for GetMouseMovePointsEx function that allows to extract high-precision mouse/pointer motion data on Windows. Goo

YellowAfterlife's GameMaker Things 6 Feb 21, 2022
The Robotics Library (RL) is a self-contained C++ library for rigid body kinematics and dynamics, motion planning, and control.

Robotics Library The Robotics Library (RL) is a self-contained C++ library for rigid body kinematics and dynamics, motion planning, and control. It co

Robotics Library 656 Jan 1, 2023
open Multiple View Geometry library. Basis for 3D computer vision and Structure from Motion.

OpenMVG (open Multiple View Geometry) License Documentation Continuous Integration (Linux/MacOs/Windows) Build Code Quality Chat Wiki local/docker bui

openMVG 4.6k Jan 8, 2023
A method to estimate 3D hand gestures from 3D body motion input in body languages.

Body2Hands: Learning to Infer 3D Hands from Conversational Gesture Body Dynamics (CVPR 2021) Project page This repository contains a pytorch implement

Facebook Research 84 Oct 23, 2022
Stochastic Scene-Aware Motion Prediction

Stochastic Scene-Aware Motion Prediction [Project Page] [Paper] Description This repository contains the runtime Unity code for SAMP. For the training

Mohamed Hassan 98 Dec 9, 2022
ROS wrapper for real-time incremental event-based vision motion estimation by dispersion minimisation

event_emin_ros ROS wrapper for real-time incremental event-based vision motion estimation by dispersion minimisation (EventEMin). This code was used t

Imperial College London 2 Jan 10, 2022
Pixel-Perfect Structure-from-Motion with Featuremetric Refinement (ICCV 2021, Oral)

Pixel-Perfect Structure-from-Motion Best student paper award @ ICCV 2021 We introduce a framework that improves the accuracy of Structure-from-Motion

Computer Vision and Geometry Lab 830 Dec 28, 2022
copc-lib provides an easy-to-use interface for reading and creating Cloud Optimized Point Clouds

copc-lib copc-lib is a library which provides an easy-to-use reader and writer interface for COPC point clouds. This project provides a complete inter

Rock Robotic 25 Nov 29, 2022
C++ trainable detection library based on libtorch (or pytorch c++). Yolov4 tiny provided now.

C++ Library with Neural Networks for Object Detection Based on LibTorch. ?? Libtorch Tutorials ?? Visit Libtorch Tutorials Project if you want to know

null 62 Dec 29, 2022