1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
| export const timelineVideoData = { video: "/public/files/opossum_intro.webm" };
|
| export const timelineVideoConfig = `<View>
| <Video name="video" value="$video" />
| <TimelineLabels name="timeline" toName="video">
| <Label value="Movement" background="#98C84E" hotkey="1"/>
| <Label value="Nothing" background="#944BFF" hotkey="2"/>
| </TimelineLabels>
| </View>`;
|
| // Single timeline region (frames 5-15)
| export const singleTimelineRegionResult = [
| {
| value: {
| ranges: [{ start: 5, end: 15 }],
| timelinelabels: ["Movement"],
| },
| id: "timeline_region_1",
| from_name: "timeline",
| to_name: "video",
| type: "timeserieslabels",
| origin: "manual",
| },
| ];
|
| // Multiple timeline regions (frames 5-10 and 15-20)
| export const multipleTimelineRegionsResult = [
| {
| value: {
| ranges: [{ start: 5, end: 10 }],
| timelinelabels: ["Movement"],
| },
| id: "timeline_region_1",
| from_name: "timeline",
| to_name: "video",
| type: "timeserieslabels",
| origin: "manual",
| },
| {
| value: {
| ranges: [{ start: 15, end: 20 }],
| timelinelabels: ["Nothing"],
| },
| id: "timeline_region_2",
| from_name: "timeline",
| to_name: "video",
| type: "timeserieslabels",
| origin: "manual",
| },
| ];
|
| export const multipleTimelineRegionsLongResult = [
| {
| value: {
| ranges: [{ start: 5, end: 10 }],
| timelinelabels: ["Movement"],
| },
| id: "timeline_region_1",
| from_name: "timeline",
| to_name: "video",
| type: "timeserieslabels",
| origin: "manual",
| },
| {
| value: {
| ranges: [{ start: 15, end: 50 }],
| timelinelabels: ["Nothing"],
| },
| id: "timeline_region_2",
| from_name: "timeline",
| to_name: "video",
| type: "timeserieslabels",
| origin: "manual",
| },
| ];
|
| // Overlapping timeline regions (frames 8-12 and 10-18)
| export const overlappingTimelineRegionsResult = [
| {
| value: {
| ranges: [{ start: 8, end: 12 }],
| timelinelabels: ["Movement"],
| },
| id: "timeline_region_1",
| from_name: "timeline",
| to_name: "video",
| type: "timeserieslabels",
| origin: "manual",
| },
| {
| value: {
| ranges: [{ start: 10, end: 18 }],
| timelinelabels: ["Nothing"],
| },
| id: "timeline_region_2",
| from_name: "timeline",
| to_name: "video",
| type: "timeserieslabels",
| origin: "manual",
| },
| ];
|
|