模型目标生成器:https://developer.vuforia.com/downloads/tool
1、模型固定
2、有色或带有表图案
3、足够复杂的模型,有足够锐利边缘,凹凸
4、最多40万个多边形或三角形片面免费账户最多制作20个模型目标CAD数据。
5、最多包含10个部分(子物体)6、最多5个纹理7、使用右手坐标系——详细说明—–»>https://library.vuforia.com/content/vuforia-library/en/articles/Solution/model-targets-supported-objects.html
// 关闭相机 public void CloseCameraDevice() { CameraDevice.Instance.Stop(); CameraDevice.Instance.Deinit(); } // 打开相机 public void OpenCameraDevice() { CameraDevice.Instance.Init(CameraDevice.CameraDirection.CAMERA_DEFAULT); CameraDevice.Instance.Start(); } // 关闭识别 public void CloseCloudReco() { CloudRecoBehaviour cloudRecoBehaviour = GameObject.FindObjectOfType(typeof(CloudRecoBehaviour)) as CloudRecoBehaviour; cloudRecoBehaviour.CloudRecoEnabled = false; } // 打开识别 public void OpenCloudReco() { CloudRecoBehaviour cloudRecoBehaviour = GameObject.FindObjectOfType(typeof(CloudRecoBehaviour)) as CloudRecoBehaviour; cloudRecoBehaviour.CloudRecoEnabled = true; }
— 2020/03/30 09:42—
/// <summary> /// 关闭Vuforia识别 /// </summary> public void CloseVufoiraCamera() { if (VuforiaBehaviour.Instance.enabled == true) { VuforiaBehaviour.Instance.enabled = false; CameraDevice.Instance.Stop(); CameraDevice.Instance.Deinit(); } } /// <summary> /// 打开Vuforia 识别 /// </summary> public void OpenVuforiaCamera() { if (VuforiaBehaviour.Instance.enabled == false) { VuforiaBehaviour.Instance.enabled = true; CameraDevice.Instance.Init(); CameraDevice.Instance.Start(); } }