Hereās what I tried: I followed the same structure in the sandbox sample: 1. created a Gltf object and make it the parent object for everything 2. created an export Info object, install and play
However, only buttons showed up in the browser, the web cam wasnāt on. Is there a problem with my flow? I would be very grateful for any insight.
Hi! We donāt automatically convert C# scripts and libraries as that would slow down iteration in the browser 1000x.
You can take a look at the dev branch of our samples repo for how to use the MediaPipe JavaScript library with Needle
(Clone the repo, switch to dev branch and open the project)
Thank you so much for the reply! Now I have a vague understanding of what needle engine does. Could you also explain how Needle is comparing with WebGL?
Sorry if itās a stupid question. Iām trying to reproduce the sample you offered on my local computer:
The project folder āneedle-engine-samples/ā¦/Mediapipeā doesnāt look like a typical Unity project so I doubt if Iām doing it correctly. I opened the folder with Unity editor and hoped to run it on the browser with a Needle export object. However, the project didnāt com with any gameobject and the only scene is āMediapipe Hands.unityā, which I opened with errors.
Can anyone guide me how to start it? Thank you so much in advance!
I think what you tried was opening a single file or folder inside a Unity package - which cant work. You install the package to a Unity project.
So here are some solutions:
you can either open the Unity project inside the /projects folder (in the root of the repository)
or install the samples package in your own Unity project by downloading the installer (see readme in the repository) and then double click that or drag-drop it into Unityās project window https://engine.needle.tools/downloads/unity/samples
or you can install it in your existing Unity project if you have a project with Needle Engine already using the menu item āNeedle Engine/Explore Samplesā
Guys, did anyone reproduced/recreated needle+mediapipe demo? How did you do it? it is not in the template list, i cannot install it to look inside to figure things out