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

Integrate with pixel 4XL infrared camera! #93

Open
jywarren opened this issue Dec 11, 2019 · 7 comments
Open

Integrate with pixel 4XL infrared camera! #93

jywarren opened this issue Dec 11, 2019 · 7 comments

Comments

@jywarren
Copy link
Member

https://paul.kinlan.me/pixel-4xl-infrared-sensor-via-getusermedia/

@jywarren
Copy link
Member Author

image

It’s turns out that you can access the pixel 4 face detection IR camera via normal getUserMedia. The interesting thing is that if you try to do face unlock when this camera is being used (the bit where it throws things on to your face) the system will just flat refuse to do any of the face unlock process and that makes sense.

If you want to quickly try this then you can view the demo here.

Anyone got any ideas about what we can do with infrared camera access?

Update

Francois Beafort updated Blink by adding infrared to the camera name if the device supports it - this will let you quickly get a better understanding of the type of camera just by the name (also will let users pick the one they want more effectively). https://chromium-review.googlesource.com/c/chromium/src/+/1960152

@jywarren jywarren pinned this issue Dec 12, 2019
@jywarren
Copy link
Member Author

jywarren commented Nov 6, 2020

This should work with the regular Pixel 4 too, but not the 4a or 5: https://newatlas.com/mobile-technology/google-pixel-comparison4-4xl-4a-4a5g-5/

@ShivraniAJ
Copy link

Hi, I am Shivrani, Outreachy initial applicant, Please can you assign this issue to me ?

@jywarren
Copy link
Member Author

jywarren commented Mar 29, 2022 via email

@ShivraniAJ
Copy link

I am sorry, I dont have access to a pixel 4XL phone.

@jywarren
Copy link
Member Author

jywarren commented Mar 30, 2022 via email

@jywarren
Copy link
Member Author

Just updating that pixel 4xl cameras are now often under $200 used on Ebay. Also: it's a selfie cam, not a forward facing cam! And it looks like the camera is not exactly aligned with the visible light camera, so there would need to be significant software alignment to make this work:

https://www.forbes.com/sites/paulmonckton/2019/11/07/googles-pixel-4-has-a-secret-camera-mode/?sh=654808df303b

960x0

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

2 participants