Move homography history to video

This commit is contained in:
2024-03-23 17:03:11 -06:00
parent 8102a0f40b
commit d3c5979d3e
3 changed files with 125 additions and 123 deletions

View File

@@ -156,6 +156,7 @@ type VideoGQL {
framesPerSecond: Int!
stream: UploadStreamGQL
tags: [VideoTag!]!
homographyHistory: [HomographyInfoGQL!]!
}
type ShotGQL {
@@ -221,13 +222,26 @@ type UploadStreamGQL {
uploadsCompleted: Int!
segmentProcessingCursor: Int!
isCompleted: Boolean!
homographyHistory: [HomographyInfoGQL!]!
errors: [StreamErrorGQL!]!
createdAt: DateTime!
updatedAt: DateTime!
}
type StreamErrorGQL {
message: String!
}
type VideoTag {
tagClasses: [VideoTagClass!]!
name: String!
}
type VideoTagClass {
name: String!
}
type HomographyInfoGQL {
frameIndex: Int!
crop: BoundingBoxGQL!
pockets: [BoundingBoxGQL!]!
sourcePoints: PocketPointsGQL!
@@ -235,10 +249,10 @@ type HomographyInfoGQL {
}
type BoundingBoxGQL {
left: Int!
top: Int!
width: Int!
height: Int!
left: Float!
top: Float!
width: Float!
height: Float!
}
type PocketPointsGQL {
@@ -255,19 +269,6 @@ type IntPoint2D {
y: Int!
}
type StreamErrorGQL {
message: String!
}
type VideoTag {
tagClasses: [VideoTagClass!]!
name: String!
}
type VideoTagClass {
name: String!
}
type BucketSetGQL {
keyName: String!
feature: String!