gpt4 book ai didi

opencv - 将 Unity 中的 3D 模型投影到原始图像纹理

转载 作者:太空宇宙 更新时间:2023-11-03 23:07:34 26 4
gpt4 key购买 nike

我目前有一个网络摄像头,可以捕捉视频并识别书籍的表面,并使用 OpenCV 估计单应性。(我遵循了 https://bitesofcode.wordpress.com/2017/09/12/augmented-reality-with-python-and-opencv-part-1/ 的教程。我为 Unity 重写了第一部分)。

现在我想知道如何将 Unity 中的 3D 模型投影到原始图像?我是 Unity 的新手。

最佳答案

您需要有一个 Camera(显然指向您的对象),它被渲染到 RenderTexture 上。 Configuration of the Camera

然后将 RawImage 添加到您的 UI 并将引用设置为您的 RenderTexture Configuration of the RawImage

关于opencv - 将 Unity 中的 3D 模型投影到原始图像纹理,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55997559/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com