0 votes
by (180 points)

The pico support lists the project https://github.com/picoxr/access-g2-4ke-front-camera-UnityXR that shows how to access the front camera, but this is for g2 4ke, not for neo3.

Where can I find example code to access the front camera in neo 3 (eye)?

We need to process the camera image in our app.

Regards,
Kaspar

2 Answers

0 votes
by (5.3k points)

Whats your SDK and PUI version?

0 votes
by (180 points)

Hi, thanks for asking and sorry for not mentioning.

We're trying to use the newest SDK (2.0.3) and have PUI version 4.5.30.
We could probably also work with SDK 1.2.5 for the moment.

Thanks for your help,
Kaspar

by (5.3k points)

You can use EnableSeeThroughManual in their doc to Get the camera picture of Neo 3 device and use it as the environmental background.
https://developer.pico-interactive.com/docs/en/12058/225691/#_9-6-seethrough-camera-related

by (180 points)

Thanks for the pointer. We've already found this API, but we were hoping that we could see it used in an example project like the one that was created for the g2.

Also we will have to access the camera image stream to do some processing on it (and nto just use it as a backdrop). Is this possible and how?

The documentation you linked says:

Functions: Get camera image of devices
Method of calling: Refer to section 8.9 PassThrough

It is unclear to me, where the image would come from (since this method only takes a boolean parameter to enable see-through) and it is also unclear to me what "8.9 Pass through" means, there is no point 8.9 in the documentation.

How can we get access to the video stream of the camera?

Regards,
Kaspar

by (5.3k points)

You can try this approach to get camera (Neo2/Neo3) passthrough images (not backdrop).
https://developer.pico-interactive.com/docs/en/12058/225830/#_8-9-passthrough
And their dont have example project on Neo3.

...