public async Task <List <List <FullObjectDetection> > > GetLinesAsync(List <IFormFile> files) { List <List <FullObjectDetection> > Detection = new List <List <FullObjectDetection> >(); // 模型文件,可替换 var bitmaps = FileCommon.FileToBitmap(files); foreach (var bitmap in bitmaps) { Detection.Add(Face(bitmap.Item1)); } return(Detection); }