Skip to content

Instantly share code, notes, and snippets.

@shuiniu86
shuiniu86 / facegood_bs_to_arkit.py
Created March 10, 2022 17:02 — forked from yihu-dev/facegood_bs_to_arkit.py
python script to convert FACEGOOD bs_value to ARKit format
### script to convert FACEGOOD bs values to ARKIT
import numpy as np
import pandas as pd
import argparse
mapping_one = {
'jawForward': 'jaw_thrust_c',
'jawLeft': 'jaw_sideways_l',
'jawRight': 'jaw_sideways_r',
'jawOpen': 'mouth_stretch_c',
#define _XOPEN_SOURCE 600
#define _POSIX_C_SOURCE 200112L
#define _BSD_SOURCE
#include <stdio.h>
#include <string.h>
#include <math.h>
// mmmmm..... donut!
int main() {