使用 OpenCV for Unity 的MarkerBased AR Sample
该资产是增强现实示例,可检测和识别标记并在 WebCamTexture 中实时显示 3D 模型。
http://u3d.as/content/enox-software/marker-based-ar-sample
代码是使用“OpenCV for Unity”重写https://github.com/MasteringOpenCV/code/tree/master/Chapter2_iPhoneAR。
・Texture2DMarkerBasedARSample - 通过检测Texture2D的标记,显示AR模型。
・WebCamTextureMarkerBasedARSample - 通过检测 WebCamTexture 中的标记,实时显示 AR 模型。
阅读更多信息