I am using Orbbec Astra as a sensor. Orbbec SDK does contain a sample scene where they have shown camera frame showing what is being faced by camera but when I integrate Nuitrack’s NuitrackScript prefab it doesn’t work. Any idea how can I implement camera frame using Nuitrack’s code without help of any object from Orbbec’s sdk?
Thanks Westa for your reply.
I am using Astra Pro and developing my app on Unity.
Where can I find ID of usb camera? And do i need to change the following CameraID variable?
“AstraProPerseeDepthProvider”: {
“Windows”: {
“CameraID”: -1
},
What do you mean by open color stream, do you mean the allModulesScene sample scene?
Yes the USB ID of the Astra Pro needs to be loaded into there - have a look at the orbbec sdk samples you should be able to find the usb id.
Then in unity - set - Color Module On - in the nuitrack manager
Then have a look at the 3D Point Cloud example - it shows how to look at the Color Frame
I went through all the scripts within Orbbec sdk samples, but wan’t able to locate the USB Id. Maybe I am missing something. Could you please tell where exactly it is located? Also is this CameraID same for all Astra Pros for each Astra Pro has a unique Camera ID?
Thanks for your help!
In mentioned post tgoodall have fetched the devices list in C++, but in unity I am unable to find OpenNI namespace to enumerate devices. Any idea how can I fetch device list in unity?