Open rosenb0rg opened 6 years ago
take a look on my comment here, it may help: (https://github.com/YadiraF/PRNet/issues/58#issuecomment-439795431)
after you get the 2d image, you can save it to disk (with open cv in my case)
image *= 255
image = image.astype(np.uint8)
img_rgb = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
cv2.imwrite(image_path+".png",img_rgb)
How to get 2d image?
Is there a way to export and jpeg or png of a face after it's been frontalized?