CEB 3D Face DFNRMVS
This addon is based on the work done on the repository https://github.com/zqbai-jeremy/DFNRMVS
It was reported that it works with
PC with GPU RTX 2060, 6GB VRAM. and 16 GB of RAM
Laptop with 16GB Ram and RTX 3050 (4 GB Vram)
IMPORTANT:
You need 2 images of only the face, with 240x240 pixels in jpg or png format
You have to leave only the face on the image, it wotn work if you have more than that. For example
This image WILL NOT Work:
You'll have to cut a little bit above the eyebrow
and use an image like this:
If you want to support us and get the latest stuff, please consider subscribing at Patreon (https://www.patreon.com/cebstudios)
For as low as $1 you can help us and get access to the latest material (addons and etc) we create.
To talk to us you cen head to: https://twitter.com/carlosedubarret
or at Discord: https://discord.gg/BRuu43Nv2J
Tutorial on version 0.01
With it you can create 3d face meshes from a couple of pictures.
To use it you will have to do some steps.
Install the addon.
On the panel you will find buttons to:
- Create a virtual enviroment
- Install the necessary python packages
- Download the model
- Page to Get the basel model (to create the necessary BFM files)
- link to get Matlab Trial (to create the BFM files)
Outside the addon you will need to download the file "BFM_needs_MATLAB_and_Basel.zip"
Unzip this file on the root of c:
you should have something like this
After unzipng, get the file downloades from the Basel Site (https://faces.dmi.unibas.ch/bfm/main.php?nav=1-2&id=downloads) unzip the file "01_MorphableModel.mat" at C:\BFM\raw
it will look like this
Install Matlab trial version and open the C:\BFM\generate.m
Click on Run
When it finished, you will have these 3 files
On the addon, choose the option "Import BFM Files" and select those 3 mat files (BFM.mat, BFM_info.mat, BFM_UV.mat)
After that import the model file called "2views_model.pth" downloaded from
https://drive.google.com/file/d/1HvsJ8IztdUS8VUNSLlkdWsOOJ3AgZ2Pe/view?usp=sharing
As stated on the official site, you should use it only for research (https://github.com/zqbai-jeremy/DFNRMVS#installation)
After that you can load you images using the "add Image" button.
After importing the images, presse "Execute DFNRMVS"
Wait for it to finish (open the console panel to see the process)
When the process finished, you can press the load OBJ to load all the meshes generated
Have fun.
Discord: https://discord.gg/BRuu43Nv2J
log:
2024-02-26 - 0.03 - updated the code to solve the _2d error