mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-05-11 18:10:10 +08:00
feat(background): add visual recognition task and refactor picture processing
This commit is contained in:
@@ -9,8 +9,16 @@ public class Picture : BaseModel
|
||||
{
|
||||
[StringLength(255)] public string Name { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Path to the high-definition (possibly format-converted) image.
|
||||
/// </summary>
|
||||
[StringLength(1024)] public string Path { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Path to the original, untouched uploaded file.
|
||||
/// </summary>
|
||||
[StringLength(1024)] public string OriginalPath { get; set; } = string.Empty;
|
||||
|
||||
[StringLength(1024)] public string? ThumbnailPath { get; set; } = string.Empty;
|
||||
|
||||
[StringLength(2000)] public string Description { get; set; } = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user