Tests project and Resize bug
This commit is contained in:
@ -524,9 +524,9 @@ public class D_Face : Shared.Models.Properties.IFace, IFace
|
||||
personKey = string.Empty;
|
||||
copyDirectory = string.Empty;
|
||||
propertyHolder = filteredPropertyHolderCollection[i];
|
||||
if (propertyHolder.FileInfo is null)
|
||||
if (propertyHolder.ImageFileInfo is null)
|
||||
continue;
|
||||
fileInfo = propertyHolder.FileInfo;
|
||||
fileInfo = propertyHolder.ImageFileInfo;
|
||||
relativePath = Path.GetDirectoryName($"C:{propertyHolder.RelativePath}");
|
||||
if (string.IsNullOrEmpty(relativePath) || relativePath.Length < 3)
|
||||
continue;
|
||||
|
@ -184,7 +184,7 @@ internal class E_Distance
|
||||
throw new Exception();
|
||||
for (int i = 0; i < filteredPropertyHolderCollection.Length; i++)
|
||||
{
|
||||
fileInfo = filteredPropertyHolderCollection[i].FileInfo;
|
||||
fileInfo = filteredPropertyHolderCollection[i].ImageFileInfo;
|
||||
if (fileInfo is null)
|
||||
continue;
|
||||
fileNameWithoutExtension = Path.GetFileNameWithoutExtension(fileInfo.FullName);
|
||||
@ -223,7 +223,7 @@ internal class E_Distance
|
||||
collectionDescription: "n json file(s) for each face found (one to many)");
|
||||
for (int i = 0; i < filteredPropertyHolderCollection.Length; i++)
|
||||
{
|
||||
fileInfo = filteredPropertyHolderCollection[i].FileInfo;
|
||||
fileInfo = filteredPropertyHolderCollection[i].ImageFileInfo;
|
||||
if (fileInfo is null)
|
||||
continue;
|
||||
fileNameWithoutExtension = Path.GetFileNameWithoutExtension(fileInfo.FullName);
|
||||
|
Reference in New Issue
Block a user