asus4 / tf-lite-unity-sample

TensorFlow Lite Samples on Unity
873 stars 254 forks source link

why didnt work project in win10 #46

Closed heerangkim closed 4 years ago

heerangkim commented 4 years ago

pc spec

window ver : 10Pro cpu : amd ryzen 5 3600 ram : 16GB gpu: NVDIA GeForce RTX 2060 image

heerangkim commented 4 years ago

i think camara is not called.

asus4 commented 4 years ago

It's working on my Windows10. Can you confirm that the correct webcam is recognized?

You can change the webcam here. e.g. return devices.First().name;

https://github.com/asus4/tf-lite-unity-sample/blob/a33b691430e88f8bfe15966cece280d3a9d4b1b4/Assets/Samples/Common/WebCamUtil.cs#L36

Also, you can set the webcam name directly here.

https://github.com/asus4/tf-lite-unity-sample/blob/a33b691430e88f8bfe15966cece280d3a9d4b1b4/Assets/Samples/PoseNet/PoseNetSample.cs#L26-L28