(bool? IsWrongYear, string PersonKey,
TimeSpan? TimeSpan)
This commit is contained in:
@ -677,21 +677,11 @@ public class DlibDotNet
|
||||
{
|
||||
if (outputResolution == _Configuration.OutputResolutions[0] || _Configuration.SaveShortcutsForOutputResolutions.Contains(outputResolution))
|
||||
{
|
||||
List<(PropertyHolder, (string, D_Face?, (string, string, string, string))[])> collections = D_Face.GetCollection(configuration, model, predictorModel, propertyLogic, peopleCollection, outputResolution, filteredPropertyHolderCollection, faceCollections);
|
||||
if (outputResolution == _Configuration.OutputResolutions[0])
|
||||
{
|
||||
foreach ((PropertyHolder propertyHolder, (string, D_Face?, (string, string, string, string))[] collection) in collections)
|
||||
{
|
||||
foreach ((string personKey, D_Face? face, (string directory, string copyDirectory, string copyFileName, string shortcutFileName)) in collection)
|
||||
{
|
||||
if (string.IsNullOrEmpty(personKey) || face is null || string.IsNullOrEmpty(directory))
|
||||
continue;
|
||||
propertyHolder.AddNamed(directory, personKey, face);
|
||||
}
|
||||
}
|
||||
}
|
||||
PropertyHolder.AddToNamed(propertyLogic, filteredPropertyHolderCollection);
|
||||
for (int i = 0; i < faceCollections.Count; i++)
|
||||
PropertyHolder.AddToFaces(filteredPropertyHolderCollection, (from l in faceCollections[i] select (object)l).ToArray());
|
||||
if (_Configuration.SaveShortcutsForOutputResolutions.Contains(outputResolution))
|
||||
D_Face.SaveShortcuts(_Configuration.JuliePhares, peopleCollection, collections);
|
||||
D_Face.SaveShortcuts(configuration, model, predictorModel, _Configuration.JuliePhares, peopleCollection, propertyLogic, outputResolution, filteredPropertyHolderCollection, faceCollections);
|
||||
}
|
||||
}
|
||||
if (exceptionCount == 0 && _Configuration.LoadOrCreateThenSaveDistanceResultsForOutputResolutions.Contains(outputResolution))
|
||||
|
Reference in New Issue
Block a user