Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Front-facing camera in AR - incubation #190

Open
bialpio opened this issue Oct 10, 2022 · 7 comments
Open

Front-facing camera in AR - incubation #190

bialpio opened this issue Oct 10, 2022 · 7 comments

Comments

@bialpio
Copy link

bialpio commented Oct 10, 2022

Hey Immersive Web,

We’re getting some interest internally in enabling the use of a front-facing camera for AR sessions, so my question to the group is: would this be something that others would like to collaborate on? There’s already an issue asking for such a knob (see immersive-web/webxr-ar-module#64, although selecting more details apart from user- vs environment-facing camera would be out of scope). What does the group think about incubating something like this?

Also paging in @nbutko and @tangobravo as I vaguely recall you were mentioning user-facing camera scenarios?

If there’s interest, then it’d also be nice to figure out the best way to move forward with this - my current line of thinking is that this could be enabled as an additional feature (mostly due to how enabling a front-facing camera may cause other features to become unavailable), which would potentially make it a very simple extension to the API surface & may not warrant a dedicated repository (but then would we need Level 2 of whichever spec we add it to?).

-Piotr

@AdaRoseCannon
Copy link
Member

Maybe put the issue in the proposals repo and start having discussions there then a home can be found where it seems to fit best

@bialpio
Copy link
Author

bialpio commented Oct 10, 2022

SG, let me file a new issue to fit the template.

@nbutko
Copy link

nbutko commented Oct 10, 2022

Should we add this to the agenda for the next biweekly meeting?

@bialpio
Copy link
Author

bialpio commented Oct 12, 2022

Let's!

/agenda

@tangobravo
Copy link

tangobravo commented Nov 1, 2022

Would world tracking still be a requirement in front-facing camera usage? Would face-tracking be a requirement?

On mobile traditionally (ie ARCore of a few years ago, I haven't looked recently) it was a straight choice - world tracking on the rear camera or face tracking on the front-facing camera.

I think newer iOS devices that support multi-camera sessions can continue world tracking on the rear camera whilst providing a front-facing feed with face tracking.

I guess I'm not really seeing the use-case for front-facing camera in a WebXR context outside of face-tracking, and face tracking doesn't seem to be part of this proposal.

We do have plenty of front-facing experiences using face tracking and segmentation but world tracking isn't commonly a feature of them. We could do that with raw-camera-access and use WebXR for the front-facing feed, but if world tracking is lost in that scenario, then why not just use getUserMedia?

Sorry I probably can't make the call this week.

@Yonet
Copy link
Member

Yonet commented Nov 1, 2022

@bialpio I will create the incubation repo and add you as the contact person. There is a template for repo, it will be easier to create it now, instead of you creating your own. We need to vote on the other contact person on the next meeting.

@Yonet Yonet removed the agenda label Nov 1, 2022
@Yonet
Copy link
Member

Yonet commented Nov 1, 2022

@bialpio repo is created here: https://github.com/immersive-web/front-facing-camera. I'm closing this issue but keeping the proposal one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants