mocap-ai / README.md
Natsha's picture
Initial push to check FBX SDK installation.
4631d6a
|
raw
history blame
2.5 kB
metadata
title: Optical Motion Capture AI
sdk: docker
app_port: 7860
app_file: app.py

mocap-ai

Functionality to load FBX files, extract animation, process the animation and write it back to the file.

Classifier

  • Globals: file with hardcoded values like the marker names.
  • Utilities:
    • Split dataset into train/valid/test sets.
    • Visualizations
  • Training file loader:
    • Load the .fbx file.
    • Go through each frame in the animation frame range and check if all skeleton nodes have a keyframe there.
    • If a keyframe is missing, remove that frame number from the valid frame numbers.
    • After finding all valid frames, go through all marker translation channels and store the global transform in a pandas DataFrame.
    • Add the actor numbers as categorical variables.
    • Save the DataFrame to a .csv file.
  • Inference file loader
    • Same as training file loader, but this one should process all frames regardless of keyframe presence.
  • Data augmentation:
    • Isolate a marker set.
    • Translate and rotate (optionally scale) with boundary check.
  • Model builder:
    • Instantiate a model with various hyperparameters.
  • Training loop:
    • Train given model with callbacks.
  • Test loop:
    • Validate model on validation/test data.
  • Development script:
    • Create new model, train it and test it.
  • Deployment script:
    • Deploys the model in a Docker image on HuggingFace.

References:

  1. PointNet:
  1. PointNet++:
  1. DGCNN: