- Implemented FilePathToBitmapConverter for image loading. - Enhanced DataModel with commands and properties for Face Matcher. - Created FaceMatcherResultItem model to store results. - Updated SettingsDto to include Face Matcher paths and tolerance. - Introduced PickerPreferenceService for managing folder paths. - Expanded AiSettingsViewModel to manage Face Matcher settings and results.
24 lines
692 B
C#
24 lines
692 B
C#
namespace ImageCatalog_2.Models;
|
|
|
|
public sealed class FaceMatcherResultItem
|
|
{
|
|
public string PhotoId { get; init; } = string.Empty;
|
|
|
|
public double? Score { get; init; }
|
|
|
|
public string ScoreDisplay => Score.HasValue ? Score.Value.ToString("0.###") : string.Empty;
|
|
|
|
public string ResolvedImagePath { get; init; } = string.Empty;
|
|
|
|
public int CandidateCount { get; init; }
|
|
|
|
public string RawRow { get; init; } = string.Empty;
|
|
|
|
public string DebugSummary { get; init; } = string.Empty;
|
|
|
|
public string SearchImagePath { get; init; } = string.Empty;
|
|
|
|
public string CsvPath { get; init; } = string.Empty;
|
|
|
|
public string LogPath { get; init; } = string.Empty;
|
|
}
|