Exemplo n.º 1
0
 protected override void OnCreate(Bundle savedInstanceState)
 {
     RequestWindowFeature(WindowFeatures.NoTitle);
     Window.AddFlags(WindowManagerFlags.Fullscreen);
     base.OnCreate(savedInstanceState);
     SetContentView(Resource.Layout.activity_rgb_ir_video_attribute);
     FaceSDK.InitModel(this);
     findView();
     FaceSDK.FaceAttributeModelInit(this);
     FaceLiveness.getInstance().setLivenessCallBack(this);
 }
Exemplo n.º 2
0
        public void OnCreate(Bundle savedInstanceState)
        {
            RequestWindowFeature(WindowFeatures.NoTitle);
            Window.AddFlags(WindowManagerFlags.Fullscreen);
            base.OnCreate(savedInstanceState);
            SetContentView(Resource.Layout.activity_rgb_ir_liveness);
            FaceSDK.InitModel(this);
            findView();

            FaceLiveness.getInstance().setLivenessCallBack(this);

            Intent intent = Intent;

            if (intent != null)
            {
                source = intent.GetIntExtra("source", -1);
            }
        }