使用 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 模型。
閱讀更多信息