在面部地标检测后,在iOS中渲染3D模型的最佳方法是什么?(What is the best approach to render 3D model in iOS after facial landm

编程入门 行业动态 更新时间:2024-10-25 20:23:53
在面部地标检测后,在iOS中渲染3D模型的最佳方法是什么?(What is the best approach to render 3D model in iOS after facial landmark detection?)

我想在面部地标检测后放置一个发型。 我能够正确渲染2D图像。 我想渲染3D模型。 我想过使用Scenekit来渲染3D模型。 我想知道Instagram,Snapchat和其他面部滤镜应用程序是如何渲染3D模型的。 我观察SceneKit坐标系与UIKit坐标系不同。 我用谷歌搜索但找不到坐标系的转换。 有谁可以帮忙。 谢谢。

I would like to place a hairstyle after facial landmark detection. I'm able to render 2D images properly. I would like to render 3D model. I thought of using SceneKit to render 3D model. I would like to know how Instagram, snapchat and other face filter apps are rendering 3D models. I observe SceneKit coordinate system is different from UIKit coordinate system. I have googled but couldn't find the conversion of coordinate system. Could anyone help. Thanks.

最满意答案

查找worldUp和simdWorldUp实例属性,了解ARKit如何基于真实设备运动构建场景坐标系(同样,您可以检查ARConfiguration.WorldAlignment枚举)。

请看这篇SO帖子: 了解ARKit中的坐标空间以获取完整信息。

请记住, ARAnchor是您放置3D物体时最好的朋友。 点击此处了解更多详情。

Look for worldUp and simdWorldUp instance properties to understand how ARKit constructs a scene coordinate system based on real-world device motion (also, you can inspect ARConfiguration.WorldAlignment enum).

Please, look at this SO post: Understand coordinate spaces in ARKit for complete info.

And remember, ARAnchor is your best friend when placing 3D object. Click here for further details.

更多推荐

本文发布于:2023-07-24 01:46:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1240085.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:地标   面部   模型   方法   iOS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!