7 ms·
I've been playing with the TrueDepth Camera APIs on the iPhone X. Some things I've noticed: 1) The ARKit "Face Mesh" seems to be a standard model that is scale
by yeldarb 9y ago
I've been playing with the TrueDepth Camera APIs on the iPhone X. Some things I've noticed:
1) The ARKit "Face Mesh" seems to be a standard model that is scaled and skewed to fit your face (for example, it ignores glasses, still works if you put your hand in front of your face, etc). It is _not_ a 3D scan.
2) The "TrueDepth" data is not really all that granular. It seems similar to the depth map you get from the rear-facing cameras on the "plus" sized models. Here's what the sensor data spits out: https://twitter.com/braddwyer/status/930682879977361408 https://twitter.com/braddwyer/status/930682879977361408
3) Apple is really good at marketing. It's been shown that, even if you cover the TrueDepth camera, features that "require" it still work fine (including Animoji and the apps that I've been developing using the front-facing ARKit APIs).
3.1) The lack of Animoji and front-facing ARKit seems to be a software limitation made for business reasons rather than a hardware limitation. See: Google's Pixel 2 portrait mode photos done using a single front-facing camera that have stacked up well against the ones from the iPhone X.
4) The scary part, which is vast dystopian databases of facial fingerprints is already being done with normal photographs. The depth data is not needed.
I agree with the author that the privacy implications of all-encompassing databases could be scary. But I disagree that this has anything to do with the iPhone X or its TrueDepth camera.
- GuiA 9y ago#3 is mistaken. https://www.imore.com/yes-animoji-uses-truedepth-camera-system-iphone-x https://www.imore.com/yes-animoji-uses-truedepth-camera-syst...
- JustSomeNobody 9y agoI take anything Rene says with a very large grain of salt. > The reason for the misconception comes from the implementation: The IR system only (currently) fires periodically to create and update the depth mask. The RGB camera has to capture persistently to track movements and match expressions. In other words, cover the IR system and the depth mask will simply stop updating and likely, over time, degrade. Cover the RGB, and the tracking and matching stops dead. "...likely, over time, degrade." 1) He doesn't know. 2) It's Animoji, so why would it matter if it did degrade? There is already a stock 3D image of the Poop. It simply needs the RGB camera to track where your facial features are.
- yeldarb 9y agoI've done some experimenting with it in my own apps. I was really surprised how well it does even when covering up the IR sensor prior to opening the app. I don't doubt that they are using the IR data to improve things. But it does "good enough" without.
- Osmium 9y ago> 2) The "TrueDepth" data is not really all that granular. It seems similar to the depth map you get from the rear-facing cameras on the "plus" sized models. Here's what the sensor data spits out: https://twitter.com/braddwyer/status/930682879977361408 https://twitter.com/braddwyer/status/930682879977361408 As @braddwyer himself notes, you can probably get a much better mesh integrating over time. It depends how long it takes to capture a single frame, but I imagine that's not long, so getting an order of magnitude improvement is probably quite easy. > 4) The scary part, which is vast dystopian databases of facial fingerprints is already being done with normal photographs. The depth data is not needed. And yes ... after all, humans are quite capable of identifying people with high accuracy from 2D photographs. Depth maps are not required for there to be serious privacy issues with such databases.
- yeldarb 9y ago@braddwyer is me :) It gives you about 15 fps of depth data
- Osmium 9y agoHaha, cool! Hi :) Given the small size of the laser projector, I imagine natural movement from the phone being hand-held would result in significant displacement of the projected dots over a 1s interval? Have you tried integrating the 15 frames to see what it looks like?
- yeldarb 9y agoI haven't yet. We submitted a game about 3 weeks ago using front-facing ARKit as its core game mechanic and it hasn't been approved by Apple yet. I'm waiting to see if they're going to allow us to use the new technology in novel ways or not before I invest a lot more time in it.
- diehard88 9y agohello, my question is completely off-topic, but here I go. you are waiting for the App Store to approve your new game, right?
- mmjaa 9y ago> .. could be scary. But I disagree that this has anything to do with the iPhone X or its TrueDepth camera. Well, lets just say there's the kind of scary fact that nobody, trustworthy, has audited this thing. Like, should a company that didn't run a "doesn't let root login on first-try" test be allowed to be making such wide-ranging decisions as face-scanning? What if I don't want to have my face scanned, but nevertheless need to pick up somebody's lost-phone/detonation-device? Shall I just wear a mask? The point is that we have moved beyond a zone where 'disagree/-agree' means anything, any more. Our data is out there. Not so sure I want my face involved where, preferably, my hands should be..
- philwelch 9y ago> What if I don't want to have my face scanned, but nevertheless need to pick up somebody's lost-phone/detonation-device? Shall I just wear a mask? Well...yeah. If you're out in public and your face is visible, you don't have a reasonable expectation of privacy.
- heartbreak 9y agoAnd in some states, like Virginia, it's not legal (for the most part) to wear a mask in public if you're over the age of 16.
- tetromino_ 9y agoWhat does this have to do with "out in public"? I have by law, custom, and common sense an expectation of not being 3D-scanned in a gas station bathroom, even if I pick up the phone that the previous visitor had dropped on the floor.
- mmjaa 9y agoHonestly, I can't fathom why you're being downvotes, and this is exactly the predicament I'm most concerned about, personally. Like, its a cool technology - sure. But has nobody thought of the militarisation of it? Sheesh.
- 9y ago
- jakobegger 9y agoRe 3) I don’t know any details of Apples implementation, but typically computer vision algorithms integrate data from multiple sensors to generate a 3D model. The more data you have, the more robust the output will be. It’s possible to generate reasonable 3D models of faces from a single photograph. [1] The highest resolution 3D scans I’ve seen are produced by aligning data from multiple high resolution photographies. The big problem with that aproach is that it requires a lot of detail in the source material. Smooth surfaces, blurry images, or noise because of poor lighting makes it impossible for the algorithm to find features to align. This is where the dot matrix projector comes in: by projecting a bunch of dots on your face, you get features that the algorithm can align, making the scan faster and more robust in low light. [1]: http://kunzhou.net/2015/hqhairmodeling.pdf http://kunzhou.net/2015/hqhairmodeling.pdf
- jrockway 9y agoAnd if you're interested in building 3D models from multiple photographs, try Helicon Focus. You take a focus stacked set of images (basically get a macro lens, open it up pretty wide, and take a picture with the focal plane 1cm (etc.) apart until every part of your subject is in sharp focus), and it will look for the sharply-focused parts to infer depth information for the stack. It can then build you a 3D model. Pretty neat stuff, though I've never found any actual artistic or practical use for it.
- walterbell 9y agoIs there an iPhone app to capture such images, e.g. using the dual camera?
- esmi 9y agoA skilled human with a decent tool can also make a pretty good 3D model from one face image in less than 5 minutes. https://youtu.be/Eq0tTzCwXNI https://youtu.be/Eq0tTzCwXNI
- apk-d 9y agoThat is not a 3d model, much less a pretty good one.
- ozmbie 9y ago>The lack of Animoji and front-facing ARKit seems to be a software limitation made for business reasons rather than a hardware limitation. The A11 chip has dedicated “neural engine” hardware which is used for Animoji and other facial recognition tasks. How much could be done in the standard CPU on other devices I’m not sure.
- yeldarb 9y agoThe iPhone 8 and 8+ have the same A11 chip as the iPhone X.
- nsxwolf 9y agoIt looks like one of those old conversation pieces that had the grid of needles you could push your face or hand into to make a 3D image.
- mtgx 9y ago> The scary part, which is vast dystopian databases of facial fingerprints is already being done with normal photographs. The depth data is not needed Exactly what I've said from day one - that Apple's "FaceID is 50x more secure than Touch ID" claim, based on the False Acceptance Rate, was total bullshit. That only works if you're going to throw random data at the authentication mechanism. But someone who's going to target you isn't going to do that. It's going to you a 3D profile of your face from your online photos or from CCTV cameras (to which not only the government has access, but hackers, too). In practice, it's much more difficult to gain a clone of someone's fingerprint than it is to gain a clone of their 3D face.
- unobtaniumstool 9y ago> It's going to you a 3D profile of your face from your online photos or from CCTV cameras Good thing I'm not Jason Bourne, and the most likely scenario for someone trying to get into my phone involves my sister's kids.
- wahsd 9y agoYour dystopian conclusion reminds me of the exposure of the NSA's facial recognition harvesting program in coordination with corporate partners like McDonalds. Ever drive through a McDonalds drive through and see that in your face camera? Say hello to the NSA.
- valine 9y agoI just tried using Animojis with the TrueDepth camera covered. After a second the frame rate drops significantly (to roughly 10 fps) and the character's eyes glitch out. I'm convinced Animojis are doing something with the TrueDepth hardware. It still tracks head movement with just the camera, but its significantly slower and more error prone.
- pwinnski 9y agoInitials reports suggested Animoji worked with the TruDepth camera covered, but detailed reports of subsequent experimentation have revealed that TruDepth is required at intervals, just not 100% of the time.
- Double_a_92 9y ago> I'm convinced Animojis are doing something with the TrueDepth hardware Weren't they specially created to make use of that 3D cam?
- valine 9y agoYes, but the parent comment was arguing that Animojis are a marketing gimmick, suggesting they could be enabled on other phones without the depth sensing hardware. I was sharing my experience as a counterpoint.
- santaclaus 9y ago> 1) The ARKit "Face Mesh" seems to be a standard model that is scaled and skewed to fit your face (for example, it ignores glasses, still works if you put your hand in front of your face, etc). It is _not_ a 3D scan. This is how most (all?) state of the art acquisition methods for standard objects (faces, hands, etc) work. By warping a high res template to fit the data in some optimal manner, you get guarantees on the output topology without having to do tons of messy cleanup.
- IgorPartola 9y agoHow does that work with people with non standard features? Think glass eyes, acid burns, missing fingers, etc.
- angry_octet 9y agoIt doesn't. I'd be curious to know if face unlock had problems with vision impairment, i.e. no gaze vector.
- celeritascelery 9y agoThe “require attention" feature can be disabled.
- gigatexal 9y agoWell that's not what I was sold at the keynote. Has this been verified? I thought my face was being scanned with 30k dots and all that.
- yeldarb 9y agoSure. But 30,000 is only 150x200. And not all of them are going to hit your face.
- neotek 9y agoThere's a big difference between what Apple is using to perform FaceID scans and the APIs it exposes to developers. Apple has historically been very cautious about the access it gives to developers, especially where matters of privacy are concerned.
- gigatexal 9y agoAhh. I overreacted. This must be it.
- lm2s 9y ago3) Apple is really good at marketing. It's been shown that, even if you cover the TrueDepth camera, features that "require" it still work fine (including Animoji and the apps that I've been developing using the front-facing ARKit APIs). 3.1) The lack of Animoji and front-facing ARKit seems to be a software limitation made for business reasons rather than a hardware limitation. See: Google's Pixel 2 portrait mode photos done using a single front-facing camera that have stacked up well against the ones from the iPhone X. Does it also work in the dark without the depth camera?
- xoshey 9y agoI'm Sheyla when i notice that my husband is cheating on phone, whatsapp, facebook, and other websites, i hired CYBERWIZARD to help me spy on his phone and all site he usually visited. with help of globahacking i am able know know that he is really cheating me. globahacking gave clear evidence of all his cheating activities with different woman and i got all the update directly on my phone.Anyone here who need any sort of hacker help you contact by email: CYBERWIZARDHACK @ GMAILdotCOM OR Whatsapp: +1317 794 1276