Is it possible to access the infrared camera on iPhone X?

爱⌒轻易说出口 提交于 2020-02-20 06:07:05

问题


According to this picture:

the iPhone X has an infrared camera. It is primarily used for face detection but there are other uses for infrared. Can it be accessed directly?


回答1:


not via the approved iOS API library calls. But undocumented API should be possible if you guess how to do it.




回答2:


Still not sure about infrared but to read the depth information from the iPhone X TrueDepth camera, we can use the AVDepthData class and related APIs. Here's a tutorial.




回答3:


The company, reallusion.com makes a 3D animation product called 'iclone 7' which interfaces with the iPhone infrared camera. Try contacting them about how they do it. if not proprietary, they might at least give you a clue.



来源:https://stackoverflow.com/questions/47190065/is-it-possible-to-access-the-infrared-camera-on-iphone-x

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!