WholePercentages
This commit is contained in:
@ -64,15 +64,15 @@ internal abstract class PersonContainer
|
||||
string[] results;
|
||||
int? id;
|
||||
string checkFile;
|
||||
int? wholePercentages;
|
||||
string? checkDirectory;
|
||||
int? normalizedRectangle;
|
||||
string[] files = Directory.GetFiles(personDisplayDirectory, "*", SearchOption.TopDirectoryOnly);
|
||||
foreach (string file in files)
|
||||
{
|
||||
if (file.EndsWith(".lnk"))
|
||||
continue;
|
||||
(id, normalizedRectangle) = IMapping.GetConverted(facesFileNameExtension, file);
|
||||
if (id is not null && normalizedRectangle is not null)
|
||||
(id, wholePercentages) = IMapping.GetConverted(facesFileNameExtension, file);
|
||||
if (id is not null && wholePercentages is not null)
|
||||
continue;
|
||||
checkDirectory = Path.GetDirectoryName(file);
|
||||
if (string.IsNullOrEmpty(checkDirectory))
|
||||
|
Reference in New Issue
Block a user