protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.activity_verification); progressDialog = new ProgressDialog(this); progressDialog.SetTitle(Application.Context.GetString(Resource.String.progress_dialog_title)); SelectImageButtons [0] = FindViewById <Button> (Resource.Id.select_image_0); SelectImageButtons [1] = FindViewById <Button> (Resource.Id.select_image_1); view_log = FindViewById <Button> (Resource.Id.view_log); verify = FindViewById <Button> (Resource.Id.verify); ListViews [0] = FindViewById <ListView> (Resource.Id.list_faces_0); ListViews [0].Tag = 0; ListViews [1] = FindViewById <ListView> (Resource.Id.list_faces_1); ListViews [1].Tag = 1; ClearDetectedFaces(0); ClearDetectedFaces(1); SetVerifyButtonEnabledStatus(false); LogHelper.ClearLog(LogType.Verification); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.activity_detection); //progressDialog = new ProgressDialog (this); //progressDialog.SetTitle (Application.Context.GetString (Resource.String.progress_dialog_title)); select_image = FindViewById <Button> (Resource.Id.select_image); detect = FindViewById <Button> (Resource.Id.detect); view_log = FindViewById <Button> (Resource.Id.view_log); SetDetectButtonEnabledStatus(false); LogHelper.ClearLog(LogType.Detection); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.activity_identification); detected = false; progressDialog = new ProgressDialog(this); progressDialog.SetTitle(Application.Context.GetString(Resource.String.progress_dialog_title)); select_image = FindViewById <Button> (Resource.Id.select_image); manage_person_groups = FindViewById <Button> (Resource.Id.manage_person_groups); identify = FindViewById <Button> (Resource.Id.identify); view_log = FindViewById <Button> (Resource.Id.view_log); LogHelper.ClearLog(LogType.Identification); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.activity_grouping); progressDialog = new ProgressDialog(this); progressDialog.SetTitle(Application.Context.GetString(Resource.String.progress_dialog_title)); add_faces = FindViewById <Button> (Resource.Id.add_faces); group = FindViewById <Button> (Resource.Id.group); view_log = FindViewById <Button> (Resource.Id.view_log); faceListAdapter = new FaceImageListAdapter(); FindViewById <GridView> (Resource.Id.all_faces).Adapter = faceListAdapter; SetGroupButtonEnabledStatus(false); LogHelper.ClearLog(LogType.Grouping); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.activity_find_similar_face); progressDialog = new ProgressDialog(this); progressDialog.SetTitle(Application.Context.GetString(Resource.String.progress_dialog_title)); add_faces = FindViewById <Button> (Resource.Id.add_faces); select_image = FindViewById <Button> (Resource.Id.select_image); find_similar_faces = FindViewById <Button> (Resource.Id.find_similar_faces); view_log = FindViewById <Button> (Resource.Id.view_log); SetFindSimilarFaceButtonEnabledStatus(false); InitializeFaceList(); faceListAdapter = new FaceImageListAdapter(); FindViewById <GridView> (Resource.Id.all_faces).Adapter = faceListAdapter; LogHelper.ClearLog(LogType.FindSimilarFaces); }