Skip to content

Another Developer Found An Easier Way To Access Quest 3's Passthrough Cameras

Another Developer Found An Easier Way To Access Quest 3's Passthrough Cameras

A VR developer found a lower friction way to access Quest 3's passthrough cameras.

Meta does not officially allow third-party developers to access the cameras of Quest headsets, but earlier this week we reported on a clever workaround from Michael Gschwandtner the co-founder and lead developer of the hand tracking fitness app XRWorkout.

A Developer Figured Out How To Access Quest 3’s Cameras
A developer figured out how to access Quest 3’s passthrough cameras to run custom computer vision models.

Gschwandtner's technique involved having you use Quest's casting capability to cast to a WebView inside his app which loaded the oculus.com/casting URL. But this requires painstakingly logging into your Meta account in this WebView, and requires the user to take action by casting.

Another VR developer, Julian Triveri, has now figured out a technique that doesn't involve a WebView or casting, and thus doesn't require logging in or initiating a system action.

0:00
/0:21

Triveri realized that the Android media projection API, designed to enable screen capturing for custom recording or casting setups, works on Quest headsets. On Quest it returns 1024×1024 frames of the central 82 degrees of the field of view, slightly lower than you'd get with casting but still usable to run custom computer vision models.

The API requires a user-granted permission, but after that the app now has full access to what the user is seeing.

Triveri released an open-source demo of this technique on GitHub, and UploadVR has confirmed it works as described. He even added a branch showing the technique being used to drive AprilTag tracking (a type of fiducial marker).

0:00
/0:29

An interesting limitation of this method is that it can't be used while recording or casting on the headset, so Triveri had to use a PC to record footage. Like with Gschwandtner's earlier technique, the other limitation is that the view captured includes virtual objects and interfaces, not just the camera view, and this could interfere with computer vision tasks.

What Happens Next?

With Triveri's discovery, any Quest app can now conceivably essentially access the cameras with minimal friction. Will Meta allow this approach to propagate? Or could the company crack down by patching it in a future release of its Horizon OS?

Last month Meta CTO Bosworth gave his thoughts on the idea of intentionally giving Quest developers access to the passthrough cameras during an interview, saying Meta will "keep looking at" the issue.

Meta “Looking At” Giving Quest Developers Raw Camera Access
Meta CTO Andrew Bosworth said the company will “keep looking at” giving Quest developers raw camera access.

In comparison, for its Vision Pro headset Apple only gives raw access to enterprise companies, and only for non-public internal apps.

Community Discussion

Weekly Newsletter

See More