Open delta42 opened 1 year ago
@delta42,
It appears there may be an issue with the VM Camera as the virtual machine is unable to detect it. Could you kindly confirm whether you have added the camera to the virtual machine using the following path: "Virtual Machine ==> Settings ==> Add Device ==> Camera"?
If not, we recommend adding the camera and testing it. For guidance on adding a camera to a virtual machine, please refer to the instructions available here. Thank you.
Actually, I failed to state that on the exact same VM, this works fine on Edge, it's just Chrome and Firefox that gives this odd error (which I also find a bit odd, since one would usually suspect Chrome and Edge to behave similarly, and Firefox to maybe do something else).
I have been using MediaPipe for several months now and have never seen a "Check failed: prod_token" error at initialization.
@delta42,
Can you confirm that you have followed the recommendation in the previous comment and added the camera to your virtual machine?
Hi kuaashish, thanks for your response.
This happens on VMWare Workstation Pro 15. I use this method to connect the webcam: https://stackoverflow.com/a/65260188
The webcam is connected to the VM because the MediaPipe sample works perfectly with the webcam when the Edge browser is being used.
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
No
OS Platform and Distribution
Windows 10 VM
Mobile device if the issue happens on mobile device
No response
Browser and version if the issue happens on browser
Google Chrome Version 117.0.5938.150
Programming Language and version
JavaScript
MediaPipe version
0.10.3
Bazel version
No response
Solution
FaceLandmarker
Android Studio, NDK, SDK versions (if issue is related to building in Android environment)
No response
Xcode & Tulsi version (if issue is related to building for iOS)
No response
Describe the actual behavior
The codepen sample "CodePen Home MediaPipe Face Landmarker Task for web" fails to initialize the MediaPipe Task.
Describe the expected behaviour
Successful initialization
Standalone code/steps you may have used to try to get what you need
Other info / Complete Logs
No response