public UIImage GetThumbnailForFace(Model.Face face) { var index = Faces.IndexOf(face); if (index > -1 && thumbnailImages.Count > index) { return(thumbnailImages [index]); } return(null); }
public List <Bitmap> GetThumbnailsForFaceList(List <Model.Face> faces) { var list = new List <Bitmap> (); foreach (var face in faces) { var index = Faces.IndexOf(face); if (index > -1 && faceThumbnails.Count > index) { list.Add(faceThumbnails [index]); } } return(list); }
public Bitmap GetThumbnailForFace(Model.Face face) { var index = Faces.IndexOf(face); return(GetThumbnailForPosition(index)); }