keijiro / FaceMeshBarracuda

Lightweight facial capture package for Unity
Apache License 2.0
482 stars 90 forks source link

The mesh is not rendered #11

Closed marcin-dzieszko closed 2 years ago

marcin-dzieszko commented 2 years ago

Hi,

thank you for this project :-)

I'm new to Unity ...

I had a problem ... the camera view is shown (Main object ) but only this one ... no other objects (Face, Left Eye & Right Eye) are rendered ... also the meshes are not rendered at all ... so only the camera view is visible ...

the method Visualizer::OnRenderObject is called and the calculations there looks fine (I debugged them) ... so not sure what is the problem ....

Im using 2021.1.3f1 ...

Could you please give some tips what should I check?

Thanks in advance, Best Regards, MD

keijiro commented 2 years ago
marcin-dzieszko commented 2 years ago

Windows 10 Pro x64 OS compilation: 19042.1586 GPU: Intel UHD Graphics 620

keijiro commented 2 years ago

Intel UHD Graphics 620 sounds like a bit too old, but it should still work.

How about other simpler Barracuda samples? Like MNIST? https://github.com/keijiro/MnistBarracudaGpu

marcin-dzieszko commented 2 years ago

I launched this project and I can see the following:

image

marcin-dzieszko commented 2 years ago

Is it fine?

keijiro commented 2 years ago

Yes, fine. It looks working correctly.

How about more complex sample? Like BlazeFace? https://github.com/keijiro/BlazeFaceBarracuda

marcin-dzieszko commented 2 years ago

Looks this one did not recognize the faces ... so maybe this is indeed my GPU issue ... what do you think?

Im looking for desktop with better GPU ...

image

keijiro commented 2 years ago

BlazeFace is relatively light neural network model, so it should run on every GPU.

I guess there is something wrong with your GPU. I'd recommend updating the graphics driver if available.

marcin-dzieszko commented 2 years ago

Looks I have the leatest one. Thank you for your support - I will try to launch it on PC with better GPU ... and let you know what will be the result

marcin-dzieszko commented 2 years ago

I will borrow cp with nvidia k4000 - I think this should be good enough :-)

marcin-dzieszko commented 2 years ago

After using nvidia k4000 it started working fine, thank you for your help 👍

keijiro commented 2 years ago

Although I think it could run even on integrated Intel GPUs, upgrading your GPU is the most straightforward solution for the problem.

marcin-dzieszko commented 2 years ago

I checked - I have the newest drivers on my GPU - at this moment I don't know what I could do to make run on the GPU ...