Move homography history to video
This commit is contained in:
parent
8102a0f40b
commit
d3c5979d3e
137
src/index.tsx
137
src/index.tsx
@ -56,10 +56,10 @@ export type BankFeaturesGql = {
|
|||||||
|
|
||||||
export type BoundingBoxGql = {
|
export type BoundingBoxGql = {
|
||||||
__typename?: "BoundingBoxGQL";
|
__typename?: "BoundingBoxGQL";
|
||||||
height: Scalars["Int"]["output"];
|
height: Scalars["Float"]["output"];
|
||||||
left: Scalars["Int"]["output"];
|
left: Scalars["Float"]["output"];
|
||||||
top: Scalars["Int"]["output"];
|
top: Scalars["Float"]["output"];
|
||||||
width: Scalars["Int"]["output"];
|
width: Scalars["Float"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type BucketGql = {
|
export type BucketGql = {
|
||||||
@ -162,6 +162,7 @@ export type HomographyInfoGql = {
|
|||||||
__typename?: "HomographyInfoGQL";
|
__typename?: "HomographyInfoGQL";
|
||||||
crop: BoundingBoxGql;
|
crop: BoundingBoxGql;
|
||||||
destPoints: PocketPointsGql;
|
destPoints: PocketPointsGql;
|
||||||
|
frameIndex: Scalars["Int"]["output"];
|
||||||
pockets: Array<BoundingBoxGql>;
|
pockets: Array<BoundingBoxGql>;
|
||||||
sourcePoints: PocketPointsGql;
|
sourcePoints: PocketPointsGql;
|
||||||
};
|
};
|
||||||
@ -368,7 +369,6 @@ export type UploadStreamGql = {
|
|||||||
__typename?: "UploadStreamGQL";
|
__typename?: "UploadStreamGQL";
|
||||||
createdAt: Scalars["DateTime"]["output"];
|
createdAt: Scalars["DateTime"]["output"];
|
||||||
errors: Array<StreamErrorGql>;
|
errors: Array<StreamErrorGql>;
|
||||||
homographyHistory: Array<HomographyInfoGql>;
|
|
||||||
id: Scalars["ID"]["output"];
|
id: Scalars["ID"]["output"];
|
||||||
isCompleted: Scalars["Boolean"]["output"];
|
isCompleted: Scalars["Boolean"]["output"];
|
||||||
linksRequested: Scalars["Int"]["output"];
|
linksRequested: Scalars["Int"]["output"];
|
||||||
@ -420,6 +420,7 @@ export type VideoGql = {
|
|||||||
elapsedTime?: Maybe<Scalars["Float"]["output"]>;
|
elapsedTime?: Maybe<Scalars["Float"]["output"]>;
|
||||||
endTime?: Maybe<Scalars["DateTime"]["output"]>;
|
endTime?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
framesPerSecond: Scalars["Int"]["output"];
|
framesPerSecond: Scalars["Int"]["output"];
|
||||||
|
homographyHistory: Array<HomographyInfoGql>;
|
||||||
id: Scalars["Int"]["output"];
|
id: Scalars["Int"]["output"];
|
||||||
makePercentage: Scalars["Float"]["output"];
|
makePercentage: Scalars["Float"]["output"];
|
||||||
medianRun?: Maybe<Scalars["Float"]["output"]>;
|
medianRun?: Maybe<Scalars["Float"]["output"]>;
|
||||||
@ -659,37 +660,37 @@ export type GetStreamMonitoringDetailsQuery = {
|
|||||||
totalShots: number;
|
totalShots: number;
|
||||||
makePercentage: number;
|
makePercentage: number;
|
||||||
elapsedTime?: number | null;
|
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?: {
|
stream?: {
|
||||||
__typename?: "UploadStreamGQL";
|
__typename?: "UploadStreamGQL";
|
||||||
linksRequested: number;
|
linksRequested: number;
|
||||||
uploadsCompleted: number;
|
uploadsCompleted: number;
|
||||||
segmentProcessingCursor: 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;
|
} | null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -1399,47 +1400,47 @@ export const GetStreamMonitoringDetailsDocument = gql`
|
|||||||
totalShots
|
totalShots
|
||||||
makePercentage
|
makePercentage
|
||||||
elapsedTime
|
elapsedTime
|
||||||
stream {
|
homographyHistory {
|
||||||
homographyHistory {
|
crop {
|
||||||
crop {
|
left
|
||||||
left
|
top
|
||||||
top
|
width
|
||||||
width
|
height
|
||||||
height
|
}
|
||||||
|
pockets {
|
||||||
|
left
|
||||||
|
top
|
||||||
|
width
|
||||||
|
height
|
||||||
|
}
|
||||||
|
sourcePoints {
|
||||||
|
topLeft {
|
||||||
|
x
|
||||||
|
y
|
||||||
}
|
}
|
||||||
pockets {
|
topSide {
|
||||||
left
|
x
|
||||||
top
|
y
|
||||||
width
|
|
||||||
height
|
|
||||||
}
|
}
|
||||||
sourcePoints {
|
topRight {
|
||||||
topLeft {
|
x
|
||||||
x
|
y
|
||||||
y
|
}
|
||||||
}
|
bottomLeft {
|
||||||
topSide {
|
x
|
||||||
x
|
y
|
||||||
y
|
}
|
||||||
}
|
bottomSide {
|
||||||
topRight {
|
x
|
||||||
x
|
y
|
||||||
y
|
}
|
||||||
}
|
bottomRight {
|
||||||
bottomLeft {
|
x
|
||||||
x
|
y
|
||||||
y
|
|
||||||
}
|
|
||||||
bottomSide {
|
|
||||||
x
|
|
||||||
y
|
|
||||||
}
|
|
||||||
bottomRight {
|
|
||||||
x
|
|
||||||
y
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
stream {
|
||||||
linksRequested
|
linksRequested
|
||||||
uploadsCompleted
|
uploadsCompleted
|
||||||
segmentProcessingCursor
|
segmentProcessingCursor
|
||||||
|
@ -4,47 +4,47 @@ query GetStreamMonitoringDetails($videoId: Int!) {
|
|||||||
totalShots
|
totalShots
|
||||||
makePercentage
|
makePercentage
|
||||||
elapsedTime
|
elapsedTime
|
||||||
stream {
|
homographyHistory {
|
||||||
homographyHistory {
|
crop {
|
||||||
crop {
|
left
|
||||||
left
|
top
|
||||||
top
|
width
|
||||||
width
|
height
|
||||||
height
|
}
|
||||||
|
pockets {
|
||||||
|
left
|
||||||
|
top
|
||||||
|
width
|
||||||
|
height
|
||||||
|
}
|
||||||
|
sourcePoints {
|
||||||
|
topLeft {
|
||||||
|
x
|
||||||
|
y
|
||||||
}
|
}
|
||||||
pockets {
|
topSide {
|
||||||
left
|
x
|
||||||
top
|
y
|
||||||
width
|
|
||||||
height
|
|
||||||
}
|
}
|
||||||
sourcePoints {
|
topRight {
|
||||||
topLeft {
|
x
|
||||||
x
|
y
|
||||||
y
|
}
|
||||||
}
|
bottomLeft {
|
||||||
topSide {
|
x
|
||||||
x
|
y
|
||||||
y
|
}
|
||||||
}
|
bottomSide {
|
||||||
topRight {
|
x
|
||||||
x
|
y
|
||||||
y
|
}
|
||||||
}
|
bottomRight {
|
||||||
bottomLeft {
|
x
|
||||||
x
|
y
|
||||||
y
|
|
||||||
}
|
|
||||||
bottomSide {
|
|
||||||
x
|
|
||||||
y
|
|
||||||
}
|
|
||||||
bottomRight {
|
|
||||||
x
|
|
||||||
y
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
stream {
|
||||||
linksRequested
|
linksRequested
|
||||||
uploadsCompleted
|
uploadsCompleted
|
||||||
segmentProcessingCursor
|
segmentProcessingCursor
|
||||||
|
@ -156,6 +156,7 @@ type VideoGQL {
|
|||||||
framesPerSecond: Int!
|
framesPerSecond: Int!
|
||||||
stream: UploadStreamGQL
|
stream: UploadStreamGQL
|
||||||
tags: [VideoTag!]!
|
tags: [VideoTag!]!
|
||||||
|
homographyHistory: [HomographyInfoGQL!]!
|
||||||
}
|
}
|
||||||
|
|
||||||
type ShotGQL {
|
type ShotGQL {
|
||||||
@ -221,13 +222,26 @@ type UploadStreamGQL {
|
|||||||
uploadsCompleted: Int!
|
uploadsCompleted: Int!
|
||||||
segmentProcessingCursor: Int!
|
segmentProcessingCursor: Int!
|
||||||
isCompleted: Boolean!
|
isCompleted: Boolean!
|
||||||
homographyHistory: [HomographyInfoGQL!]!
|
|
||||||
errors: [StreamErrorGQL!]!
|
errors: [StreamErrorGQL!]!
|
||||||
createdAt: DateTime!
|
createdAt: DateTime!
|
||||||
updatedAt: DateTime!
|
updatedAt: DateTime!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type StreamErrorGQL {
|
||||||
|
message: String!
|
||||||
|
}
|
||||||
|
|
||||||
|
type VideoTag {
|
||||||
|
tagClasses: [VideoTagClass!]!
|
||||||
|
name: String!
|
||||||
|
}
|
||||||
|
|
||||||
|
type VideoTagClass {
|
||||||
|
name: String!
|
||||||
|
}
|
||||||
|
|
||||||
type HomographyInfoGQL {
|
type HomographyInfoGQL {
|
||||||
|
frameIndex: Int!
|
||||||
crop: BoundingBoxGQL!
|
crop: BoundingBoxGQL!
|
||||||
pockets: [BoundingBoxGQL!]!
|
pockets: [BoundingBoxGQL!]!
|
||||||
sourcePoints: PocketPointsGQL!
|
sourcePoints: PocketPointsGQL!
|
||||||
@ -235,10 +249,10 @@ type HomographyInfoGQL {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type BoundingBoxGQL {
|
type BoundingBoxGQL {
|
||||||
left: Int!
|
left: Float!
|
||||||
top: Int!
|
top: Float!
|
||||||
width: Int!
|
width: Float!
|
||||||
height: Int!
|
height: Float!
|
||||||
}
|
}
|
||||||
|
|
||||||
type PocketPointsGQL {
|
type PocketPointsGQL {
|
||||||
@ -255,19 +269,6 @@ type IntPoint2D {
|
|||||||
y: Int!
|
y: Int!
|
||||||
}
|
}
|
||||||
|
|
||||||
type StreamErrorGQL {
|
|
||||||
message: String!
|
|
||||||
}
|
|
||||||
|
|
||||||
type VideoTag {
|
|
||||||
tagClasses: [VideoTagClass!]!
|
|
||||||
name: String!
|
|
||||||
}
|
|
||||||
|
|
||||||
type VideoTagClass {
|
|
||||||
name: String!
|
|
||||||
}
|
|
||||||
|
|
||||||
type BucketSetGQL {
|
type BucketSetGQL {
|
||||||
keyName: String!
|
keyName: String!
|
||||||
feature: String!
|
feature: String!
|
||||||
|
Loading…
Reference in New Issue
Block a user