infocom-tpo/PoseNet-CoreML

Implementation on windows

swatinair123 opened this issue · 2 comments

Hi , How can i convert this code to make it work on windows?

Hi.
Running CoreML on Windows is a difficult story.
In the case of Unity, it can run on Windows.
Have a look at this.
https://github.com/infocom-tpo/PoseNet-Unity

Thanks to the conversion code in this repository, I started on a path that ended up in a Python Tensorflow and PyTorch port of TFJS PoseNet. They both work on Windows with a recent version of Anaconda (tested with 64-bit Anaconda 2018.12 Python 3.7 installer).

https://github.com/rwightman/posenet-python
https://github.com/rwightman/posenet-pytorch

Raw throughput of the neural net + post processing is around 100fps for the Tensorflow version on Windows with a 1080 Ti and modest 4 core CPU. PyTorch version is really slow in Windows for some reason (~65fps), but faster than Tensorflow (130+ fps) in Linux.

The webcam demo with skeleton and keypoints overlay keeps up with a 30fps webcam on either Windows or Linux.