A Mouth tracking system for VR, 100% Opensource!
Currently the most of the generated blenshapes are from ARKit! The model outputs 45 blenshapes of which most cross over with SRanipals blendshapes.
Contains all of the tools and source files for creating the synthetic face dataset for training. The current scripts in the V4.1 folder and separated in two different folders. The "Blender" folder contains scripts intended to be run in the provided Blender scenes. The "Processing" folder contains scripts for extracing shape values from the images into a csv file or in the console for inspection.
- At the moment, this only contains scripts and scenes for generaing lower face blendshape datasets. Support for the full face and landmarks is planned for the future.
- Open one of the blender scenes and import the script from the scripting tab.
- Adjust the amount of desired images with the frame range in the Output Properties tab on the right
- Change the "mesh" variable with the name of the corrisponding avatar (ex. "Babble_CA_M").
- (Optional) Toggle the Blender system console by going Window ==> Toggle System Console. Useful for seeing the generation progress
- Press the play button at the top of the blender text editor and wait for the script to finish.
Note: The script can be stopped at any time by pressing Ctrl + C in the console. Once saved, the file can be rendered at any time by rendering as an animation.
- Install dependences: pip install Pillow
- Edit the "path_to_files" variable to the directory with the rendered images.
- Run the script
Blendshapes |
---|
cheekPuffLeft |
cheekPuffRight |
cheekSuckLeft |
cheekSuckRight |
jawOpen |
jawForward |
jawLeft |
jawRight |
noseSneerLeft |
noseSnerrRight |
mouthFunnel |
mouthPucker |
mouthLeft |
mouthRight |
mouthRollUpper |
mouthRollLower |
mouthShrugUpper |
mouthShrugLower |
mouthClose |
mouthSmileLeft |
mouthSmileRight |
mouthFrownLeft |
mouthFrownRight |
mouthDimpleLeft |
mouthDimpleRight |
mouthUpperUpLeft |
mouthUpperUpRight |
mouthLowerDownLeft |
mouthLowerDownRight |
mouthPressLeft |
mouthPressRight |
mouthStretchLeft |
mouthStretchRight |
tongueOut |
tongueUp |
tongueDown |
tongueLeft |
tongueRight |
tongueRoll |
tongueBendDown |
tongueCurlUp |
tongueSquish |
tongueFlat |
tongueTwistLeft |
tognueTwistRight |