computer-vision icon indicating copy to clipboard operation
computer-vision copied to clipboard

Update on access to camera image pixels?

Open pavan4 opened this issue 6 years ago • 7 comments

Hello,

I followed @blairmacintyre 's discussion closely regarding the access the camera image pixels when using WebXR. I am not looped in on the latest discussion happening around the spec development and hence my question here.

Currently, I am able to access the camera pose via the webXR API and tried to access the pixel data using various methods (some listed here) Understandably all access to the pixel data is blocked. Is there any way to access the image data?

I am exploring the usage of WebXR and wanted to ask if there has been any update on access to camera image. I also want to document a usecase - At Streem we use AR for customer support. A remote professional can dial in via AR and support a customer remotely. We use CV extensively and connect the video via webRTC. Hence, access to the image data is highly useful with appropriate user permission prompts obviously.

pavan4 avatar Oct 04 '19 13:10 pavan4

Any update, i'm interested too

boehm-e avatar Mar 04 '20 21:03 boehm-e

Same

useronym avatar Oct 14 '20 14:10 useronym

any updates on this

TheYass1n avatar Oct 06 '22 09:10 TheYass1n

My update after research is that this feature is under Dev trials on chrome for Android under WebXR. More info. can be found here -

Hope this helps someone

pavan4 avatar Oct 06 '22 14:10 pavan4

More specifically, this is addressed by the WebXR Raw Camera Access Module, see the draft spec and explainer. For sample code, check out this barebones example and using OpenCV ArUco marker tracking.

The feature is enabled by default in Chrome Canary >= 107.0.5304.0. For current stable Chrome, you need to enable "WebXR Incubations" in chrome://flags .

klausw avatar Oct 06 '22 17:10 klausw

This is awesome, thanks for the info.

TheYass1n avatar Oct 06 '22 19:10 TheYass1n

@klausw thanks for the example, do you know why it isn't included in the main webxr-samples website?

https://immersive-web.github.io/webxr-samples/

marcofugaro avatar Jul 31 '23 16:07 marcofugaro