示例#1
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.BIF))
            {
                LogError("owner is not initialized. Add Action \"newBIF\".");
                return;
            }
            OpenCVForUnity.FaceModule.BIF wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.BIF, OpenCVForUnity.FaceModule.BIF>(owner);

            storeResult.Value = wrapped_owner.getNumBands();
        }