void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.WeChatQRCode))
            {
                LogError("owner is not initialized. Add Action \"newWeChatQRCode\".");
                return;
            }
            OpenCVForUnity.Wechat_qrcodeModule.WeChatQRCode wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.WeChatQRCode, OpenCVForUnity.Wechat_qrcodeModule.WeChatQRCode>(owner);

            if (!(img.Value is OpenCVForUnityPlayMakerActions.Mat))
            {
                LogError("img is not initialized. Add Action \"newMat\".");
                return;
            }
            OpenCVForUnity.CoreModule.Mat wrapped_img = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Mat, OpenCVForUnity.CoreModule.Mat>(img);

            List <string> wrapped_storeResult = wrapped_owner.detectAndDecode(wrapped_img);

            if (!storeResult.IsNone)
            {
                if (storeResult.Length != wrapped_storeResult.Count)
                {
                    storeResult.Resize(wrapped_storeResult.Count);
                }
                for (int i = 0; i < wrapped_storeResult.Count; i++)
                {
                    storeResult.Set(i, (string)wrapped_storeResult[i]);
                }
                storeResult.SaveChanges();
            }
        }
 public WeChatQRCode(OpenCVForUnity.Wechat_qrcodeModule.WeChatQRCode nativeObj) : base(nativeObj)
 {
 }