mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 10:16:30 +00:00
queue + local sqlite WIP
This commit is contained in:
@@ -307,7 +307,7 @@ public partial class DatasetExplorer
|
||||
return null;
|
||||
}
|
||||
|
||||
var classes = (await YoloLabel.ReadFromFile(labelPath))
|
||||
var classes = (await YoloLabel.ReadFromFile(labelPath))
|
||||
.Select(x => x.ClassNumber)
|
||||
.Distinct()
|
||||
.ToList();
|
||||
|
||||
@@ -75,5 +75,6 @@ public class DatasetExplorerEventHandler(DatasetExplorer datasetExplorer, IGalle
|
||||
var (thumbnailDto, detections) = await galleryManager.CreateThumbnail(imageCreatedEvent.ImagePath, cancellationToken);
|
||||
if (thumbnailDto != null && detections != null)
|
||||
datasetExplorer.AddThumbnail(thumbnailDto, detections);
|
||||
await galleryManager.SaveLabelsCache();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user