mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 22:46:30 +00:00
Add annotationResult and put them into json
This commit is contained in:
@@ -5,16 +5,16 @@ namespace Azaion.Annotator.Test;
|
||||
|
||||
public class DictTest
|
||||
{
|
||||
public Dictionary<string, List<AnnotationInfo>> Annotations = new();
|
||||
public Dictionary<string, List<YoloLabel>> Annotations = new();
|
||||
|
||||
[Fact]
|
||||
public void DictAddTest()
|
||||
{
|
||||
Annotations["sd"] = [new AnnotationInfo(1, 2, 2, 2, 2)];
|
||||
Annotations["sd"] = [new YoloLabel(1, 2, 2, 2, 2)];
|
||||
Annotations["sd"] =
|
||||
[
|
||||
new AnnotationInfo(1, 2, 2, 2, 2),
|
||||
new AnnotationInfo(0, 1, 3, 2, 1)
|
||||
new YoloLabel(1, 2, 2, 2, 2),
|
||||
new YoloLabel(0, 1, 3, 2, 1)
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user