示例#1
0
 //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;
 }
示例#2
0
 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;
 }
示例#3
0
 public HTMLMachine(Manager fm, String rootPath)
 {
     _fm = fm;
     _rootPath = rootPath;
 }