|
_RESERVED__450081
|
_RESERVED__450081
Posted 2 Years Ago
|
|
Group: Forum Members
Last Active: Last Year
Posts: 1,
Visits: 12
|
I have tried using the following code, but I receive an error due to the expression weight being a read-only tuple:facial_component = avatar.GetFaceComponent()expression_weights = facial_component.GetExpressionWeights(clip_time, []) expression_weights[0] = 1 I have found many APIs to get the expression value, but none to edit the weight value. Since I need to modify this weight frequently, I cannot use the .ini config file or manually edit it. Can you suggest a Python API solution to set facial expression weight?
|