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

@@ -56,10 +56,10 @@ export type BankFeaturesGql = {
export type BoundingBoxGql = {
__typename?: "BoundingBoxGQL";
height: Scalars["Int"]["output"];
left: Scalars["Int"]["output"];
top: Scalars["Int"]["output"];
width: Scalars["Int"]["output"];
height: Scalars["Float"]["output"];
left: Scalars["Float"]["output"];
top: Scalars["Float"]["output"];
width: Scalars["Float"]["output"];
};
export type BucketGql = {
@@ -162,6 +162,7 @@ export type HomographyInfoGql = {
__typename?: "HomographyInfoGQL";
crop: BoundingBoxGql;
destPoints: PocketPointsGql;
frameIndex: Scalars["Int"]["output"];
pockets: Array<BoundingBoxGql>;
sourcePoints: PocketPointsGql;
};
@@ -368,7 +369,6 @@ export type UploadStreamGql = {
__typename?: "UploadStreamGQL";
createdAt: Scalars["DateTime"]["output"];
errors: Array<StreamErrorGql>;
homographyHistory: Array<HomographyInfoGql>;
id: Scalars["ID"]["output"];
isCompleted: Scalars["Boolean"]["output"];
linksRequested: Scalars["Int"]["output"];
@@ -420,6 +420,7 @@ export type VideoGql = {
elapsedTime?: Maybe<Scalars["Float"]["output"]>;
endTime?: Maybe<Scalars["DateTime"]["output"]>;
framesPerSecond: Scalars["Int"]["output"];
homographyHistory: Array<HomographyInfoGql>;
id: Scalars["Int"]["output"];
makePercentage: Scalars["Float"]["output"];
medianRun?: Maybe<Scalars["Float"]["output"]>;
@@ -659,37 +660,37 @@ export type GetStreamMonitoringDetailsQuery = {
totalShots: number;
makePercentage: number;
elapsedTime?: number | null;
homographyHistory: Array<{
__typename?: "HomographyInfoGQL";
crop: {
__typename?: "BoundingBoxGQL";
left: number;
top: number;
width: number;
height: number;
};
pockets: Array<{
__typename?: "BoundingBoxGQL";
left: number;
top: number;
width: number;
height: number;
}>;
sourcePoints: {
__typename?: "PocketPointsGQL";
topLeft: { __typename?: "IntPoint2D"; x: number; y: number };
topSide: { __typename?: "IntPoint2D"; x: number; y: number };
topRight: { __typename?: "IntPoint2D"; x: number; y: number };
bottomLeft: { __typename?: "IntPoint2D"; x: number; y: number };
bottomSide: { __typename?: "IntPoint2D"; x: number; y: number };
bottomRight: { __typename?: "IntPoint2D"; x: number; y: number };
};
}>;
stream?: {
__typename?: "UploadStreamGQL";
linksRequested: number;
uploadsCompleted: number;
segmentProcessingCursor: number;
homographyHistory: Array<{
__typename?: "HomographyInfoGQL";
crop: {
__typename?: "BoundingBoxGQL";
left: number;
top: number;
width: number;
height: number;
};
pockets: Array<{
__typename?: "BoundingBoxGQL";
left: number;
top: number;
width: number;
height: number;
}>;
sourcePoints: {
__typename?: "PocketPointsGQL";
topLeft: { __typename?: "IntPoint2D"; x: number; y: number };
topSide: { __typename?: "IntPoint2D"; x: number; y: number };
topRight: { __typename?: "IntPoint2D"; x: number; y: number };
bottomLeft: { __typename?: "IntPoint2D"; x: number; y: number };
bottomSide: { __typename?: "IntPoint2D"; x: number; y: number };
bottomRight: { __typename?: "IntPoint2D"; x: number; y: number };
};
}>;
} | null;
};
};
@@ -1399,47 +1400,47 @@ export const GetStreamMonitoringDetailsDocument = gql`
totalShots
makePercentage
elapsedTime
stream {
homographyHistory {
crop {
left
top
width
height
homographyHistory {
crop {
left
top
width
height
}
pockets {
left
top
width
height
}
sourcePoints {
topLeft {
x
y
}
pockets {
left
top
width
height
topSide {
x
y
}
sourcePoints {
topLeft {
x
y
}
topSide {
x
y
}
topRight {
x
y
}
bottomLeft {
x
y
}
bottomSide {
x
y
}
bottomRight {
x
y
}
topRight {
x
y
}
bottomLeft {
x
y
}
bottomSide {
x
y
}
bottomRight {
x
y
}
}
}
stream {
linksRequested
uploadsCompleted
segmentProcessingCursor