NeuralFaceRegression
Only in Wrap4D
The node uses a pre-computed neural net profile of an actor’s face and produces a 3D mesh by looking at a monocular image sequence of the actor’s performance. The neural net profile is created using ~10 minutes of 4D data containing the range of motion of the actor’s face and captured in an HMC. The creation of the neural net profiles is currently done as a service by Faceform.
Editor
The Visual Editor displays the input image with a white rectangle marking the area used by the neural net after applying Paddings.
Inputs
- Input Image
ImageA camera image that will be used by the neural net. RGB, RGBA, grayscale, and grayscale with alpha are supported. Alpha is ignored.
Output
GeometryGenerated geometry with UV coordinates
Parameters
- Profile Path:
path to a neural network profile.
- Method:
selects CPU (default) or GPU for computation. GPU requires CUDA.
- Reload:
forces to load profile from the file.
- Method:
- CPU
computes the result on the CPU.
- GPU
computes the result on the GPU.
- Wireframe:
enables wireframe visibility.
- Surface:
enables surface visibility.
- Lighting:
enables shading. If not set, a constant shading is applied.
- Color:
controls model color.
Paddings
Paddings crop the input image before inference. Each value ranges from 0 to 1 and defaults to 0 (no cropping). For example, 0.1 removes 10% from the specified side.
Paddings must leave a non-empty image area.
- Left:
fraction of the input image width to crop from the left.
- Top:
fraction of the input image height to crop from the top.
- Right:
fraction of the input image width to crop from the right.
- Bottom:
fraction of the input image height to crop from the bottom.