//public FaceImpl(Face x, Manager m) : // this(x, // m, // x.PersonID == null ? null : m.GetPerson((int)x.PersonID)) //{} public FaceImpl(Face x, Manager m, api.Person person) { PictureId = x.PictureID; FaceId = x.FaceID; UKey = x.FaceUKey; Person = person; Path = m.GetFacePath(x.PictureID, x.FaceID, false, (api.FaceState) x.FaceStateID); Selected = x.Selected; // just a way to flag a picture for later sql work FaceState = (api.FaceState) x.FaceStateID; }
public FaceSetBrowser(String faceSetName, Manager fm, db.TrainingRunInfo modelInfo) { InitializeComponent(); faceGridControl1.initColumns(2); faceGridControl1._fm = fm; _faces = fm.GetFaceSet(faceSetName); this.Text = "Face Set: " + faceSetName + ", " + _faces.Count + " faces."; faceGridControl1.Init(_faces); _modelInfo = modelInfo; _fm = fm; _faceSetName = faceSetName; }
public HTMLMachine(Manager fm, String rootPath) { _fm = fm; _rootPath = rootPath; }