The application seems to run very well on M1 Macs. It unfortunately runs very poorly on Windows devices.
Through some testing, the performance seems to be dependent on both hardware and software. On my very powerful Windows machine using Google Chrome, the application loads about 1 motion "frame" per second. In Firefox however, it runs slightly faster, processing a couple of frames per second. Similar behavior occurs on other Windows devices we've tried.
My M1 Mac runs the application very seamlessly in both Safari and Google Chrome.
One possible cause could be that using await along with the call to Holistic to retrieve poseData is blocking the event loop, causing the application to hang. This needs more testing though to see if it is the cause.
If this is what's causing the issue, then ways to better optimize MediaPipe's usage should be investigated.
The application seems to run very well on M1 Macs. It unfortunately runs very poorly on Windows devices.
Through some testing, the performance seems to be dependent on both hardware and software. On my very powerful Windows machine using Google Chrome, the application loads about 1 motion "frame" per second. In Firefox however, it runs slightly faster, processing a couple of frames per second. Similar behavior occurs on other Windows devices we've tried.
My M1 Mac runs the application very seamlessly in both Safari and Google Chrome.
One possible cause could be that using
await
along with the call toHolistic
to retrieveposeData
is blocking the event loop, causing the application to hang. This needs more testing though to see if it is the cause.If this is what's causing the issue, then ways to better optimize MediaPipe's usage should be investigated.