|
|
@@ -841,7 +841,9 @@ public partial class ScreenLocate : MonoBehaviour
|
|
|
mUVCCameraInfo.SetSize(webCam.webCamTexture.width, webCam.webCamTexture.height);
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+ /// <summary>
|
|
|
+ /// 屏幕识别结束
|
|
|
+ /// </summary>
|
|
|
public void OnLocateScreenEnd()
|
|
|
{
|
|
|
bAutomaticRecognitionEnd = true;
|
|
|
@@ -856,7 +858,8 @@ public partial class ScreenLocate : MonoBehaviour
|
|
|
mUVCCameraInfo.SetSize(webCam.webCamTexture.width, webCam.webCamTexture.height);
|
|
|
}
|
|
|
|
|
|
- if (screenIdentification.QuadAuto == null)
|
|
|
+ //识别结束后,也要判断半自动数据,即P5?
|
|
|
+ if (screenIdentification.QuadAuto == null && screenIdentification.QuadSemiAuto == null)
|
|
|
{
|
|
|
InfraredCameraHelper?.InvokeOnUVCPosUpdate(new List<Vector2>());
|
|
|
Debug.LogError("[ScreenLocate] OnLocateScreenEnd 屏幕未识别");
|