How to access the parameter vector of a MetaHuman to quantify the distance between two MetaHumans?

Hi everyone,

I’m looking for a way to access all the parameters that define a MetaHuman in a numerical vector format. My goal is to quantify the distance between two MetaHumans, meaning to measure how similar or different they are in terms of morphology and appearance.

I’m new to MetaHuman, and for now, my strategy is to manually collect parameter values into an Excel file. However, I’m wondering if there is a more automated way to extract this data directly ?

Thank you ! :slight_smile:

Hey there @ClementineABC! Welcome to the community! The short answer is, kind of. Metahuman parameters are all handled on the metahuman backend and what you generally work with on the frontend has most of that data baked in to the mesh, rig, and materials. The actual functionality to create Metahumans is handled on the backend, so you don’t have easy access to all of the parameters to easily put into a pipeline.

That said, Metahumans have what’s known as “DNA” which is data with all their parameters for import and export purposes. This is contained in the MHB file that you can export from Metahuman Creator. This isn’t normally readable, however Epic does give access to a tool library (in Python) or a tool directly in Maya (also Python) that would allow you to read and modify the DNA. Since it’s in python, it may be relatively easy to make a pipeline utility to read the values and export them to a CSV.

Here’s info on the DNAViewer and DNAcalib as well as the repository for the utilities you’d use: