Script to process and convert .fbx file format to .npy file format only for human motion analysis.
The script needs the Blender to run. If you don't have Blender, then you can download it from the link below:
https://www.blender.org/download/
For Mixamo Data, use this link:
https://www.mixamo.com/#/?page=1&type=Motion%2CMotionPack&limit=96
For a larger dataset, I recommed using the download script provided in the link below:
Once the Blender is downloaded, install it and add it's directory PATH to the ENVIRONMENT VARIABLES.
A). To run the script:
- Open CMD prompt with administrator permisson.
- Change to the directory where 'fbx2npy.py' is located.
- Type the command: 'blender --background -P fbx2npy.py'
- If you installed and add Blender directory PATH correctly, then above command won't be a problem.
B). To visualise the .npy generated files, use 'visualise_frames.py'. This only works with single .npy file so be careful to mention PATH to .npy file.
Voila!! you have prepared the .npy files for your ML/DL project or anything else.