The way this process work is to have the computer with 3-D contructs and a computer model of the face and have to build the human like human muscles which it's called "action unit"

which made by Dr. Huag and Dr. paul Eckman, the creator of facts of "facial action coding system".